/freebsd/sys/kern/ |
H A D | subr_turnstile.c | 503 MPASS(TAILQ_EMPTY(&ts->ts_blocked[TS_EXCLUSIVE_QUEUE])); in turnstile_dtor() 504 MPASS(TAILQ_EMPTY(&ts->ts_blocked[TS_SHARED_QUEUE])); in turnstile_dtor() 505 MPASS(TAILQ_EMPTY(&ts->ts_pending)); in turnstile_dtor() 768 KASSERT(TAILQ_EMPTY(&ts->ts_pending), in turnstile_wait() 770 KASSERT(TAILQ_EMPTY(&ts->ts_blocked[TS_EXCLUSIVE_QUEUE]), in turnstile_wait() 772 KASSERT(TAILQ_EMPTY(&ts->ts_blocked[TS_SHARED_QUEUE]), in turnstile_wait() 856 empty = TAILQ_EMPTY(&ts->ts_blocked[TS_EXCLUSIVE_QUEUE]) && in turnstile_signal() 857 TAILQ_EMPTY(&ts->ts_blocked[TS_SHARED_QUEUE]); in turnstile_signal() 956 MPASS(!TAILQ_EMPTY(&ts->ts_pending)); in turnstile_unpend() 965 if (TAILQ_EMPTY(&ts->ts_blocked[TS_EXCLUSIVE_QUEUE]) && in turnstile_unpend() [all …]
|
/freebsd/sys/netinet/ |
H A D | sctp_ss_functions.c | 78 while (!TAILQ_EMPTY(&asoc->ss_data.out.wheel)) { in sctp_ss_default_clear() 115 if (!TAILQ_EMPTY(&strq->outqueue) && !strq->ss_params.scheduled) { in sctp_ss_default_add() 128 return (TAILQ_EMPTY(&asoc->ss_data.out.wheel)); in sctp_ss_default_is_empty() 142 if (TAILQ_EMPTY(&strq->outqueue) && strq->ss_params.scheduled) { in sctp_ss_default_remove() 311 if (!TAILQ_EMPTY(&strq->outqueue) && !strq->ss_params.scheduled) { in sctp_ss_rr_add() 312 if (TAILQ_EMPTY(&asoc->ss_data.out.wheel)) { in sctp_ss_rr_add() 404 while (!TAILQ_EMPTY(&asoc->ss_data.out.wheel)) { in sctp_ss_prio_clear() 450 if (!TAILQ_EMPTY(&strq->outqueue) && !strq->ss_params.scheduled) { in sctp_ss_prio_add() 451 if (TAILQ_EMPTY(&asoc->ss_data.out.wheel)) { in sctp_ss_prio_add() 479 if (TAILQ_EMPTY(&strq->outqueue) && strq->ss_params.scheduled) { in sctp_ss_prio_remove() [all …]
|
H A D | sctp_timer.c | 452 TAILQ_EMPTY(&asoc->strmout[chk->rec.data.sid].outqueue)) { in sctp_recover_sent_list() 700 if (TAILQ_EMPTY(&stcb->asoc.send_queue)) { in sctp_mark_all_for_resend() 1184 if (TAILQ_EMPTY(&stcb->asoc.asconf_send_queue)) { in sctp_asconf_timer() 1352 KASSERT(TAILQ_EMPTY(&stcb->asoc.send_queue), ("send_queue not empty")); in sctp_audit_stream_queues_for_size() 1353 KASSERT(TAILQ_EMPTY(&stcb->asoc.sent_queue), ("sent_queue not empty")); in sctp_audit_stream_queues_for_size() 1373 if (!TAILQ_EMPTY(&stcb->asoc.strmout[i].outqueue)) { in sctp_audit_stream_queues_for_size() 1388 if ((TAILQ_EMPTY(&stcb->asoc.send_queue)) && in sctp_audit_stream_queues_for_size() 1389 (TAILQ_EMPTY(&stcb->asoc.sent_queue))) { in sctp_audit_stream_queues_for_size() 1434 (TAILQ_EMPTY(&stcb->asoc.send_queue)) && in sctp_heartbeat_timer() 1435 (TAILQ_EMPTY(&stcb->asoc.sent_queue))) { in sctp_heartbeat_timer() [all …]
|
H A D | sctp_indata.c | 340 if (!TAILQ_EMPTY(q)) { in sctp_place_control_in_stream() 359 if (TAILQ_EMPTY(q)) { in sctp_place_control_in_stream() 794 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data() 857 if ((nc->first_frag_seen) && !TAILQ_EMPTY(&nc->reasm)) { in sctp_handle_old_unordered_data() 1986 (TAILQ_EMPTY(&asoc->resetHead)) && in sctp_process_a_data_chunk() 2104 TAILQ_EMPTY(&asoc->resetHead) && in sctp_process_a_data_chunk() 2107 TAILQ_EMPTY(&asoc->strmin[sid].inqueue)))) { in sctp_process_a_data_chunk() 2198 if (TAILQ_EMPTY(&asoc->pending_reply_queue)) { in sctp_process_a_data_chunk() 2307 if (TAILQ_EMPTY(&asoc->resetHead)) { in sctp_process_a_data_chunk() 3130 TAILQ_EMPTY(&stcb->asoc.strmout[tp1->rec.data.sid].outqueue)) { in sctp_process_segment_range() [all …]
|
/freebsd/usr.sbin/nscd/ |
H A D | cacheplcs.c | 223 while (!TAILQ_EMPTY(&queue_policy->head)) { in destroy_cache_queue_policy() 443 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_first_item() 463 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_last_item() 488 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_next_item() 515 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_prev_item() 574 while (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in destroy_cache_lfu_policy()
|
/freebsd/sys/tests/framework/ |
H A D | kern_testfrwk.c | 151 if (!TAILQ_EMPTY(&kfrwk.kfrwk_testlist)) { in kerntest_frwk_fini() 209 if (!TAILQ_EMPTY(&kfrwk.kfrwk_testq)) { in kerntest_execute() 285 if (!TAILQ_EMPTY(&kfrwk.kfrwk_testq)) { in kern_testframework_deregister() 310 if (TAILQ_EMPTY(&kfrwk.kfrwk_testlist)) { in kerntest_mod_init()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | auditdistd.h | 245 _wakeup = TAILQ_EMPTY(list); \ 255 _wakeup = TAILQ_EMPTY(tolist); \ 268 while (TAILQ_EMPTY(list)) \
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_display.c | 95 if (!TAILQ_EMPTY(cbp->textq)) in bdisplay() 104 if (!TAILQ_EMPTY(cbp->textq)) in bdisplay()
|
H A D | ex_tag.c | 317 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()
|
/freebsd/sys/security/audit/ |
H A D | audit_trigger.c | 87 while (!TAILQ_EMPTY(&trigger_list)) { in audit_close() 104 while (TAILQ_EMPTY(&trigger_list)) { in audit_read()
|
/freebsd/usr.bin/vtfontcvt/ |
H A D | vtfontcvt.c | 849 if (!TAILQ_EMPTY(&maps[VFNT_MAP_NORMAL])) { in write_fnt_source() 858 if (!TAILQ_EMPTY(&maps[VFNT_MAP_NORMAL_RIGHT])) { in write_fnt_source() 867 if (!TAILQ_EMPTY(&maps[VFNT_MAP_BOLD])) { in write_fnt_source() 876 if (!TAILQ_EMPTY(&maps[VFNT_MAP_BOLD_RIGHT])) { in write_fnt_source() 892 if (TAILQ_EMPTY(&maps[VFNT_MAP_NORMAL])) { in write_fnt_source() 900 if (TAILQ_EMPTY(&maps[VFNT_MAP_NORMAL_RIGHT])) { in write_fnt_source() 908 if (TAILQ_EMPTY(&maps[VFNT_MAP_BOLD])) { in write_fnt_source() 916 if (TAILQ_EMPTY(&maps[VFNT_MAP_BOLD_RIGHT])) { in write_fnt_source()
|
/freebsd/usr.sbin/ctld/ |
H A D | ctld.c | 133 assert(TAILQ_EMPTY(&conf->conf_ports)); in conf_delete() 322 if (TAILQ_EMPTY(&ag->ag_names)) in auth_name_defined() 422 if (TAILQ_EMPTY(&ag->ag_portals)) in auth_portal_defined() 936 if (TAILQ_EMPTY(&conf->conf_targets) || in isns_register() 937 TAILQ_EMPTY(&conf->conf_portal_groups)) in isns_register() 949 if (oldisns == NULL || TAILQ_EMPTY(&oldisns->i_conf->conf_targets)) in isns_register() 964 if (TAILQ_EMPTY(&conf->conf_targets) || in isns_check() 965 TAILQ_EMPTY(&conf->conf_portal_groups)) in isns_check() 993 if (TAILQ_EMPTY(&conf->conf_targets) || in isns_deregister() 994 TAILQ_EMPTY(&conf->conf_portal_groups)) in isns_deregister() [all …]
|
/freebsd/usr.sbin/jail/ |
H A D | config.c | 193 if (!vp || TAILQ_EMPTY(&vp->val)) { in load_config() 438 if (!(flags & PF_APPEND) || TAILQ_EMPTY(&nss)) in add_param() 485 (TAILQ_EMPTY(&p->val) || in bool_param() 496 if (p == NULL || TAILQ_EMPTY(&p->val)) in int_param() 508 return (p && !TAILQ_EMPTY(&p->val) in string_param() 546 if (!TAILQ_EMPTY(&p->val) && (p->flags & (PF_BOOL | PF_INT))) { in check_intparams() 771 if (TAILQ_EMPTY(&p->val)) in import_params()
|
/freebsd/contrib/nvi/common/ |
H A D | screen.c | 164 if (!TAILQ_EMPTY(sp->tiq)) in screen_end() 213 if (!TAILQ_EMPTY(gp->hq)) { in screen_next()
|
H A D | cut.c | 265 if (!TAILQ_EMPTY(cbp->textq)) in cut_close() 273 if (!TAILQ_EMPTY(cbp->textq)) in cut_close()
|
/freebsd/sys/net/altq/ |
H A D | altq_var.h | 144 #ifndef TAILQ_EMPTY 145 #define TAILQ_EMPTY(head) ((head)->tqh_first == NULL) macro
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_target.c | 305 if (!TAILQ_EMPTY(&softc->user_ccb_queue) || in targpoll() 306 !TAILQ_EMPTY(&softc->abort_queue)) { in targpoll() 348 retval = !TAILQ_EMPTY(&softc->user_ccb_queue) || in targreadfilt() 349 !TAILQ_EMPTY(&softc->abort_queue); in targreadfilt() 773 if (TAILQ_EMPTY(&softc->pending_ccb_queue)) in targdone() 1068 if (!TAILQ_EMPTY(&softc->user_ccb_queue) in abort_all_pending() 1069 || !TAILQ_EMPTY(&softc->abort_queue)) { in abort_all_pending()
|
/freebsd/usr.sbin/rtsold/ |
H A D | rtsol.c | 618 if (TAILQ_EMPTY(&sm_dnssl_head)) { in ra_opt_handler() 684 if (!TAILQ_EMPTY(sm_dnssl_head)) { in ra_opt_rdnss_dispatch() 698 if (!TAILQ_EMPTY(sm_rdnss_head)) in ra_opt_rdnss_dispatch() 709 if (!TAILQ_EMPTY(sm_rdnss_head)) { in ra_opt_rdnss_dispatch() 715 if (!TAILQ_EMPTY(sm_dnssl_head)) { in ra_opt_rdnss_dispatch()
|
/freebsd/sys/sys/ |
H A D | selinfo.h | 50 #define SEL_WAITING(si) (!TAILQ_EMPTY(&(si)->si_tdlist))
|
/freebsd/libexec/rtld-elf/ |
H A D | libmap.c | 322 while (!TAILQ_EMPTY(lml)) { in lm_free() 339 while (!TAILQ_EMPTY(&lmc_head)) { in lm_fini() 346 while (!TAILQ_EMPTY(&lmp_head)) { in lm_fini()
|
/freebsd/lib/libmixer/ |
H A D | mixer.c | 152 while (!TAILQ_EMPTY(&m->devs)) { in mixer_close() 155 while (!TAILQ_EMPTY(&dp->ctls)) in mixer_close() 273 if (!TAILQ_EMPTY(&p->ctls)) { in mixer_remove_ctl()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | pf_snmp.c | 1156 while (!TAILQ_EMPTY(&pfi_table)) { in pfi_refresh() 1204 while (!TAILQ_EMPTY(&pfi_table)) { in pfi_refresh() 1224 while (!TAILQ_EMPTY(&pfq_table)) { in pfq_refresh() 1273 while (!TAILQ_EMPTY(&pfq_table)) { in pfq_refresh() 1311 while (!TAILQ_EMPTY(&pft_table)) { in pft_refresh() 1358 while (!TAILQ_EMPTY(&pft_table)) { in pft_refresh() 1445 while (!TAILQ_EMPTY(&pfa_table)) { in pfa_refresh() 1500 while (!TAILQ_EMPTY(&pfa_table)) { in pfa_refresh() 1613 while (!TAILQ_EMPTY(&pfl_table)) { in pfl_refresh() 1629 while (!TAILQ_EMPTY(&pfl_table)) { in pfl_refresh()
|
/freebsd/usr.sbin/bluetooth/btpand/ |
H A D | event.c | 110 while (!TAILQ_EMPTY(&pending)) { in __event_dispatch() 155 while (!TAILQ_EMPTY(¤t)) { in __event_dispatch()
|
/freebsd/sys/dev/virtio/balloon/ |
H A D | virtio_balloon.c | 396 KASSERT((TAILQ_EMPTY(&sc->vtballoon_pages) && in vtballoon_deflate() 398 (!TAILQ_EMPTY(&sc->vtballoon_pages) && in vtballoon_deflate() 439 while (!TAILQ_EMPTY(&sc->vtballoon_pages)) in vtballoon_pop()
|
/freebsd/sbin/pfctl/ |
H A D | pf_ruleset.c | 278 if (!TAILQ_EMPTY(ruleset->rules[i].active.ptr) || in pf_remove_if_empty_ruleset() 279 !TAILQ_EMPTY(ruleset->rules[i].inactive.ptr) || in pf_remove_if_empty_ruleset() 303 if (!TAILQ_EMPTY(&ruleset->rules)) in pf_remove_if_empty_eth_ruleset()
|