Lines Matching refs:head
52 struct list_head *head; in atm_reset_addr() local
56 head = &dev->lecs; in atm_reset_addr()
58 head = &dev->local; in atm_reset_addr()
59 list_for_each_entry_safe(this, p, head, entry) { in atm_reset_addr()
64 if (head == &dev->local) in atm_reset_addr()
73 struct list_head *head; in atm_add_addr() local
81 head = &dev->lecs; in atm_add_addr()
83 head = &dev->local; in atm_add_addr()
84 list_for_each_entry(this, head, entry) { in atm_add_addr()
96 list_add(&this->entry, head); in atm_add_addr()
98 if (head == &dev->local) in atm_add_addr()
108 struct list_head *head; in atm_del_addr() local
116 head = &dev->lecs; in atm_del_addr()
118 head = &dev->local; in atm_del_addr()
119 list_for_each_entry(this, head, entry) { in atm_del_addr()
124 if (head == &dev->local) in atm_del_addr()
138 struct list_head *head; in atm_get_addr() local
144 head = &dev->lecs; in atm_get_addr()
146 head = &dev->local; in atm_get_addr()
147 list_for_each_entry(this, head, entry) in atm_get_addr()
154 list_for_each_entry(this, head, entry) in atm_get_addr()