Home
last modified time | relevance | path

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

12345678910

/freebsd-12.1/sys/sys/
H A Dqueue.h485 if (LIST_FIRST((head)) != NULL && \
487 &LIST_FIRST((head))) \
522 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \
524 &LIST_FIRST((head1)); \
538 #define LIST_FIRST(head) ((head)->lh_first) macro
541 for ((var) = LIST_FIRST((head)); \
551 for ((var) = LIST_FIRST((head)); \
561 LIST_FIRST((head)) = NULL; \
585 LIST_FIRST((head)) = (elm); \
611 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
[all …]
/freebsd-12.1/contrib/openbsm/compat/
H A Dqueue.h332 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-12.1/usr.bin/truss/
H A Dmain.c178 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-12.1/sys/geom/label/
H A Dg_label.c135 LIST_FIRST(&cp->geom->provider)->name); in g_label_orphan()
144 LIST_FIRST(&cp->geom->provider)->name); in g_label_spoiled()
153 LIST_FIRST(&cp->geom->provider)->name); in g_label_resize()
223 pp2 = LIST_FIRST(&gp->provider); in g_label_create()
261 pp = LIST_FIRST(&gp->provider); in g_label_destroy()
274 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_label_destroy()
475 pp = LIST_FIRST(&gp->provider); in g_label_find_geom()
524 LIST_FIRST(&gp->provider)->name, error); in g_label_ctl_destroy()
/freebsd-12.1/sys/security/mac_veriexec/
H A Dveriexec_metadata.c121 for (lp = LIST_FIRST(head); lp != NULL; lp = LIST_NEXT(lp, entries)) in get_veriexec_file()
208 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; in mac_veriexec_print_db_dev_list()
228 for (lp = LIST_FIRST(head); lp != NULL; lp = LIST_NEXT(lp, entries)) { in mac_veriexec_print_db_head()
297 for (lp = LIST_FIRST(head); lp != NULL; in free_veriexec_dev()
312 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; ip = nip) { in free_veriexec_dev()
347 for (lp = LIST_FIRST(head); lp != NULL; in find_veriexec_dev()
635 for (ip = LIST_FIRST(&(lp->file_head)); ip != NULL; in mac_veriexec_metadata_add_file()
/freebsd-12.1/sys/geom/vinum/
H A Dgeom_vinum_volume.c89 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-12.1/sys/geom/mountver/
H A Dg_mountver.c106 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider), in g_mountver_done()
128 g_io_request(cbp, LIST_FIRST(&gp->consumer)); in g_mountver_send()
220 cp = LIST_FIRST(&gp->consumer); in g_mountver_access()
333 pp = LIST_FIRST(&gp->provider); in g_mountver_destroy()
500 cp = LIST_FIRST(&gp->consumer); in g_mountver_ident_matches()
549 if (pp == LIST_FIRST(&gp->provider)) in g_mountver_taste()
558 cp = LIST_FIRST(&gp->consumer); in g_mountver_taste()
/freebsd-12.1/tools/tools/umastat/
H A Dumastat.c220 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-12.1/sys/netgraph/atm/
H A Dngatmbase.c225 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-12.1/sys/geom/sched/
H A Dg_sched.c294 g_io_request(bp, LIST_FIRST(&gp->consumer)); in g_sched_forced_dispatch()
316 g_io_request(bp, LIST_FIRST(&gp->consumer)); in g_sched_dispatch()
830 cbp->bio_to = LIST_FIRST(&gp->provider); in g_sched_start()
876 g_io_request(cbp, LIST_FIRST(&gp->consumer)); in g_sched_start()
898 cp = LIST_FIRST(&gp->consumer); in g_sched_access()
1138 pp = LIST_FIRST(&gp->provider); in g_detach_proxy()
1141 cp = LIST_FIRST(&gp->consumer); in g_detach_proxy()
1206 cp = LIST_FIRST(&gp->consumer); in g_destroy_proxy()
1248 pp = LIST_FIRST(&gp->provider); in g_sched_destroy()
1428 cp = LIST_FIRST(&pp->geom->consumer); in g_sched_ioctl()
/freebsd-12.1/sys/geom/eli/
H A Dg_eli_privacy.c167 cp = LIST_FIRST(&gp->consumer); in g_eli_crypto_write_done()
212 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_crypto_read()
246 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize; in g_eli_crypto_run()
H A Dg_eli_ctl.c189 pp = LIST_FIRST(&gp->provider); in g_eli_find_device()
192 cp = LIST_FIRST(&gp->consumer); in g_eli_find_device()
556 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_configure()
652 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_setkey()
760 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_delkey()
989 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_resume()
1044 pp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_kill_one()
1047 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_kill_one()
/freebsd-12.1/sys/geom/bde/
H A Dg_bde.c102 cp = LIST_FIRST(&gp->consumer); in g_bde_access()
243 pp = LIST_FIRST(&gp->provider); in g_bde_destroy_geom()
248 cp = LIST_FIRST(&gp->consumer); in g_bde_destroy_geom()
/freebsd-12.1/lib/libc/posix1e/
H A Dmac.c74 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-12.1/sys/fs/nfsclient/
H A Dnfs_clsubs.c278 dp = LIST_FIRST(&np->n_cookies); in ncl_getcookie()
330 if (LIST_FIRST(&np->n_cookies)) in ncl_invaldir()
331 LIST_FIRST(&np->n_cookies)->ndm_eocookie = 0; in ncl_invaldir()
/freebsd-12.1/lib/libmemstat/
H A Dmemstat_uma.c356 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp = in memstat_kvm_uma()
365 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp = in memstat_kvm_uma()
463 LIST_FIRST(&uzd.uzd_buckets); in memstat_kvm_uma()
472 LIST_FIRST(&kz.uk_zones) != uzp)) { in memstat_kvm_uma()
/freebsd-12.1/contrib/openbsm/
H A Dconfigure.ac106 # 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-12.1/lib/libgeom/
H A Dgeom_xml2tree.c476 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-12.1/lib/libc/gen/
H A Dtelldir.c182 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _fixtelldir()
201 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _reclaim_telldir()
/freebsd-12.1/sys/ufs/ffs/
H A Dffs_softdep.c1118 while ((wk = LIST_FIRST(src)) != NULL) {
1706 jwait(&LIST_FIRST(
4363 if (LIST_FIRST(wkhd) != NULL) {
13089 if (dap != LIST_FIRST(diraddhdp))
13145 if (dap != LIST_FIRST(diraddhdp))
13181 if (dap != LIST_FIRST(diraddhdp))
13189 if (dap == LIST_FIRST(diraddhdp)) {
13204 if (dap == LIST_FIRST(diraddhdp)) {
13873 if ((wk = LIST_FIRST(wkhd)) == NULL)
13920 if ((wk = LIST_FIRST(wkhd)) == NULL)
[all …]
/freebsd-12.1/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c147 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-12.1/contrib/ntp/sntp/libevent/
H A Dutil-internal.h158 elm1 = LIST_FIRST((dlist)); \
171 nextp = &LIST_FIRST((dlist)); \
172 elm1 = LIST_FIRST((dlist)); \
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dsys-queue.h64 #undef LIST_FIRST
274 #define LIST_FIRST(head) ((head)->lh_first) macro
276 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
280 for((var) = LIST_FIRST(head); \
285 for ((var) = LIST_FIRST(head); \
293 LIST_FIRST(head) = LIST_END(head); \
/freebsd-12.1/sys/geom/
H A Dgeom_slice.c110 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()
413 pp2 = LIST_FIRST(&gp->consumer)->provider; in g_slice_config()
522 g_slice_spoiled(LIST_FIRST(&gp->consumer)); in g_slice_destroy_geom()
/freebsd-12.1/contrib/libevent/
H A Dutil-internal.h158 elm1 = LIST_FIRST((dlist)); \
171 nextp = &LIST_FIRST((dlist)); \
172 elm1 = LIST_FIRST((dlist)); \

12345678910