/freebsd/contrib/libarchive/unzip/ |
H A D | la_queue.h | 450 if (LIST_FIRST((head)) != NULL && \ 451 LIST_FIRST((head))->field.le_prev != \ 452 &LIST_FIRST((head))) \ 485 QUEUE_TYPEOF(type) *curelm = LIST_FIRST(head1); \ 487 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \ 488 LIST_FIRST(head2)->field.le_prev = \ 489 &LIST_FIRST((head1)); \ 492 } else if (LIST_FIRST(head2) != NULL) { \ 495 LIST_NEXT(curelm, field) = LIST_FIRST(head2); \ 496 LIST_FIRST(head2)->field.le_prev = &LIST_NEXT(curelm, field); \ [all …]
|
/freebsd/sys/sys/ |
H A D | queue.h | 531 if (LIST_FIRST((head)) != NULL && \ 532 LIST_FIRST((head))->field.le_prev != \ 533 &LIST_FIRST((head))) \ 566 QUEUE_TYPEOF(type) *curelm = LIST_FIRST(head1); \ 568 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \ 569 LIST_FIRST(head2)->field.le_prev = \ 570 &LIST_FIRST((head1)); \ 573 } else if (LIST_FIRST(head2) != NULL) { \ 576 LIST_NEXT(curelm, field) = LIST_FIRST(head2); \ 577 LIST_FIRST(head2)->field.le_prev = &LIST_NEXT(curelm, field);\ [all …]
|
H A D | jail.h | 310 ? LIST_FIRST(&(cpr)->pr_children) \ 326 ? LIST_FIRST(&(cpr)->pr_children) \ 343 ? (level++, LIST_FIRST(&(cpr)->pr_children)) \ 361 ? LIST_FIRST(&(cpr)->pr_children) \
|
/freebsd/usr.bin/truss/ |
H A D | main.c | 176 if (LIST_FIRST(&trussinfo->proclist)->abi == NULL) { in main() 184 kill(LIST_FIRST(&trussinfo->proclist)->pid, SIGKILL); in main() 185 ptrace(PT_DETACH, LIST_FIRST(&trussinfo->proclist)->pid, NULL, in main() 189 ptrace(PT_SYSCALL, LIST_FIRST(&trussinfo->proclist)->pid, (caddr_t)1, in main()
|
/freebsd/contrib/openbsm/compat/ |
H A D | queue.h | 332 if (LIST_FIRST((head)) != NULL && \ 333 LIST_FIRST((head))->field.le_prev != \ 334 &LIST_FIRST((head))) \ 357 #define LIST_FIRST(head) ((head)->lh_first) macro 360 for ((var) = LIST_FIRST((head)); \ 365 for ((var) = LIST_FIRST((head)); \ 370 LIST_FIRST((head)) = NULL; \ 392 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \ 393 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\ 394 LIST_FIRST((head)) = (elm); \ [all …]
|
/freebsd/sys/geom/label/ |
H A D | g_label.c | 145 LIST_FIRST(&cp->geom->provider)->name); in g_label_orphan() 154 LIST_FIRST(&cp->geom->provider)->name); in g_label_spoiled() 163 LIST_FIRST(&cp->geom->provider)->name); in g_label_resize() 248 pp2 = LIST_FIRST(&gp->provider); in g_label_create() 286 pp = LIST_FIRST(&gp->provider); in g_label_destroy() 299 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_label_destroy() 501 pp = LIST_FIRST(&gp->provider); in g_label_find_geom() 550 LIST_FIRST(&gp->provider)->name, error); in g_label_ctl_destroy()
|
/freebsd/sys/security/mac_veriexec/ |
H A D | veriexec_metadata.c | 124 for (lp = LIST_FIRST(head); lp != NULL; lp = LIST_NEXT(lp, entries)) in get_veriexec_file() 171 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; in mac_veriexec_print_db_dev_list() 191 for (lp = LIST_FIRST(head); lp != NULL; lp = LIST_NEXT(lp, entries)) { in mac_veriexec_print_db_head() 260 for (lp = LIST_FIRST(head); lp != NULL; in free_veriexec_dev() 275 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; ip = nip) { in free_veriexec_dev() 312 for (lp = LIST_FIRST(head); lp != NULL; in find_veriexec_dev() 662 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; in mac_veriexec_metadata_add_file()
|
/freebsd/sys/geom/mountver/ |
H A D | g_mountver.c | 117 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider), in g_mountver_done() 149 cp = LIST_FIRST(&gp->consumer); in g_mountver_send() 253 cp = LIST_FIRST(&gp->consumer); in g_mountver_access() 369 pp = LIST_FIRST(&gp->provider); in g_mountver_destroy() 528 cp = LIST_FIRST(&gp->consumer); in g_mountver_ident_matches() 577 if (pp == LIST_FIRST(&gp->provider)) in g_mountver_taste() 586 cp = LIST_FIRST(&gp->consumer); in g_mountver_taste()
|
/freebsd/sys/geom/eli/ |
H A D | g_eli_integrity.c | 150 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 185 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 214 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 330 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_write_done() 383 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_read() 466 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_run()
|
H A D | g_eli_privacy.c | 190 cp = LIST_FIRST(&gp->consumer); in g_eli_crypto_write_done() 235 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_crypto_read() 270 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize; in g_eli_crypto_run()
|
H A D | g_eli_ctl.c | 180 pp = LIST_FIRST(&gp->provider); in g_eli_find_device() 183 cp = LIST_FIRST(&gp->consumer); in g_eli_find_device() 568 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_configure() 671 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_setkey() 778 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_delkey() 1006 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_resume() 1061 pp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_kill_one() 1064 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_kill_one()
|
/freebsd/tools/tools/umastat/ |
H A D | umastat.c | 218 for (ubp = LIST_FIRST(bucketlist); ubp != NULL; ubp = in uma_print_bucketlist() 357 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp = in main() 379 if (LIST_FIRST(&kz.uk_zones) == NULL) { in main() 384 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp = in main()
|
/freebsd/lib/libc/posix1e/ |
H A D | mac.c | 71 while ((ld = LIST_FIRST(&label_default_head))) { in mac_destroy_labels() 121 for (ld = LIST_FIRST(&label_default_head); ld != NULL; in mac_add_type() 367 for (ld = LIST_FIRST(&label_default_head); ld != NULL; in mac_prepare_type()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | sys-queue.h | 65 #undef LIST_FIRST 276 #define LIST_FIRST(head) ((head)->lh_first) macro 278 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head)) 282 for((var) = LIST_FIRST(head); \ 287 for ((var) = LIST_FIRST(head); \ 295 LIST_FIRST(head) = LIST_END(head); \
|
/freebsd/sys/geom/bde/ |
H A D | g_bde.c |
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 280 dp = LIST_FIRST(&np->n_cookies); in ncl_getcookie() 333 if (LIST_FIRST(&np->n_cookies)) in ncl_invaldir() 334 LIST_FIRST(&np->n_cookies)->ndm_eocookie = 0; in ncl_invaldir()
|
/freebsd/contrib/openbsm/ |
H A D | configure.ac | 106 # test for LIST_FIRST and TAILQ_FOREACH_SAFE, which appears to not exist in 112 #ifndef LIST_FIRST 113 #error LIST_FIRST missing 119 AC_DEFINE(HAVE_FULL_QUEUE_H,, Define if queue.h includes LIST_FIRST)
|
/freebsd/lib/libc/gen/ |
H A D | telldir.c | 178 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _fixtelldir() 197 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _reclaim_telldir()
|
/freebsd/sys/geom/ |
H A D | geom_slice.c | 104 cp = LIST_FIRST(&gp->consumer); in g_slice_access() 169 cp = LIST_FIRST(&gp->consumer); in g_slice_finish_hot() 226 cp = LIST_FIRST(&gp->consumer); in g_slice_start() 408 pp2 = LIST_FIRST(&gp->consumer)->provider; in g_slice_config() 517 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_slice_destroy_geom()
|
/freebsd/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_misc.c | 146 ng_hci_unit_con_p con = LIST_FIRST(&unit->con_list); in ng_hci_unit_clean() 210 ng_hci_free_neighbor(LIST_FIRST(&unit->neighbors)); in ng_hci_flush_neighbor_cache() 222 for (n = LIST_FIRST(&unit->neighbors); n != NULL; ) { in ng_hci_get_neighbor()
|
/freebsd/lib/libgeom/ |
H A D | geom_xml2tree.c | 499 cf = LIST_FIRST(gp); in delete_config() 520 cl = LIST_FIRST(&gmp->lg_class); in geom_deletetree() 527 ge = LIST_FIRST(&cl->lg_geom); in geom_deletetree() 534 pr = LIST_FIRST(&ge->lg_provider); in geom_deletetree() 544 co = LIST_FIRST(&ge->lg_consumer); in geom_deletetree()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_softdep.c | 1090 while ((wk = LIST_FIRST(src)) != NULL) { in jwork_move() 1357 while ((dap = LIST_FIRST(unfinishedp)) != NULL) { in get_parent_vp_unlock_bp() 1838 jwait(&LIST_FIRST( in process_truncates() 1992 if ((wk = LIST_FIRST(&oldbp->b_dep)) == NULL) in softdep_move_dependencies() 2000 while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) { in softdep_move_dependencies() 2764 TYPENAME(i), LIST_FIRST(&ums->sd_alldeps[i]))); in softdep_unmount() 3774 while ((wk = LIST_FIRST(&ump->softdep_journal_pending)) in softdep_process_journal() 3890 while ((wk = LIST_FIRST(&jseg->js_entries)) != NULL) { in complete_jseg() 4498 KASSERT((LIST_FIRST(&freeblks->fb_jblkdephd) != NULL && in adjust_newfreework() 4499 LIST_FIRST( in adjust_newfreework() [all...] |
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | util-internal.h | 186 elm1 = LIST_FIRST((dlist)); \ 199 nextp = &LIST_FIRST((dlist)); \ 200 elm1 = LIST_FIRST((dlist)); \
|
/freebsd/tools/regression/geom/ConfCmp/ |
H A D | ConfCmp.c | 237 np1 = LIST_FIRST(&np->children); in sort_node() 305 n1a = LIST_FIRST(&n1->children); in compare_node() 306 n2a = LIST_FIRST(&n2->children); in compare_node()
|
/freebsd/contrib/libevent/ |
H A D | util-internal.h | 186 elm1 = LIST_FIRST((dlist)); \ 199 nextp = &LIST_FIRST((dlist)); \ 200 elm1 = LIST_FIRST((dlist)); \
|