Home
last modified time | relevance | path

Searched refs:LIST_FIRST (Results 1 – 22 of 22) sorted by relevance

/external/usrsctp/usrsctplib/
Duser_queue.h362 if (LIST_FIRST((head)) != NULL && \
363 LIST_FIRST((head))->field.le_prev != \
364 &LIST_FIRST((head))) \
387 #define LIST_FIRST(head) ((head)->lh_first) macro
390 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 …]
/external/ipsec-tools/src/include-glibc/sys/
Dqueue.h275 #define LIST_FIRST(head) ((head)->lh_first) macro
278 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)); \
/external/ipsec-tools/src/racoon/
Drsalist.c56 #ifndef LIST_FIRST
57 #define LIST_FIRST(head) ((head)->lh_first) macro
Dhandler.c414 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()
Dvar.h100 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
Dsainfo.c219 for (s = LIST_FIRST(&sitree); s; s = next) { in flushsainfo()
Disakmp.c2021 if (LIST_FIRST(&iph1->ph2tree) != NULL) {
2046 if (LIST_FIRST(&iph1->ph2tree) != NULL) {
/external/openssh/openbsd-compat/
Dsys-queue.h64 #undef LIST_FIRST
275 #define LIST_FIRST(head) ((head)->lh_first) macro
277 #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); \
/external/libevent/
Dutil-internal.h186 elm1 = LIST_FIRST((dlist)); \
199 nextp = &LIST_FIRST((dlist)); \
200 elm1 = LIST_FIRST((dlist)); \
Devmap.c325 (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)))
Dbufferevent_ratelim.c460 bev = LIST_FIRST(&group->members); in bev_group_random_element_()
481 for (bev = LIST_FIRST(&g->members); bev && bev != first; \
Devent.c918 while (LIST_FIRST(&base->once_events)) { in event_base_free_()
919 struct event_once *eonce = LIST_FIRST(&base->once_events); in event_base_free_()
Dbuffer.c495 for (cbent = LIST_FIRST(&buffer->callbacks); in evbuffer_run_callbacks()
554 while ((cbent = LIST_FIRST(&buffer->callbacks))) { in evbuffer_remove_all_callbacks()
/external/libevent/compat/sys/
Dqueue.h157 #define LIST_FIRST(head) ((head)->lh_first) macro
159 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
163 for((var) = LIST_FIRST(head); \
171 LIST_FIRST(head) = LIST_END(head); \
/external/iperf3/src/
Dqueue.h184 #define LIST_FIRST(head) ((head)->lh_first) macro
186 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
190 for((var) = LIST_FIRST(head); \
198 LIST_FIRST(head) = LIST_END(head); \
/external/f2fs-tools/tools/
Df2fs_io_parse.c159 return LIST_FIRST(&pid_info); in get_pid_entry()
/external/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c1293 stcb = LIST_FIRST(&inp->sctp_asoc_list);
1403 stcb = LIST_FIRST(&inp->sctp_asoc_list);
1539 stcb = LIST_FIRST(&inp->sctp_asoc_list);
/external/libiio/src/iiod/
Dqueue.h143 #define LIST_FIRST(head) ((head)->lh_first) macro
/external/usrsctp/usrsctplib/netinet/
Dsctp_usrreq.c1148 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 …]
Dsctp_output.c2583 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);
Dsctp_pcb.c1346 stcb = LIST_FIRST(&inp->sctp_asoc_list);
1558 stcb = LIST_FIRST(&inp->sctp_asoc_list);
8184 it->inp = LIST_FIRST(&SCTP_BASE_INFO(listhead));
Dsctputil.c1560 it->stcb = LIST_FIRST(&it->inp->sctp_asoc_list); in sctp_iterator_work()