Home
last modified time | relevance | path

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

1234567

/freebsd/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/sys/geom/
H A Dgeom_subr.c215 if (!LIST_EMPTY(&mp->geom) && mp->destroy_geom == NULL) { in g_unload_class()
292 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent()
414 KASSERT(LIST_EMPTY(&gp->consumer), in g_destroy_geom()
417 KASSERT(LIST_EMPTY(&gp->provider), in g_destroy_geom()
494 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
500 if (LIST_EMPTY(&pp->consumers)) in g_wither_washer()
510 if (LIST_EMPTY(&gp->provider) && in g_wither_washer()
511 LIST_EMPTY(&gp->consumer)) in g_wither_washer()
794 KASSERT(LIST_EMPTY(&pp->consumers), in g_destroy_provider()
1184 if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer)) in g_std_spoiled()
[all …]
/freebsd/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/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()
/freebsd/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/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()
/freebsd/sys/sys/
H A Djail.h309 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
325 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
342 ((cpr) = (((descend) && !LIST_EMPTY(&(cpr)->pr_children)) \
360 ? ((descend) = !LIST_EMPTY(&(cpr)->pr_children)) \
/freebsd/sys/geom/vinum/
H A Dgeom_vinum_rm.c83 if (!LIST_EMPTY(&v->plexes) && !(*flags & GV_FLAG_R)) { in gv_remove()
99 if (!LIST_EMPTY(&p->subdisks) && in gv_remove()
341 if (!LIST_EMPTY(&d->subdisks)) { in gv_rm_drive()
H A Dgeom_vinum_raid5.c185 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_check()
262 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_rebuild()
351 if (p == NULL || LIST_EMPTY(&p->subdisks)) in gv_raid5_request()
/freebsd/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/sbin/geom/core/
H A Dgeom.c729 if (!LIST_EMPTY(&gp->lg_consumer)) in compute_tree_width()
748 if (LIST_EMPTY(&gp->lg_provider)) { in show_tree_geom()
796 if (!LIST_EMPTY(&gp->lg_consumer)) in show_tree()
947 if (!LIST_EMPTY(&gp->lg_provider)) { in list_one_geom()
955 if (!LIST_EMPTY(&gp->lg_consumer)) { in list_one_geom()
1045 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_list()
1270 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
1304 if (LIST_EMPTY(&gp->lg_provider) && !all) in std_status()
/freebsd/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 …]
/freebsd/sys/dev/syscons/
H A Dscterm.c93 if (!LIST_EMPTY(&sc_term_list)) { in sc_term_match()
/freebsd/sys/dev/aic7xxx/
H A Daic_osm_lib.c111 if (LIST_EMPTY(&aic->timedout_scbs) != 0 in aic_recovery_thread()
/freebsd/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/sys/arm64/coresight/
H A Dcoresight_cmd.c59 if (LIST_EMPTY(&event->endplist)) { in coresight_next_device()
/freebsd/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/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.h26 #define vmci_list_empty(_l) LIST_EMPTY(_l)
/freebsd/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()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clstate.c1617 if (!LIST_EMPTY(&lp->nfsl_lock)) { in nfscl_expireopen()
1856 if (!printed && !LIST_EMPTY(&dp->nfsdl_lock)) { in nfscl_expireclient()
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()
3123 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
3159 if (openowner && !LIST_EMPTY(&owp->nfsow_open)) in nfscl_dumpstate()
[all …]
/freebsd/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()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c434 (!LIST_EMPTY(&clp->lc_open) || !LIST_EMPTY(&clp->lc_deleg))) { in nfsrv_setclient()
446 if (!LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_setclient()
448 } else if (LIST_EMPTY(&clp->lc_open)) { in nfsrv_setclient()
454 if (!LIST_EMPTY(&stp->ls_open)) { in nfsrv_setclient()
955 if (!LIST_EMPTY(&clp->lc_stateid[i])) { in nfsrv_destroyclient()
960 if (!LIST_EMPTY(&clp->lc_session) || !LIST_EMPTY(&clp->lc_deleg)) { in nfsrv_destroyclient()
1388 && ((LIST_EMPTY(&clp->lc_deleg) in nfsrv_servertimer()
1389 && LIST_EMPTY(&clp->lc_open)) || in nfsrv_servertimer()
1428 if (LIST_EMPTY(&stp->ls_open)) { in nfsrv_servertimer()
1541 if (LIST_EMPTY(&lfp->lf_open) && in nfsrv_freedeleg()
[all …]
/freebsd/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