Lines Matching defs:head
114 #define SLIST_HEAD_INITIALIZER(head) \ argument
125 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
127 #define SLIST_FIRST(head) ((head)->slh_first) argument
129 #define SLIST_FOREACH(var, head, field) \ argument
134 #define SLIST_INIT(head) do { \ argument
143 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
150 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
163 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
176 #define STAILQ_HEAD_INITIALIZER(head) \ argument
187 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument
189 #define STAILQ_FIRST(head) ((head)->stqh_first) argument
191 #define STAILQ_FOREACH(var, head, field) \ argument
196 #define STAILQ_INIT(head) do { \ argument
201 #define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \ argument
207 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ argument
213 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ argument
219 #define STAILQ_LAST(head, type, field) \ argument
227 #define STAILQ_REMOVE(head, elm, type, field) do { \ argument
241 #define STAILQ_REMOVE_HEAD(head, field) do { \ argument
247 #define STAILQ_REMOVE_HEAD_UNTIL(head, elm, field) do { \ argument
260 #define LIST_HEAD_INITIALIZER(head) \ argument
273 #define LIST_EMPTY(head) ((head)->lh_first == NULL) argument
275 #define LIST_FIRST(head) ((head)->lh_first) argument
277 #define LIST_FOREACH(var, head, field) \ argument
282 #define LIST_INIT(head) do { \ argument
301 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
326 #define TAILQ_HEAD_INITIALIZER(head) \ argument
338 #define TAILQ_EMPTY(head) ((head)->tqh_first == NULL) argument
340 #define TAILQ_FIRST(head) ((head)->tqh_first) argument
342 #define TAILQ_FOREACH(var, head, field) \ argument
347 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
352 #define TAILQ_INIT(head) do { \ argument
357 #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ argument
374 #define TAILQ_INSERT_HEAD(head, elm, field) do { \ argument
384 #define TAILQ_INSERT_TAIL(head, elm, field) do { \ argument
391 #define TAILQ_LAST(head, headname) \ argument
399 #define TAILQ_REMOVE(head, elm, field) do { \ argument
427 *head = (struct quehead *)b; in insque() local