Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/bhyve/sys/
H A Dqueue.h444 if (LIST_FIRST((head)) != NULL && \
445 LIST_FIRST((head))->field.le_prev != \
446 &LIST_FIRST((head))) \
468 QUEUE_TYPEOF(type) *curelm = LIST_FIRST(head1); \
470 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \
471 LIST_FIRST(head2)->field.le_prev = \
472 &LIST_FIRST((head1)); \
475 } else if (LIST_FIRST(head2) != NULL) { \
478 LIST_NEXT(curelm, field) = LIST_FIRST(head2); \
479 LIST_FIRST(head2)->field.le_prev = &LIST_NEXT(curelm, field); \
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dqueue.h427 if (LIST_FIRST((head)) != NULL && \
428 LIST_FIRST((head))->field.le_prev != \
429 &LIST_FIRST((head))) \
452 #define LIST_FIRST(head) ((head)->lh_first) macro
455 for ((var) = LIST_FIRST((head)); \
460 for ((var) = ((var) ? (var) : LIST_FIRST((head))); \
465 for ((var) = LIST_FIRST((head)); \
470 for ((var) = ((var) ? (var) : LIST_FIRST((head))); \
475 LIST_FIRST((head)) = NULL; \
497 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dqueue.h456 #define LIST_FIRST(head) ((head)->lh_first) macro
461 ((elm)->field.le_prev == &LIST_FIRST((head)) ? NULL : \
465 for ((var) = LIST_FIRST((head)); \
470 for ((var) = ((var) != LIST_END(head) ? (var) : LIST_FIRST((head));\
475 for ((var) = LIST_FIRST((head)); \
481 for ((var) = ((var) != LIST_END(head) ? (var) : LIST_FIRST((head));\
511 LIST_FIRST((head)) = LIST_END(head); \
536 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
537 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
538 LIST_FIRST((head)) = (elm); \
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dneti_stack.c241 n = LIST_FIRST(&nts->nts_instances); in neti_stack_fini()
512 n = LIST_FIRST(&nts->nts_instances); in neti_apply_all_instances()
516 n = LIST_FIRST(&nts->nts_instances); in neti_apply_all_instances()
530 nts = LIST_FIRST(&neti_stack_list); in neti_apply_all_stacks()
541 nts = LIST_FIRST(&neti_stack_list); in neti_apply_all_stacks()
H A Dneti_impl.c94 LIST_INSERT_AFTER(LIST_FIRST(&nts->nts_netd_head), in net_protocol_register()
/illumos-gate/usr/src/cmd/mdb/common/modules/neti/
H A Dneti.c67 p = LIST_FIRST(&nlh); in netinfolist()
/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_bh.c89 for (mpreg = LIST_FIRST(&dbmp->dbregq);
477 for (mpreg = LIST_FIRST(&dbmp->dbregq);
H A Dmp_open.c121 while ((mpreg = LIST_FIRST(&dbmp->dbregq)) != NULL) {
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_dispatch.c264 while ((p = LIST_FIRST(&hp->head)) != LIST_END(&hp->head)) {
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dqueue.h89 #define LIST_FIRST(head) ((head)->lh_first) macro
/illumos-gate/usr/src/man/man3head/
H A DMakefile129 LIST_FIRST.3head \
316 LIST_FIRST.3head := LINKSRC = queue.h.3head
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c1399 for (olp = LIST_FIRST(olhp); olp != NULL; olp = LIST_NEXT(olp, ol_q)) in ndmp_open_list_find()
1539 olp = LIST_FIRST(olhp); in ndmp_open_list_release()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-header.p5m1645 link path=usr/share/man/man3head/LIST_FIRST.3head target=queue.h.3head