| /freebsd-11-stable/sys/sys/ |
| HD | queue.h | 445 if (LIST_FIRST((head)) != NULL && \ 446 LIST_FIRST((head))->field.le_prev != \ 447 &LIST_FIRST((head))) \ 469 QUEUE_TYPEOF(type) *curelm = LIST_FIRST(head1); \ 471 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \ 472 LIST_FIRST(head2)->field.le_prev = \ 473 &LIST_FIRST((head1)); \ 476 } else if (LIST_FIRST(head2) != NULL) { \ 479 LIST_NEXT(curelm, field) = LIST_FIRST(head2); \ 480 LIST_FIRST(head2)->field.le_prev = &LIST_NEXT(curelm, field); \ [all …]
|
| HD | jail.h | 280 ? LIST_FIRST(&(cpr)->pr_children) \ 296 ? LIST_FIRST(&(cpr)->pr_children) \ 313 ? (level++, LIST_FIRST(&(cpr)->pr_children)) \
|
| /freebsd-11-stable/contrib/openbsm/compat/ |
| HD | 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-11-stable/usr.bin/truss/ |
| HD | 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-11-stable/sys/geom/label/ |
| HD | g_label.c | 133 LIST_FIRST(&cp->geom->provider)->name); in g_label_orphan() 142 LIST_FIRST(&cp->geom->provider)->name); in g_label_spoiled() 151 LIST_FIRST(&cp->geom->provider)->name); in g_label_resize() 217 pp2 = LIST_FIRST(&gp->provider); in g_label_create() 255 pp = LIST_FIRST(&gp->provider); in g_label_destroy() 268 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_label_destroy() 469 pp = LIST_FIRST(&gp->provider); in g_label_find_geom() 518 LIST_FIRST(&gp->provider)->name, error); in g_label_ctl_destroy()
|
| /freebsd-11-stable/sys/geom/vinum/ |
| HD | geom_vinum_volume.c | 87 lp = LIST_FIRST(&v->plexes); in gv_volume_start() 90 p = LIST_FIRST(&v->plexes); in gv_volume_start() 102 p = LIST_FIRST(&v->plexes); in gv_volume_start()
|
| /freebsd-11-stable/sys/geom/mountver/ |
| HD | 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() 366 pp = LIST_FIRST(&gp->provider); in g_mountver_destroy() 536 cp = LIST_FIRST(&gp->consumer); in g_mountver_ident_matches() 585 if (pp == LIST_FIRST(&gp->provider)) in g_mountver_taste() 594 cp = LIST_FIRST(&gp->consumer); in g_mountver_taste()
|
| /freebsd-11-stable/tools/tools/umastat/ |
| HD | umastat.c | 224 for (ubp = LIST_FIRST(bucketlist); ubp != NULL; ubp = in uma_print_bucketlist() 363 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp = in main() 385 if (LIST_FIRST(&kz.uk_zones) == NULL) { in main() 390 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp = in main()
|
| /freebsd-11-stable/sys/netgraph/atm/ |
| HD | ngatmbase.c | 223 while ((h = LIST_FIRST(&ngatm_freeuni)) != NULL) { in uni_msg_fini() 245 if ((m = LIST_FIRST(&ngatm_freeuni)) != NULL) in _uni_msg_alloc() 338 while ((h = LIST_FIRST(&ngatm_freeuni)) != NULL) { in uni_msg_fini() 356 if ((a = LIST_FIRST(&ngatm_freeuni)) != NULL) in uni_msg_alloc()
|
| /freebsd-11-stable/sys/geom/sched/ |
| HD | g_sched.c | 292 g_io_request(bp, LIST_FIRST(&gp->consumer)); in g_sched_forced_dispatch() 314 g_io_request(bp, LIST_FIRST(&gp->consumer)); in g_sched_dispatch() 828 cbp->bio_to = LIST_FIRST(&gp->provider); in g_sched_start() 874 g_io_request(cbp, LIST_FIRST(&gp->consumer)); in g_sched_start() 896 cp = LIST_FIRST(&gp->consumer); in g_sched_access() 1136 pp = LIST_FIRST(&gp->provider); in g_detach_proxy() 1139 cp = LIST_FIRST(&gp->consumer); in g_detach_proxy() 1204 cp = LIST_FIRST(&gp->consumer); in g_destroy_proxy() 1246 pp = LIST_FIRST(&gp->provider); in g_sched_destroy() 1426 cp = LIST_FIRST(&pp->geom->consumer); in g_sched_ioctl()
|
| /freebsd-11-stable/lib/libc/posix1e/ |
| HD | mac.c | 72 while ((ld = LIST_FIRST(&label_default_head))) { in mac_destroy_labels() 122 for (ld = LIST_FIRST(&label_default_head); ld != NULL; in mac_add_type() 369 for (ld = LIST_FIRST(&label_default_head); ld != NULL; in mac_prepare_type()
|
| /freebsd-11-stable/sys/geom/bde/ |
| HD | g_bde.c | 100 cp = LIST_FIRST(&gp->consumer); in g_bde_access() 241 pp = LIST_FIRST(&gp->provider); in g_bde_destroy_geom() 246 cp = LIST_FIRST(&gp->consumer); in g_bde_destroy_geom()
|
| /freebsd-11-stable/sys/geom/eli/ |
| HD | g_eli_privacy.c | 165 cp = LIST_FIRST(&gp->consumer); in g_eli_crypto_write_done() 210 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_crypto_read() 244 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize; in g_eli_crypto_run()
|
| HD | g_eli_ctl.c | 187 pp = LIST_FIRST(&gp->provider); in g_eli_find_device() 190 cp = LIST_FIRST(&gp->consumer); in g_eli_find_device() 554 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_configure() 650 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_setkey() 758 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_delkey() 987 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_resume() 1042 pp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_kill_one() 1045 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_kill_one()
|
| /freebsd-11-stable/sys/fs/nfsclient/ |
| HD | nfs_clsubs.c | 276 dp = LIST_FIRST(&np->n_cookies); in ncl_getcookie() 328 if (LIST_FIRST(&np->n_cookies)) in ncl_invaldir() 329 LIST_FIRST(&np->n_cookies)->ndm_eocookie = 0; in ncl_invaldir()
|
| /freebsd-11-stable/contrib/openbsm/ |
| HD | 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-11-stable/lib/libmemstat/ |
| HD | memstat_uma.c | 348 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp = in memstat_kvm_uma() 357 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp = in memstat_kvm_uma() 451 for (ubp = LIST_FIRST(&uz.uz_buckets); ubp != in memstat_kvm_uma() 457 LIST_FIRST(&kz.uk_zones) != uzp)) { in memstat_kvm_uma()
|
| /freebsd-11-stable/lib/libgeom/ |
| HD | geom_xml2tree.c | 474 cf = LIST_FIRST(gp); in delete_config() 495 cl = LIST_FIRST(&gmp->lg_class); in geom_deletetree() 502 ge = LIST_FIRST(&cl->lg_geom); in geom_deletetree() 509 pr = LIST_FIRST(&ge->lg_provider); in geom_deletetree() 519 co = LIST_FIRST(&ge->lg_consumer); in geom_deletetree()
|
| /freebsd-11-stable/sys/ufs/ffs/ |
| HD | ffs_softdep.c | 1114 while ((wk = LIST_FIRST(src)) != NULL) { 1702 jwait(&LIST_FIRST( 1861 if ((wk = LIST_FIRST(&oldbp->b_dep)) == NULL) 1869 while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) { 3490 while ((wk = LIST_FIRST(&ump->softdep_journal_pending)) 3603 while ((wk = LIST_FIRST(&jseg->js_entries)) != NULL) { 4220 KASSERT((LIST_FIRST(&freeblks->fb_jblkdephd) != NULL && 4221 LIST_FIRST(&freeblks->fb_jblkdephd)->jb_list.wk_type == D_JFREEBLK), 4224 jfreeblk = WK_JFREEBLK(LIST_FIRST(&freeblks->fb_jblkdephd)); 4362 if (LIST_FIRST(wkhd) != NULL) { [all …]
|
| /freebsd-11-stable/contrib/ntp/sntp/libevent/ |
| HD | util-internal.h | 158 elm1 = LIST_FIRST((dlist)); \ 171 nextp = &LIST_FIRST((dlist)); \ 172 elm1 = LIST_FIRST((dlist)); \
|
| /freebsd-11-stable/sys/netgraph/bluetooth/hci/ |
| HD | ng_hci_misc.c | 145 ng_hci_unit_con_p con = LIST_FIRST(&unit->con_list); in ng_hci_unit_clean() 209 ng_hci_free_neighbor(LIST_FIRST(&unit->neighbors)); in ng_hci_flush_neighbor_cache() 221 for (n = LIST_FIRST(&unit->neighbors); n != NULL; ) { in ng_hci_get_neighbor()
|
| /freebsd-11-stable/crypto/openssh/openbsd-compat/ |
| HD | sys-queue.h | 62 #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); \
|
| /freebsd-11-stable/sys/geom/ |
| HD | geom_slice.c | 108 cp = LIST_FIRST(&gp->consumer); in g_slice_access() 173 cp = LIST_FIRST(&gp->consumer); in g_slice_finish_hot() 230 cp = LIST_FIRST(&gp->consumer); in g_slice_start() 411 pp2 = LIST_FIRST(&gp->consumer)->provider; in g_slice_config() 520 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_slice_destroy_geom()
|
| /freebsd-11-stable/sys/kern/ |
| HD | kern_procctl.c | 82 p = LIST_FIRST(&p->p_children); in protect_setchildren() 179 first_p = LIST_FIRST(&reap->p_children); in reap_status() 181 first_p = LIST_FIRST(&reap->p_reaplist); in reap_status() 301 for (p2 = LIST_FIRST(&reap->p_children); p2 != NULL; in reap_kill() 315 for (p2 = LIST_FIRST(&t->parent->p_reaplist); p2 != NULL; in reap_kill()
|
| /freebsd-11-stable/lib/libc/gen/ |
| HD | 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()
|