Searched refs:LIST_FIRST (Results 1 – 22 of 22) sorted by relevance
362 if (LIST_FIRST((head)) != NULL && \363 LIST_FIRST((head))->field.le_prev != \364 &LIST_FIRST((head))) \387 #define LIST_FIRST(head) ((head)->lh_first) macro390 for ((var) = LIST_FIRST((head)); \395 for ((var) = LIST_FIRST((head)); \400 LIST_FIRST((head)) = NULL; \422 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \423 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\424 LIST_FIRST((head)) = (elm); \[all …]
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)); \
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) {
64 #undef LIST_FIRST275 #define LIST_FIRST(head) ((head)->lh_first) macro277 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))281 for((var) = LIST_FIRST(head); \286 for ((var) = LIST_FIRST(head); \294 LIST_FIRST(head) = LIST_END(head); \
186 elm1 = LIST_FIRST((dlist)); \199 nextp = &LIST_FIRST((dlist)); \200 elm1 = LIST_FIRST((dlist)); \
325 (old_ev = LIST_FIRST(&ctx->events)) && in evmap_io_add_()492 if (LIST_FIRST(&ctx->events) == NULL) { in evmap_signal_del_()627 (ev = LIST_FIRST(&ctx->events)) &&671 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; \
918 while (LIST_FIRST(&base->once_events)) { in event_base_free_()919 struct event_once *eonce = LIST_FIRST(&base->once_events); in event_base_free_()
495 for (cbent = LIST_FIRST(&buffer->callbacks); in evbuffer_run_callbacks()554 while ((cbent = LIST_FIRST(&buffer->callbacks))) { in evbuffer_remove_all_callbacks()
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()
1293 stcb = LIST_FIRST(&inp->sctp_asoc_list);1403 stcb = LIST_FIRST(&inp->sctp_asoc_list);1539 stcb = LIST_FIRST(&inp->sctp_asoc_list);
143 #define LIST_FIRST(head) ((head)->lh_first) macro
1148 stcb = LIST_FIRST(&inp->sctp_asoc_list);1381 stcb = LIST_FIRST(&inp->sctp_asoc_list);2009 stcb = LIST_FIRST(&inp->sctp_asoc_list);2136 stcb = LIST_FIRST(&inp->sctp_asoc_list); \5798 stcb = LIST_FIRST(&inp->sctp_asoc_list);6055 stcb = LIST_FIRST(&inp->sctp_asoc_list);8102 stcb = LIST_FIRST(&inp->sctp_asoc_list);8269 stcb = LIST_FIRST(&inp->sctp_asoc_list);8590 stcb = LIST_FIRST(&inp->sctp_asoc_list);8800 stcb = LIST_FIRST(&inp->sctp_asoc_list);[all …]
2583 inp->next_addr_touse = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_boundspecific_inp()2612 inp->next_addr_touse = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_boundspecific_inp()2767 stcb->asoc.last_used_address = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_boundspecific_stcb()2805 stcb->asoc.last_used_address = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_boundspecific_stcb()13800 stcb = LIST_FIRST(&inp->sctp_asoc_list);
1346 stcb = LIST_FIRST(&inp->sctp_asoc_list);1558 stcb = LIST_FIRST(&inp->sctp_asoc_list);8184 it->inp = LIST_FIRST(&SCTP_BASE_INFO(listhead));
1560 it->stcb = LIST_FIRST(&it->inp->sctp_asoc_list); in sctp_iterator_work()