Home
last modified time | relevance | path

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

/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/openssh/openbsd-compat/
Dsys-queue.h62 #undef LIST_FIRST
269 #define LIST_FIRST(head) ((head)->lh_first) macro
271 #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); \
/external/libevent/
Dutil-internal.h158 elm1 = LIST_FIRST((dlist)); \
171 nextp = &LIST_FIRST((dlist)); \
172 elm1 = LIST_FIRST((dlist)); \
Devmap.c318 (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)))
Dbufferevent_ratelim.c460 bev = LIST_FIRST(&group->members); in bev_group_random_element_()
481 for (bev = LIST_FIRST(&g->members); bev && bev != first; \
Devent.c875 while (LIST_FIRST(&base->once_events)) { in event_base_free_()
876 struct event_once *eonce = LIST_FIRST(&base->once_events); in event_base_free_()
Dbuffer.c494 for (cbent = LIST_FIRST(&buffer->callbacks); in evbuffer_run_callbacks()
553 while ((cbent = LIST_FIRST(&buffer->callbacks))) { in evbuffer_remove_all_callbacks()
/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/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()