Home
last modified time | relevance | path

Searched refs:TAILQ_EMPTY (Results 1 – 25 of 135) sorted by relevance

123456

/dragonfly/usr.sbin/nscd/
HDcacheplcs.c219 while (!TAILQ_EMPTY(&queue_policy->head)) { in destroy_cache_queue_policy()
439 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_first_item()
459 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_last_item()
484 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_next_item()
511 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_prev_item()
570 while (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in destroy_cache_lfu_policy()
/dragonfly/contrib/nvi2/ex/
HDex_display.c95 if (!TAILQ_EMPTY(cbp->textq)) in bdisplay()
104 if (!TAILQ_EMPTY(cbp->textq)) in bdisplay()
HDex_tag.c317 if (TAILQ_EMPTY(exp->tq)) { in ex_tag_pop()
392 if (TAILQ_EMPTY(exp->tq)) { in ex_tag_top()
470 if (TAILQ_EMPTY(exp->tq)) { in ex_tag_display()
725 if (TAILQ_EMPTY(exp->tq)) { in tagq_push()
764 if (TAILQ_EMPTY(exp->tq)) { in tagq_push()
999 if (TAILQ_EMPTY(tqp->tagq)) { in ctag_slist()
/dragonfly/sys/kern/
HDsubr_autoconf.c74 while (!TAILQ_EMPTY(&intr_config_hook_list)) { in run_interrupt_driven_config_hooks()
86 if (TAILQ_EMPTY(&intr_config_hook_list)) in run_interrupt_driven_config_hooks()
HDkern_lockf.c277 if (TAILQ_EMPTY(&lock->lf_range) && in lf_advlock()
278 TAILQ_EMPTY(&lock->lf_blocked)) { in lf_advlock()
921 if (TAILQ_EMPTY(&lock->lf_range)) { in _lf_print_lock()
931 if (TAILQ_EMPTY(&lock->lf_blocked)) in _lf_print_lock()
HDsubr_eventhandler.c129 while (!TAILQ_EMPTY(&list->el_entries)) { in eventhandler_deregister()
HDkern_dmsg.c449 if (TAILQ_EMPTY(&iocom->msgq)) { in kdmsg_iocom_thread_wr()
907 if (TAILQ_EMPTY(&pstate->subq)) in kdmsg_state_msgrx()
1297 if (TAILQ_EMPTY(&pstate->subq)) { in kdmsg_subq_delete()
1704 if (TAILQ_EMPTY(&state->subq)) in kdmsg_state_cleanuptx()
1760 KKASSERT(TAILQ_EMPTY(&state->subq)); in kdmsg_state_free()
1810 if (TAILQ_EMPTY(&pstate->subq)) in kdmsg_msg_alloc()
HDvfs_lock.c1024 KKASSERT(TAILQ_EMPTY(&vp->v_namecache)); in cleanfreevnode()
1182 KKASSERT(TAILQ_EMPTY(&vp->v_namecache)); in allocvnode()
1221 KKASSERT(TAILQ_EMPTY(&vp->v_namecache)); in allocvnode()
/dragonfly/contrib/nvi2/common/
HDscreen.c164 if (!TAILQ_EMPTY(sp->tiq)) in screen_end()
213 if (!TAILQ_EMPTY(gp->hq)) { in screen_next()
HDcut.c265 if (!TAILQ_EMPTY(cbp->textq)) in cut_close()
273 if (!TAILQ_EMPTY(cbp->textq)) in cut_close()
/dragonfly/libexec/rtld-elf/
HDlibmap.c310 while (!TAILQ_EMPTY(lml)) { in lm_free()
328 while (!TAILQ_EMPTY(&lmc_head)) { in lm_fini()
335 while (!TAILQ_EMPTY(&lmp_head)) { in lm_fini()
/dragonfly/sys/net/
HDpfil.c344 if (TAILQ_EMPTY(ph->ph_in) && TAILQ_EMPTY(ph->ph_out)) in pfil_remove_hook_dispatch()
410 KKASSERT(TAILQ_EMPTY(to)); in pfil_list_dup()
/dragonfly/lib/libdevattr/
HDdevattr_enumerate.c114 while (!TAILQ_EMPTY(&udev_enum->list_entries)) { in udev_enumerate_unref()
161 if (!TAILQ_EMPTY(&udev_enum->list_entries)) in udev_enumerate_get_list_entry()
/dragonfly/sys/dev/disk/dm/
HDdm_table.c161 KKASSERT(TAILQ_EMPTY(tbl)); in dm_table_destroy()
311 KKASSERT(TAILQ_EMPTY(&table_en->pdev_maps)); in dm_table_free_deps()
/dragonfly/sys/dev/powermng/clockmod/
HDclockmod.c238 if (TAILQ_EMPTY(&dom->dom_list)) in clockmod_dom_detach()
348 KASSERT(TAILQ_EMPTY(&dom->dom_list), in clockmod_dom_destroy()
355 if (TAILQ_EMPTY(&clockmod_dom_list)) { in clockmod_dom_destroy()
/dragonfly/sys/netgraph/ppp/
HDng_ppp.c1177 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_check_packet()
1211 KASSERT(!TAILQ_EMPTY(&priv->frags) && qent->first, in ng_ppp_get_packet()
1215 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_get_packet()
1253 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_frag_trim()
1274 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_frag_trim()
1320 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_frag_process()
1379 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_frag_checkstale()
1413 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_frag_checkstale()
/dragonfly/sys/platform/pc64/x86_64/
HDmptable.c1120 if (TAILQ_EMPTY(&mptable_ioapic_list)) in mptable_pci_int_register()
1131 if (TAILQ_EMPTY(&bus_info.mbi_list)) in mptable_pci_int_register()
1231 if (TAILQ_EMPTY(&mptable_ioapic_list)) in mptable_ioapic_probe()
1324 KKASSERT(!TAILQ_EMPTY(&mptable_ioapic_list)); in mptable_ioapic_enumerate()
1375 if (TAILQ_EMPTY(&bus_info.mbi_list)) { in mptable_ioapic_enumerate()
/dragonfly/sbin/udevd/
HDudevd_pdev.c99 if (!TAILQ_EMPTY(&pdev_array_list)) in pdev_array_entry_insert()
/dragonfly/sys/bus/cam/scsi/
HDscsi_target.c374 retval = !TAILQ_EMPTY(&softc->user_ccb_queue) || in targreadfilt()
375 !TAILQ_EMPTY(&softc->abort_queue); in targreadfilt()
834 if (TAILQ_EMPTY(&softc->pending_ccb_queue)) in targdone()
1119 if (!TAILQ_EMPTY(&softc->user_ccb_queue) || in abort_all_pending()
1120 !TAILQ_EMPTY(&softc->abort_queue)) { in abort_all_pending()
/dragonfly/usr.sbin/makefs/hammer2/
HDhammer2_vfsops.c771 assert(TAILQ_EMPTY(&pmp->recq)); in hammer2_pfsfree()
921 KKASSERT(TAILQ_EMPTY(&pmp->syncq)); in hammer2_pfsfree_scan()
922 KKASSERT(TAILQ_EMPTY(&pmp->depq)); in hammer2_pfsfree_scan()
1016 if (!TAILQ_EMPTY(&devvpl)) { in hammer2_vfs_mount()
1098 KKASSERT(!TAILQ_EMPTY(&devvpl)); in hammer2_vfs_mount()
1207 KKASSERT(TAILQ_EMPTY(&devvpl)); in hammer2_vfs_mount()
1208 KKASSERT(!TAILQ_EMPTY(&hmp->devvpl)); in hammer2_vfs_mount()
1792 if (!TAILQ_EMPTY(&hmp->devvpl)) { in hammer2_unmount_helper()
1796 KKASSERT(TAILQ_EMPTY(&hmp->devvpl)); in hammer2_unmount_helper()
/dragonfly/lib/libhammer/
HDsnapshot.c129 while(!TAILQ_EMPTY(&pip->list_snap)) { in libhammer_pfs_free_snapshots()
HDinfo.c135 while(!TAILQ_EMPTY(&fip->list_pseudo)) { in libhammer_free_fsinfo()
/dragonfly/sys/netgraph7/ppp/
HDng_ppp.c1654 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_check_packet()
1688 KASSERT(!TAILQ_EMPTY(&priv->frags) && qent->first, in ng_ppp_get_packet()
1692 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_get_packet()
1730 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_frag_trim()
1751 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_frag_trim()
1773 if (TAILQ_EMPTY(&priv->fragsfree)) { in ng_ppp_frag_drop()
1777 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_frag_drop()
1877 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_frag_checkstale()
1911 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_frag_checkstale()
/dragonfly/sys/net/pf/
HDpf_ruleset.c289 if (!TAILQ_EMPTY(ruleset->rules[i].active.ptr) || in pf_remove_if_empty_ruleset()
290 !TAILQ_EMPTY(ruleset->rules[i].inactive.ptr) || in pf_remove_if_empty_ruleset()
/dragonfly/lib/libssh/openbsd-compat/
HDsys-queue.h111 #undef TAILQ_EMPTY
528 #define TAILQ_EMPTY(head) \ macro
620 if (!TAILQ_EMPTY(head2)) { \

123456