| /freebsd-13.1/sys/sys/ |
| H A D | queue.h | 488 if (LIST_FIRST((head)) != NULL && \ 490 &LIST_FIRST((head))) \ 525 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \ 527 &LIST_FIRST((head1)); \ 541 #define LIST_FIRST(head) ((head)->lh_first) macro 544 for ((var) = LIST_FIRST((head)); \ 554 for ((var) = LIST_FIRST((head)); \ 564 LIST_FIRST((head)) = NULL; \ 588 LIST_FIRST((head)) = (elm); \ 614 LIST_FIRST((head1)) = LIST_FIRST((head2)); \ [all …]
|
| H A D | jail.h | 301 ? LIST_FIRST(&(cpr)->pr_children) \ 317 ? LIST_FIRST(&(cpr)->pr_children) \ 334 ? (level++, LIST_FIRST(&(cpr)->pr_children)) \ 352 ? LIST_FIRST(&(cpr)->pr_children) \
|
| /freebsd-13.1/usr.bin/truss/ |
| H A D | main.c | 178 if (LIST_FIRST(&trussinfo->proclist)->abi == NULL) { in main() 186 kill(LIST_FIRST(&trussinfo->proclist)->pid, SIGKILL); in main() 187 ptrace(PT_DETACH, LIST_FIRST(&trussinfo->proclist)->pid, NULL, in main() 191 ptrace(PT_SYSCALL, LIST_FIRST(&trussinfo->proclist)->pid, (caddr_t)1, in main()
|
| /freebsd-13.1/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-13.1/sys/geom/label/ |
| H A D | g_label.c | 147 LIST_FIRST(&cp->geom->provider)->name); in g_label_orphan() 156 LIST_FIRST(&cp->geom->provider)->name); in g_label_spoiled() 165 LIST_FIRST(&cp->geom->provider)->name); in g_label_resize() 250 pp2 = LIST_FIRST(&gp->provider); in g_label_create() 288 pp = LIST_FIRST(&gp->provider); in g_label_destroy() 301 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_label_destroy() 499 pp = LIST_FIRST(&gp->provider); in g_label_find_geom() 548 LIST_FIRST(&gp->provider)->name, error); in g_label_ctl_destroy()
|
| /freebsd-13.1/sys/geom/vinum/ |
| H A D | geom_vinum_volume.c | 89 lp = LIST_FIRST(&v->plexes); in gv_volume_start() 92 p = LIST_FIRST(&v->plexes); in gv_volume_start() 104 p = LIST_FIRST(&v->plexes); in gv_volume_start()
|
| /freebsd-13.1/sys/security/mac_veriexec/ |
| H A D | veriexec_metadata.c | 121 for (lp = LIST_FIRST(head); lp != NULL; lp = LIST_NEXT(lp, entries)) in get_veriexec_file() 168 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; in mac_veriexec_print_db_dev_list() 188 for (lp = LIST_FIRST(head); lp != NULL; lp = LIST_NEXT(lp, entries)) { in mac_veriexec_print_db_head() 257 for (lp = LIST_FIRST(head); lp != NULL; in free_veriexec_dev() 272 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; ip = nip) { in free_veriexec_dev() 309 for (lp = LIST_FIRST(head); lp != NULL; in find_veriexec_dev() 634 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; in mac_veriexec_metadata_add_file()
|
| /freebsd-13.1/sys/geom/eli/ |
| H A D | g_eli_integrity.c | 156 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 191 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 220 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 338 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_write_done() 391 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_read() 465 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_run()
|
| H A D | g_eli_privacy.c | 197 cp = LIST_FIRST(&gp->consumer); in g_eli_crypto_write_done() 242 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_crypto_read() 276 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize; in g_eli_crypto_run()
|
| H A D | g_eli_ctl.c | 183 pp = LIST_FIRST(&gp->provider); in g_eli_find_device() 186 cp = LIST_FIRST(&gp->consumer); in g_eli_find_device() 571 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_configure() 674 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_setkey() 781 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_delkey() 1009 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_resume() 1064 pp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_kill_one() 1067 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_kill_one()
|
| /freebsd-13.1/sys/geom/mountver/ |
| H A D | g_mountver.c | 119 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider), in g_mountver_done() 151 cp = LIST_FIRST(&gp->consumer); in g_mountver_send() 255 cp = LIST_FIRST(&gp->consumer); in g_mountver_access() 371 pp = LIST_FIRST(&gp->provider); in g_mountver_destroy() 530 cp = LIST_FIRST(&gp->consumer); in g_mountver_ident_matches() 579 if (pp == LIST_FIRST(&gp->provider)) in g_mountver_taste() 588 cp = LIST_FIRST(&gp->consumer); in g_mountver_taste()
|
| /freebsd-13.1/tools/tools/umastat/ |
| H A D | umastat.c | 220 for (ubp = LIST_FIRST(bucketlist); ubp != NULL; ubp = in uma_print_bucketlist() 359 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp = in main() 381 if (LIST_FIRST(&kz.uk_zones) == NULL) { in main() 386 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp = in main()
|
| /freebsd-13.1/sys/netgraph/atm/ |
| H A D | ngatmbase.c | 225 while ((h = LIST_FIRST(&ngatm_freeuni)) != NULL) { in uni_msg_fini() 247 if ((m = LIST_FIRST(&ngatm_freeuni)) != NULL) in _uni_msg_alloc() 340 while ((h = LIST_FIRST(&ngatm_freeuni)) != NULL) { in uni_msg_fini() 358 if ((a = LIST_FIRST(&ngatm_freeuni)) != NULL) in uni_msg_alloc()
|
| /freebsd-13.1/lib/libc/posix1e/ |
| H A D | mac.c | 74 while ((ld = LIST_FIRST(&label_default_head))) { in mac_destroy_labels() 124 for (ld = LIST_FIRST(&label_default_head); ld != NULL; in mac_add_type() 371 for (ld = LIST_FIRST(&label_default_head); ld != NULL; in mac_prepare_type()
|
| /freebsd-13.1/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-13.1/sys/fs/nfsclient/ |
| H A D | nfs_clsubs.c | 283 dp = LIST_FIRST(&np->n_cookies); in ncl_getcookie() 336 if (LIST_FIRST(&np->n_cookies)) in ncl_invaldir() 337 LIST_FIRST(&np->n_cookies)->ndm_eocookie = 0; in ncl_invaldir()
|
| /freebsd-13.1/sys/geom/bde/ |
| H A D | g_bde.c | 102 cp = LIST_FIRST(&gp->consumer); in g_bde_access() 247 pp = LIST_FIRST(&gp->provider); in g_bde_destroy_geom() 252 cp = LIST_FIRST(&gp->consumer); in g_bde_destroy_geom()
|
| /freebsd-13.1/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-13.1/lib/libc/gen/ |
| H A D | telldir.c | 182 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _fixtelldir() 201 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _reclaim_telldir()
|
| /freebsd-13.1/lib/libgeom/ |
| H A D | geom_xml2tree.c | 476 cf = LIST_FIRST(gp); in delete_config() 497 cl = LIST_FIRST(&gmp->lg_class); in geom_deletetree() 504 ge = LIST_FIRST(&cl->lg_geom); in geom_deletetree() 511 pr = LIST_FIRST(&ge->lg_provider); in geom_deletetree() 521 co = LIST_FIRST(&ge->lg_consumer); in geom_deletetree()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | util-internal.h | 158 elm1 = LIST_FIRST((dlist)); \ 171 nextp = &LIST_FIRST((dlist)); \ 172 elm1 = LIST_FIRST((dlist)); \
|
| /freebsd-13.1/sys/netgraph/bluetooth/hci/ |
| H A D | ng_hci_misc.c | 147 ng_hci_unit_con_p con = LIST_FIRST(&unit->con_list); in ng_hci_unit_clean() 211 ng_hci_free_neighbor(LIST_FIRST(&unit->neighbors)); in ng_hci_flush_neighbor_cache() 223 for (n = LIST_FIRST(&unit->neighbors); n != NULL; ) { in ng_hci_get_neighbor()
|
| /freebsd-13.1/sys/geom/ |
| H A D | geom_slice.c | 110 cp = LIST_FIRST(&gp->consumer); in g_slice_access() 175 cp = LIST_FIRST(&gp->consumer); in g_slice_finish_hot() 232 cp = LIST_FIRST(&gp->consumer); in g_slice_start() 414 pp2 = LIST_FIRST(&gp->consumer)->provider; in g_slice_config() 523 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_slice_destroy_geom()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | util-internal.h | 158 elm1 = LIST_FIRST((dlist)); \ 171 nextp = &LIST_FIRST((dlist)); \ 172 elm1 = LIST_FIRST((dlist)); \
|
| /freebsd-13.1/sys/ufs/ffs/ |
| H A D | ffs_softdep.c | 1914 jwait(&LIST_FIRST( 4762 if (LIST_FIRST(wkhd) != NULL) { 13558 if (dap != LIST_FIRST(diraddhdp)) 13615 if (dap != LIST_FIRST(diraddhdp)) 13651 if (dap != LIST_FIRST(diraddhdp)) 13659 if (dap == LIST_FIRST(diraddhdp)) { 13675 if (dap == LIST_FIRST(diraddhdp)) { 14436 if ((wk = LIST_FIRST(wkhd)) == NULL) 15084 LIST_FIRST(&nbp->nb_indirdeps), in newblk_print() 15085 LIST_FIRST(&nbp->nb_newdirblk), in newblk_print() [all …]
|