Home
last modified time | relevance | path

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

1234567

/freebsd-14.2/sys/security/mac/
H A Dmac_internal.h296 if (!LIST_EMPTY(&mac_policy_list)) { \
318 if (!LIST_EMPTY(&mac_policy_list)) { \
349 if (!LIST_EMPTY(&mac_policy_list)) { \
379 if (!LIST_EMPTY(&mac_policy_list)) { \
399 if (!LIST_EMPTY(&mac_policy_list)) { \
505 if (!LIST_EMPTY(&mac_policy_list)) { \
522 if (!LIST_EMPTY(&mac_policy_list)) { \
/freebsd-14.2/sys/geom/
H A Dgeom_subr.c293 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent()
415 KASSERT(LIST_EMPTY(&gp->consumer), in g_destroy_geom()
418 KASSERT(LIST_EMPTY(&gp->provider), in g_destroy_geom()
495 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
501 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
511 if (LIST_EMPTY(&gp->provider) && in g_wither_washer()
512 LIST_EMPTY(&gp->consumer)) in g_wither_washer()
1185 if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer)) in g_std_spoiled()
1482 if (LIST_EMPTY(&pp->consumers)) in db_show_geom_provider()
1516 if (LIST_EMPTY(&gp->provider)) in db_show_geom_geom()
[all …]
/freebsd-14.2/lib/libc/stdlib/
H A Dcxa_thread_atexit_impl.c141 for (i = 0; i < CXA_DTORS_ITERATIONS && !LIST_EMPTY(&dtors); i++) in __cxa_thread_call_dtors()
144 if (!LIST_EMPTY(&dtors)) { in __cxa_thread_call_dtors()
/freebsd-14.2/sys/dev/fb/
H A Dfbd.c205 if (LIST_EMPTY(&fb_list_head)) in fbd_list()
237 if (LIST_EMPTY(&fb_list_head)) in fbd_register()
272 if (LIST_EMPTY(&fb_list_head)) in fbd_unregister()
/freebsd-14.2/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-14.2/sys/kern/
H A Dkern_lockf.c369 KASSERT(LIST_EMPTY(&lock->lf_outedges), in lf_free_lock()
371 KASSERT(LIST_EMPTY(&lock->lf_inedges), in lf_free_lock()
774 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
820 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
1049 if (LIST_EMPTY(&state->ls_pending)) in lf_add_incoming()
1087 if (LIST_EMPTY(&state->ls_active)) { in lf_insert_lock()
1212 while (!LIST_EMPTY(&granted)) { in lf_activate_lock()
1356 while (!LIST_EMPTY(&granted)) { in lf_cancel_lock()
1493 if (LIST_EMPTY(&lock->lf_outedges)) { in lf_setlock()
2631 if (!LIST_EMPTY(&lock->lf_outedges)) in lf_print()
[all …]
H A Dsubr_hash.c97 KASSERT(LIST_EMPTY(hp), ("%s: hashtbl %p not empty " in hashdestroy()
H A Dsubr_turnstile.c774 KASSERT(LIST_EMPTY(&ts->ts_free), in turnstile_wait()
861 MPASS(LIST_EMPTY(&ts->ts_free)); in turnstile_signal()
909 if (LIST_EMPTY(&ts->ts_free)) { in turnstile_broadcast()
1255 if ((TD_ON_LOCK(td) && LIST_EMPTY(&td->td_contested)) in DB_SHOW_ALL_COMMAND()
/freebsd-14.2/sys/sys/
H A Djail.h306 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
322 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
339 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
357 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
/freebsd-14.2/sys/geom/vinum/
H A Dgeom_vinum_rm.c84 if (!LIST_EMPTY(&v->plexes) && !(*flags & GV_FLAG_R)) { in gv_remove()
100 if (!LIST_EMPTY(&p->subdisks) && in gv_remove()
342 if (!LIST_EMPTY(&d->subdisks)) { in gv_rm_drive()
H A Dgeom_vinum_raid5.c186 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_check()
263 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_rebuild()
352 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_request()
/freebsd-14.2/sys/dev/bhnd/bhndb/
H A Dbhndb_private.h247 KASSERT(LIST_EMPTY(&dw_free->refs), in bhndb_dw_next_free()
262 bool is_free = LIST_EMPTY(&dwa->refs); in bhndb_dw_is_free()
/freebsd-14.2/sbin/geom/core/
H A Dgeom.c730 if (!LIST_EMPTY(&gp->lg_consumer)) in compute_tree_width()
749 if (LIST_EMPTY(&gp->lg_provider)) { in show_tree_geom()
797 if (!LIST_EMPTY(&gp->lg_consumer)) in show_tree()
948 if (!LIST_EMPTY(&gp->lg_provider)) { in list_one_geom()
956 if (!LIST_EMPTY(&gp->lg_consumer)) { in list_one_geom()
1046 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_list()
1271 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
1305 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
/freebsd-14.2/sys/dev/syscons/
H A Dscterm.c93 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
/freebsd-14.2/sys/dev/aic7xxx/
H A Daic_osm_lib.c111 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
/freebsd-14.2/sys/ufs/ffs/
H A Dffs_softdep.c4028 if (LIST_EMPTY(&dirrem->dm_jremrefhd) && in handle_written_jremref()
4756 KASSERT(LIST_EMPTY(&jseg->js_entries), in free_jseg()
7667 if (!LIST_EMPTY(&newblk->nb_jwork)) in cancel_newblk()
7675 if (!LIST_EMPTY(&newblk->nb_newdirblk)) in cancel_newblk()
7723 if (!LIST_EMPTY(&newblk->nb_newdirblk)) in free_newblk()
9112 if (LIST_EMPTY(&dirrem->dm_jremrefhd)) in free_diradd()
9625 if (LIST_EMPTY(&dirrem->dm_jremrefhd)) in softdep_setup_directory_change()
10067 KASSERT(LIST_EMPTY(&dirrem->dm_jwork), in handle_workitem_remove()
10096 KASSERT(LIST_EMPTY(&dirrem->dm_jwork), in handle_workitem_remove()
11890 if (freefile && !LIST_EMPTY(&wkhd)) { in handle_written_inodeblock()
[all …]
/freebsd-14.2/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c145 while (!LIST_EMPTY(&unit->con_list)) { in ng_hci_unit_clean()
209 while (!LIST_EMPTY(&unit->neighbors)) in ng_hci_flush_neighbor_cache()
/freebsd-14.2/sys/arm64/coresight/
H A Dcoresight_cmd.c60 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
/freebsd-14.2/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c124 if (LIST_EMPTY(&gp->lg_provider)) in boot_disk_select()
206 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
/freebsd-14.2/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.h26 #define vmci_list_empty(_l) LIST_EMPTY(_l)
/freebsd-14.2/lib/libmemstat/
H A Dmemstat_malloc.c88 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_malloc()
324 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_malloc()
/freebsd-14.2/sys/fs/nfsclient/
H A Dnfs_clstate.c1617 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen()
1879 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient()
1917 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common()
1950 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext()
2309 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover()
2820 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread()
2918 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread()
4785 if (!LIST_EMPTY(&owp->nfsow_open)) { in nfscl_removedeleg()
4908 if (!LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renamedeleg()
5384 if (!LIST_EMPTY(&lyp->nfsly_flayrw)) in nfscl_retoncloselayout()
[all …]
/freebsd-14.2/sys/dev/hyperv/input/
H A Dhv_kbdc.c150 if (LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_produce_ks()
439 while (!LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_fini()
/freebsd-14.2/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c434 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient()
960 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient()
1388 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer()
1428 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer()
1541 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg()
1542 LIST_EMPTY(&lfp->lf_lock) && LIST_EMPTY(&lfp->lf_deleg) && in nfsrv_freedeleg()
1543 LIST_EMPTY(&lfp->lf_locallock) && LIST_EMPTY(&lfp->lf_rollback) && in nfsrv_freedeleg()
1629 LIST_EMPTY(&lfp->lf_deleg) && LIST_EMPTY(&lfp->lf_lock) && in nfsrv_freeopen()
1630 LIST_EMPTY(&lfp->lf_locallock) && LIST_EMPTY(&lfp->lf_rollback) && in nfsrv_freeopen()
2256 (LIST_EMPTY(&lfp->lf_open) && LIST_EMPTY(&lfp->lf_lock) && in nfsrv_lockctrl()
[all …]
/freebsd-14.2/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1202 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_attach()
1209 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()
1537 if (LIST_EMPTY(&sc->hs_free_list)) { in storvsc_action()
1621 if (LIST_EMPTY(&g_hv_sgl_page_pool.in_use_sgl_list)) { in storvsc_destroy_bounce_buffer()
1652 if (LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_create_bounce_buffer()

1234567