Lines Matching defs:pos
33 struct list_head *pos;
43 list_for_each(pos, &vm->unused) {
44 entry = list_entry(pos, struct ct_vm_block, list);
48 if (pos == &vm->unused)
78 struct list_head *pos, *pre;
86 list_for_each(pos, &vm->unused) {
87 entry = list_entry(pos, struct ct_vm_block, list);
91 if (pos == &vm->unused) {
100 __list_add(&block->list, pos->prev, pos);
105 pos = &entry->list;
106 pre = pos->prev;
108 entry = list_entry(pos, struct ct_vm_block, list);
114 list_del(pos);
116 pos = pre;
117 pre = pos->prev;
218 struct list_head *pos;
223 pos = vm->used.next;
224 list_del(pos);
225 entry = list_entry(pos, struct ct_vm_block, list);
229 pos = vm->unused.next;
230 list_del(pos);
231 entry = list_entry(pos, struct ct_vm_block, list);