Lines Matching defs:offset
106 struct offset {
108 unsigned offset;
119 static struct offset *offset_new(unsigned o)
121 struct offset *offset;
123 offset = (struct offset *)malloc(sizeof(struct offset));
124 if (offset) {
125 INIT_LIST_HEAD(&offset->list);
126 offset->offset = o;
128 return offset;
131 static void table_offset_add(struct table *t, struct offset *offset)
133 list_add_tail(&offset->list, &t->offsets);
171 struct offset *offset;
179 list_for_each_entry(offset, &t->offsets, list) {
180 i = (offset->offset >> 2) / 32;
181 m = (offset->offset >> 2) & 31;
200 struct offset *offset;
252 offset = offset_new(o);
253 table_offset_add(t, offset);