Lines Matching refs:head
21 struct list_head *pos, *pre, *head;
24 head = mappers;
26 if (list_empty(head)) {
29 list_add(&entry->list, head);
33 list_for_each(pos, head) {
41 if (pos != head) {
43 if (pre == head)
44 pre = head->prev;
48 pre = head->prev;
49 pos = head->next;
50 list_add_tail(&entry->list, head);
67 struct list_head *next, *pre, *head;
70 head = mappers;
72 if (list_empty(head))
75 pre = (entry->list.prev == head) ? head->prev : entry->list.prev;
76 next = (entry->list.next == head) ? head->next : entry->list.next;
96 void free_input_mapper_list(struct list_head *head)
101 while (!list_empty(head)) {
102 pos = head->next;