Searched refs:LIST_FIRST (Results 1 – 15 of 15) sorted by relevance
275 #define LIST_FIRST(head) ((head)->lh_first) macro278 for ((var) = LIST_FIRST((head)); \283 LIST_FIRST((head)) = NULL; \302 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \303 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\304 LIST_FIRST((head)) = (elm); \305 (elm)->field.le_prev = &LIST_FIRST((head)); \
62 #undef LIST_FIRST269 #define LIST_FIRST(head) ((head)->lh_first) macro271 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))275 for((var) = LIST_FIRST(head); \280 for ((var) = LIST_FIRST(head); \288 LIST_FIRST(head) = LIST_END(head); \
158 elm1 = LIST_FIRST((dlist)); \171 nextp = &LIST_FIRST((dlist)); \172 elm1 = LIST_FIRST((dlist)); \
318 (old_ev = LIST_FIRST(&ctx->events)) && in evmap_io_add_()481 if (LIST_FIRST(&ctx->events) == NULL) { in evmap_signal_del_()616 (ev = LIST_FIRST(&ctx->events)) &&660 while ((ev = LIST_FIRST(dlist)))
460 bev = LIST_FIRST(&group->members); in bev_group_random_element_()481 for (bev = LIST_FIRST(&g->members); bev && bev != first; \
875 while (LIST_FIRST(&base->once_events)) { in event_base_free_()876 struct event_once *eonce = LIST_FIRST(&base->once_events); in event_base_free_()
494 for (cbent = LIST_FIRST(&buffer->callbacks); in evbuffer_run_callbacks()553 while ((cbent = LIST_FIRST(&buffer->callbacks))) { in evbuffer_remove_all_callbacks()
56 #ifndef LIST_FIRST57 #define LIST_FIRST(head) ((head)->lh_first) macro
414 for (p = LIST_FIRST(&ph1tree); p; p = next) { in flushph1()714 for (p = LIST_FIRST(&ph2tree); p; p = next) { in flushph2()747 for (iph2 = LIST_FIRST(&ph2tree); iph2 != NULL; iph2 = next) {1023 for (r = LIST_FIRST(&rcptree); r; r = next) {1308 for (iph2 = LIST_FIRST(&iph1->ph2tree); iph2; iph2 = iph2_next) { in remove_ph1()1323 for (p = LIST_FIRST(&ph1tree); p; p = next) { in revalidate_ph1tree_rmconf()1490 for (p = LIST_FIRST(&ph1tree); p; p = next) { in revalidate_ph1tree()1506 for (p = LIST_FIRST(&ph2tree); p; p = next) { in revalidate_ph2tree()
100 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
219 for (s = LIST_FIRST(&sitree); s; s = next) { in flushsainfo()
2021 if (LIST_FIRST(&iph1->ph2tree) != NULL) {2046 if (LIST_FIRST(&iph1->ph2tree) != NULL) {
157 #define LIST_FIRST(head) ((head)->lh_first) macro159 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))163 for((var) = LIST_FIRST(head); \171 LIST_FIRST(head) = LIST_END(head); \
184 #define LIST_FIRST(head) ((head)->lh_first) macro186 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))190 for((var) = LIST_FIRST(head); \198 LIST_FIRST(head) = LIST_END(head); \
159 return LIST_FIRST(&pid_info); in get_pid_entry()