Home
last modified time | relevance | path

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

1234567

/src/sys/security/mac/
H A Dmac_internal.h311 if (!LIST_EMPTY(&mac_policy_list)) { \
333 if (!LIST_EMPTY(&mac_policy_list)) { \
364 if (!LIST_EMPTY(&mac_policy_list)) { \
394 if (!LIST_EMPTY(&mac_policy_list)) { \
414 if (!LIST_EMPTY(&mac_policy_list)) { \
520 if (!LIST_EMPTY(&mac_policy_list)) { \
537 if (!LIST_EMPTY(&mac_policy_list)) { \
/src/sys/geom/
H A Dgeom_subr.c217 if (!LIST_EMPTY(&mp->geom) && mp->destroy_geom == NULL) { in g_unload_class()
294 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent()
427 KASSERT(LIST_EMPTY(&gp->consumer), in g_destroy_geom()
430 KASSERT(LIST_EMPTY(&gp->provider), in g_destroy_geom()
506 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
512 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
522 if (LIST_EMPTY(&gp->provider) && in g_wither_washer()
523 LIST_EMPTY(&gp->consumer)) in g_wither_washer()
806 KASSERT(LIST_EMPTY(&pp->consumers), in g_destroy_provider()
1202 if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer)) in g_std_spoiled()
[all …]
/src/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()
/src/sys/dev/fb/
H A Dfbd.c204 if (LIST_EMPTY(&fb_list_head)) in fbd_list()
236 if (LIST_EMPTY(&fb_list_head)) in fbd_register()
271 if (LIST_EMPTY(&fb_list_head)) in fbd_unregister()
/src/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()
/src/sys/kern/
H A Dkern_lockf.c367 KASSERT(LIST_EMPTY(&lock->lf_outedges), in lf_free_lock()
369 KASSERT(LIST_EMPTY(&lock->lf_inedges), in lf_free_lock()
713 KASSERT(!LIST_EMPTY(&lock->lf_outedges), in lf_advlockasync()
771 if (LIST_EMPTY(&state->ls_active) && state->ls_threads == 0) { in lf_purgelocks()
772 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
818 KASSERT(LIST_EMPTY(&state->ls_pending), in lf_purgelocks()
1047 if (LIST_EMPTY(&state->ls_pending)) in lf_add_incoming()
1085 if (LIST_EMPTY(&state->ls_active)) { in lf_insert_lock()
1147 if (LIST_EMPTY(&deplock->lf_outedges)) { in lf_update_dependancies()
1210 while (!LIST_EMPTY(&granted)) { in lf_activate_lock()
[all …]
H A Dsubr_hash.c94 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()
/src/sys/sys/
H A Djail.h336 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
352 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
369 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
387 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
/src/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()
/src/sbin/geom/core/
H A Dgeom.c733 if (!LIST_EMPTY(&gp->lg_consumer)) in compute_tree_width()
752 if (LIST_EMPTY(&gp->lg_provider)) { in show_tree_geom()
800 if (!LIST_EMPTY(&gp->lg_consumer)) in show_tree()
970 if (!LIST_EMPTY(&gp->lg_provider)) { in list_one_geom()
982 if (!LIST_EMPTY(&gp->lg_consumer)) { in list_one_geom()
1081 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_list()
1375 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
1410 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
/src/sys/ufs/ffs/
H A Dffs_softdep.c1837 if (!LIST_EMPTY(&freeblks->fb_jblkdephd)) { in process_truncates()
2761 KASSERT(LIST_EMPTY(&ums->sd_alldeps[i]), in softdep_unmount()
2995 if (LIST_EMPTY(&ump->softdep_journal_pending)) { in add_to_journal()
3771 if (LIST_EMPTY(&ump->softdep_journal_pending)) in softdep_process_journal()
4030 if (LIST_EMPTY(&dirrem->dm_jremrefhd) && in handle_written_jremref()
4245 if (LIST_EMPTY(&freeblks->fb_jblkdephd) && in handle_written_jblkdep()
4758 KASSERT(LIST_EMPTY(&jseg->js_entries), in free_jseg()
5741 if (!LIST_EMPTY(&oldadp->ad_newdirblk)) in allocdirect_merge()
6327 if (!LIST_EMPTY(&oldaip->ai_newdirblk)) in allocindir_merge()
6644 if (LIST_EMPTY(&indirdep->ir_freeblks->fb_jblkdephd)) in complete_trunc_indir()
[all …]
/src/sys/dev/syscons/
H A Dscterm.c93 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
/src/sys/dev/aic7xxx/
H A Daic_osm_lib.c111 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
/src/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()
/src/sys/arm64/coresight/
H A Dcoresight_cmd.c59 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
/src/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c145 if (LIST_EMPTY(&gp->lg_provider)) in boot_disk_select()
227 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
H A Dscripted.c48 if (LIST_EMPTY(&gp->lg_provider)) in provider_for_name()
/src/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.h26 #define vmci_list_empty(_l) LIST_EMPTY(_l)
/src/lib/libmemstat/
H A Dmemstat_malloc.c87 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_malloc()
323 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_malloc()
H A Dmemstat_uma.c87 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_sysctl_uma()
327 hint_dontsearch = LIST_EMPTY(&list->mtl_list); in memstat_kvm_uma()
/src/sys/fs/nfsclient/
H A Dnfs_clstate.c1620 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen()
1859 if (!printed && !LIST_EMPTY(&dp->nfsdl_lock)) { in nfscl_expireclient()
1882 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_expireclient()
1920 if (LIST_EMPTY(&owp->nfsow_open)) in nfscl_cleanup_common()
1953 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_cleanupkext()
2312 if (LIST_EMPTY(&lp->nfsl_lock)) in nfscl_recover()
2823 if (LIST_EMPTY(&owp->nfsow_open)) { in nfscl_renewthread()
2922 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_renewthread()
3128 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
3164 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
[all …]
/src/sys/dev/hyperv/input/
H A Dhv_kbdc.c149 if (LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_produce_ks()
438 while (!LIST_EMPTY(&sc->ks_free_list)) { in hv_kbd_fini()
/src/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c439 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient()
451 if (!LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_setclient()
453 } else if (LIST_EMPTY(&clp->lc_open)) { in nfsrv_setclient()
459 if (!LIST_EMPTY(&stp->ls_open)) { in nfsrv_setclient()
960 if (!LIST_EMPTY(&clp->lc_stateid[i])) { in nfsrv_destroyclient()
965 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient()
1393 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer()
1394 && LIST_EMPTY(&clp->lc_open)) || in nfsrv_servertimer()
1433 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer()
1546 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg()
[all …]
/src/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1207 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_attach()
1214 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_attach()
1266 while (!LIST_EMPTY(&sc->hs_free_list)) { in storvsc_detach()
1274 while (!LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_detach()
1542 if (LIST_EMPTY(&sc->hs_free_list)) { in storvsc_action()
1626 if (LIST_EMPTY(&g_hv_sgl_page_pool.in_use_sgl_list)) { in storvsc_destroy_bounce_buffer()
1657 if (LIST_EMPTY(&g_hv_sgl_page_pool.free_sgl_list)) { in storvsc_create_bounce_buffer()

1234567