Home
last modified time | relevance | path

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

123456789

/freebsd/contrib/libarchive/unzip/
H A Dla_queue.h450 if (LIST_FIRST((head)) != NULL && \
452 &LIST_FIRST((head))) \
487 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \
489 &LIST_FIRST((head1)); \
503 #define LIST_FIRST(head) ((head)->lh_first) macro
506 for ((var) = LIST_FIRST((head)); \
516 for ((var) = LIST_FIRST((head)); \
526 LIST_FIRST((head)) = NULL; \
550 LIST_FIRST((head)) = (elm); \
576 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
[all …]
/freebsd/sys/sys/
H A Dqueue.h486 if (LIST_FIRST((head)) != NULL && \
488 &LIST_FIRST((head))) \
523 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \
525 &LIST_FIRST((head1)); \
542 for ((var) = LIST_FIRST((head)); \
552 for ((var) = LIST_FIRST((head)); \
562 LIST_FIRST((head)) = NULL; \
586 LIST_FIRST((head)) = (elm); \
598 LIST_REMOVE(LIST_FIRST(head), field)
630 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
[all …]
H A Djail.h308 ? LIST_FIRST(&(cpr)->pr_children) \
324 ? LIST_FIRST(&(cpr)->pr_children) \
341 ? (level++, LIST_FIRST(&(cpr)->pr_children)) \
359 ? LIST_FIRST(&(cpr)->pr_children) \
/freebsd/usr.bin/truss/
H A Dmain.c176 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 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/sys/geom/label/
H A Dg_label.c145 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/geom/vinum/
H A Dgeom_vinum_volume.c84 lp = LIST_FIRST(&v->plexes); in gv_volume_start()
87 p = LIST_FIRST(&v->plexes); in gv_volume_start()
99 p = LIST_FIRST(&v->plexes); in gv_volume_start()
/freebsd/sys/security/mac_veriexec/
H A Dveriexec_metadata.c124 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 Dg_mountver.c117 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 Dg_eli_integrity.c150 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 Dg_eli_privacy.c190 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 Dg_eli_ctl.c180 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 Dumastat.c218 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 Dmac.c71 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/lib/libc/gen/
H A Dtelldir.c178 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _fixtelldir()
197 lp = LIST_FIRST(&dirp->dd_td->td_locq); in _reclaim_telldir()
/freebsd/crypto/openssh/openbsd-compat/
H A Dsys-queue.h65 #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/fs/nfsclient/
H A Dnfs_clsubs.c280 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 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/sys/geom/
H A Dgeom_slice.c104 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 Dng_hci_misc.c146 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 Dgeom_xml2tree.c499 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 Dffs_softdep.c1838 jwait(&LIST_FIRST( in process_truncates()
4623 if (LIST_FIRST(wkhd) != NULL) { in cancel_jaddref()
13335 if (dap != LIST_FIRST(diraddhdp)) in flush_pagedep_deps()
13392 if (dap != LIST_FIRST(diraddhdp)) in flush_pagedep_deps()
13428 if (dap != LIST_FIRST(diraddhdp)) in flush_pagedep_deps()
13436 if (dap == LIST_FIRST(diraddhdp)) { in flush_pagedep_deps()
13452 if (dap == LIST_FIRST(diraddhdp)) { in flush_pagedep_deps()
14200 if ((wk = LIST_FIRST(wkhd)) == NULL) in softdep_buf_append()
14839 LIST_FIRST(&nbp->nb_indirdeps), in newblk_print()
14840 LIST_FIRST(&nbp->nb_newdirblk), in newblk_print()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Dutil-internal.h186 elm1 = LIST_FIRST((dlist)); \
199 nextp = &LIST_FIRST((dlist)); \
200 elm1 = LIST_FIRST((dlist)); \
/freebsd/tools/regression/geom/ConfCmp/
H A DConfCmp.c237 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 Dutil-internal.h186 elm1 = LIST_FIRST((dlist)); \
199 nextp = &LIST_FIRST((dlist)); \
200 elm1 = LIST_FIRST((dlist)); \

123456789