Home
last modified time | relevance | path

Searched refs:LIST_EMPTY (Results 1 – 25 of 154) sorted by relevance

1234567

/freebsd-13.1/sys/security/mac/
H A Dmac_internal.h297 if (!LIST_EMPTY(&mac_policy_list)) { \
319 if (!LIST_EMPTY(&mac_policy_list)) { \
350 if (!LIST_EMPTY(&mac_policy_list)) { \
380 if (!LIST_EMPTY(&mac_policy_list)) { \
400 if (!LIST_EMPTY(&mac_policy_list)) { \
506 if (!LIST_EMPTY(&mac_policy_list)) { \
523 if (!LIST_EMPTY(&mac_policy_list)) { \
/freebsd-13.1/sys/contrib/ngatm/netnatm/api/
H A Dcc_data.c74 while (!LIST_EMPTY(&cc->user_list)) in cc_reset()
80 while (!LIST_EMPTY(&cc->orphaned_conns)) in cc_reset()
83 CCASSERT(LIST_EMPTY(&cc->user_list), in cc_reset()
85 CCASSERT(LIST_EMPTY(&cc->orphaned_conns), in cc_reset()
/freebsd-13.1/sys/geom/
H A Dgeom_subr.c296 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent()
418 KASSERT(LIST_EMPTY(&gp->consumer), in g_destroy_geom()
421 KASSERT(LIST_EMPTY(&gp->provider), in g_destroy_geom()
498 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
504 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
514 if (LIST_EMPTY(&gp->provider) && in g_wither_washer()
515 LIST_EMPTY(&gp->consumer)) in g_wither_washer()
1188 if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer)) in g_std_spoiled()
1485 if (LIST_EMPTY(&pp->consumers)) in db_show_geom_provider()
1519 if (LIST_EMPTY(&gp->provider)) in db_show_geom_geom()
[all …]
/freebsd-13.1/lib/libc/stdlib/
H A Dcxa_thread_atexit_impl.c143 for (i = 0; i < CXA_DTORS_ITERATIONS && !LIST_EMPTY(&dtors); i++) in __cxa_thread_call_dtors()
146 if (!LIST_EMPTY(&dtors)) { in __cxa_thread_call_dtors()
/freebsd-13.1/sys/kern/
H A Dkern_lockf.c372 KASSERT(LIST_EMPTY(&lock->lf_outedges), in lf_free_lock()
374 KASSERT(LIST_EMPTY(&lock->lf_inedges), in lf_free_lock()
785 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
831 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
1060 if (LIST_EMPTY(&state->ls_pending)) in lf_add_incoming()
1098 if (LIST_EMPTY(&state->ls_active)) { in lf_insert_lock()
1223 while (!LIST_EMPTY(&granted)) { in lf_activate_lock()
1367 while (!LIST_EMPTY(&granted)) { in lf_cancel_lock()
1504 if (LIST_EMPTY(&lock->lf_outedges)) { in lf_setlock()
2514 if (!LIST_EMPTY(&lock->lf_outedges)) in lf_print()
[all …]
H A Dsubr_hash.c99 KASSERT(LIST_EMPTY(hp), ("%s: hashtbl %p not empty " in hashdestroy()
/freebsd-13.1/contrib/dma/
H A Ddma.c380 if (LIST_EMPTY(&queue->queue)) in run_queue()
394 if (LIST_EMPTY(&queue->queue)) { in show_queue()
617 if (LIST_EMPTY(&queue.queue) && !recp_from_header) in main()
623 if (LIST_EMPTY(&queue.queue)) in main()
/freebsd-13.1/sys/sys/
H A Djail.h300 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
316 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
333 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
351 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
/freebsd-13.1/sys/dev/fb/
H A Dfbd.c209 if (LIST_EMPTY(&fb_list_head)) in fbd_list()
241 if (LIST_EMPTY(&fb_list_head)) in fbd_register()
276 if (LIST_EMPTY(&fb_list_head)) in fbd_unregister()
/freebsd-13.1/sys/geom/vinum/
H A Dgeom_vinum_rm.c86 if (!LIST_EMPTY(&v->plexes) && !(*flags & GV_FLAG_R)) { in gv_remove()
102 if (!LIST_EMPTY(&p->subdisks) && in gv_remove()
344 if (!LIST_EMPTY(&d->subdisks)) { in gv_rm_drive()
H A Dgeom_vinum_raid5.c188 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_check()
265 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_rebuild()
357 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_request()
/freebsd-13.1/sys/dev/bhnd/bhndb/
H A Dbhndb_private.h248 KASSERT(LIST_EMPTY(&dw_free->refs), in bhndb_dw_next_free()
263 bool is_free = LIST_EMPTY(&dwa->refs); in bhndb_dw_is_free()
/freebsd-13.1/sbin/geom/core/
H A Dgeom.c726 if (!LIST_EMPTY(&gp->lg_consumer)) in compute_tree_width()
745 if (LIST_EMPTY(&gp->lg_provider)) { in show_tree_geom()
793 if (!LIST_EMPTY(&gp->lg_consumer)) in show_tree()
944 if (!LIST_EMPTY(&gp->lg_provider)) { in list_one_geom()
952 if (!LIST_EMPTY(&gp->lg_consumer)) { in list_one_geom()
1038 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_list()
1263 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
1297 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
/freebsd-13.1/sys/dev/syscons/
H A Dscterm.c95 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
/freebsd-13.1/sys/dev/aic7xxx/
H A Daic_osm_lib.c113 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_softdep.c4148 if (LIST_EMPTY(&dirrem->dm_jremrefhd) &&
4892 KASSERT(LIST_EMPTY(&jseg->js_entries),
7841 if (!LIST_EMPTY(&newblk->nb_jwork))
7849 if (!LIST_EMPTY(&newblk->nb_newdirblk))
7899 if (!LIST_EMPTY(&newblk->nb_newdirblk))
9308 if (LIST_EMPTY(&dirrem->dm_jremrefhd))
9826 if (LIST_EMPTY(&dirrem->dm_jremrefhd))
10277 KASSERT(LIST_EMPTY(&dirrem->dm_jwork),
10306 KASSERT(LIST_EMPTY(&dirrem->dm_jwork),
12107 if (freefile && !LIST_EMPTY(&wkhd)) {
[all …]
/freebsd-13.1/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c146 while (!LIST_EMPTY(&unit->con_list)) { in ng_hci_unit_clean()
210 while (!LIST_EMPTY(&unit->neighbors)) in ng_hci_flush_neighbor_cache()
/freebsd-13.1/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c112 if (LIST_EMPTY(&gp->lg_provider)) in boot_disk_select()
180 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
/freebsd-13.1/sys/arm64/coresight/
H A Dcoresight_cmd.c62 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
/freebsd-13.1/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.h28 #define vmci_list_empty(_l) LIST_EMPTY(_l)
/freebsd-13.1/lib/libmemstat/
H A Dmemstat_malloc.c90 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_malloc()
326 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_malloc()
/freebsd-13.1/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c381 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient()
844 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient()
1268 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer()
1308 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer()
1415 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg()
1416 LIST_EMPTY(&lfp->lf_lock) && LIST_EMPTY(&lfp->lf_deleg) && in nfsrv_freedeleg()
1417 LIST_EMPTY(&lfp->lf_locallock) && LIST_EMPTY(&lfp->lf_rollback) && in nfsrv_freedeleg()
1487 LIST_EMPTY(&lfp->lf_deleg) && LIST_EMPTY(&lfp->lf_lock) && in nfsrv_freeopen()
1488 LIST_EMPTY(&lfp->lf_locallock) && LIST_EMPTY(&lfp->lf_rollback) && in nfsrv_freeopen()
2119 (LIST_EMPTY(&lfp->lf_open) && LIST_EMPTY(&lfp->lf_lock) && in nfsrv_lockctrl()
[all …]
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clstate.c1607 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen()
1869 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient()
1907 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common()
1940 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext()
2299 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover()
2811 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread()
2909 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread()
4764 if (!LIST_EMPTY(&owp->nfsow_open)) { in nfscl_removedeleg()
4887 if (!LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renamedeleg()
5363 if (!LIST_EMPTY(&lyp->nfsly_flayrw)) in nfscl_retoncloselayout()
[all …]
/freebsd-13.1/sys/dev/hyperv/input/
H A Dhv_kbdc.c152 if (LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_produce_ks()
441 while (!LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_fini()
/freebsd-13.1/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1199 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_attach()
1206 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_attach()
1261 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_detach()
1269 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_detach()
1540 if (LIST_EMPTY(&sc->hs_free_list)) { in storvsc_action()
1624 if (LIST_EMPTY(&g_hv_sgl_page_pool.in_use_sgl_list)) { in storvsc_destroy_bounce_buffer()
1655 if (LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_create_bounce_buffer()

1234567