Home
last modified time | relevance | path

Searched refs:SIMPLEQ_EMPTY (Results 1 – 25 of 65) sorted by relevance

123

/netbsd-src/sys/dev/acpi/
H A Dacpi_resource.c488 if (SIMPLEQ_EMPTY(&res->ar_io) && in acpi_resource_print()
489 SIMPLEQ_EMPTY(&res->ar_iorange) && in acpi_resource_print()
490 SIMPLEQ_EMPTY(&res->ar_mem) && in acpi_resource_print()
491 SIMPLEQ_EMPTY(&res->ar_memrange) && in acpi_resource_print()
492 SIMPLEQ_EMPTY(&res->ar_irq) && in acpi_resource_print()
493 SIMPLEQ_EMPTY(&res->ar_drq)) in acpi_resource_print()
498 if (SIMPLEQ_EMPTY(&res->ar_io) == 0) { in acpi_resource_print()
514 if (SIMPLEQ_EMPTY(&res->ar_mem) == 0) { in acpi_resource_print()
532 if (SIMPLEQ_EMPTY(&res->ar_irq) == 0) { in acpi_resource_print()
543 if (SIMPLEQ_EMPTY( in acpi_resource_print()
[all...]
/netbsd-src/sys/dev/dtv/
H A Ddtv_buffer.c66 if (SIMPLEQ_EMPTY(&ds->ds_ingress)) { in dtv_buffer_write()
185 if (!SIMPLEQ_EMPTY(&ds->ds_egress)) { in dtv_stream_dequeue()
245 while (SIMPLEQ_EMPTY(&ds->ds_egress)) { in dtv_buffer_read()
309 if (!SIMPLEQ_EMPTY(&ds->ds_egress)) { in dtv_buffer_poll()
/netbsd-src/sys/dev/pcmcia/
H A Dpcmcia.c181 SIMPLEQ_EMPTY(&sc->card.pf_head)) { in pcmcia_card_attach()
193 if (SIMPLEQ_EMPTY(&pf->cfe_head)) in pcmcia_card_attach()
225 SIMPLEQ_EMPTY(&sc->card.pf_head)) { in pcmcia_rescan()
231 if (SIMPLEQ_EMPTY(&pf->cfe_head)) in pcmcia_rescan()
270 if (SIMPLEQ_EMPTY(&pf->cfe_head)) in pcmcia_card_detach()
299 if (SIMPLEQ_EMPTY(&pf->cfe_head)) in pcmcia_childdetached()
325 if (SIMPLEQ_EMPTY(&pf->cfe_head)) in pcmcia_card_deactivate()
H A Dpcmciavar.h279 #define pcmcia_mfc(sc) (! SIMPLEQ_EMPTY(&(sc)->card.pf_head) && \
/netbsd-src/sys/arch/prep/pnpbus/
H A Dpnpbus.c421 if (!SIMPLEQ_EMPTY(&r->mem)) { in pnpbus_printres()
431 if (!SIMPLEQ_EMPTY(&r->io)) { in pnpbus_printres()
442 if (!SIMPLEQ_EMPTY(&r->iomem)) { in pnpbus_printres()
454 if (!SIMPLEQ_EMPTY(&r->irq)) { in pnpbus_printres()
462 if (!SIMPLEQ_EMPTY(&r->dma)) { in pnpbus_printres()
/netbsd-src/sys/dev/ic/
H A Dicpvar.h186 (! SIMPLEQ_EMPTY(&(icp)->icp_ccb_queue) || \
187 ! SIMPLEQ_EMPTY(&(icp)->icp_ucmd_queue))
/netbsd-src/usr.bin/sdiff/
H A Dsdiff.c850 if (SIMPLEQ_EMPTY(&diffhead)) in processq()
879 while (!SIMPLEQ_EMPTY(&diffhead)) { in processq()
950 for (; !SIMPLEQ_EMPTY(&delqhead) && file2ln <= file2end; in printc()
983 while (!SIMPLEQ_EMPTY(&delqhead)) { in printc()
/netbsd-src/sys/external/bsd/drm2/i915drm/
H A Di915_pci_autoconf.c212 while (!SIMPLEQ_EMPTY(&sc->sc_tasks)) { in i915drmkms_attach_real()
236 KASSERT(SIMPLEQ_EMPTY(&sc->sc_tasks)); in i915drmkms_detach()
/netbsd-src/sys/external/bsd/drm2/amdgpu/
H A Damdgpu_pci.c214 while (!SIMPLEQ_EMPTY(&sc->sc_tasks)) { in amdgpu_attach_real()
237 KASSERT(SIMPLEQ_EMPTY(&sc->sc_tasks)); in amdgpu_detach()
/netbsd-src/sys/kern/
H A Dsubr_workqueue.c179 while (SIMPLEQ_EMPTY(&q->q_queue_pending)) in workqueue_worker()
267 KASSERT(SIMPLEQ_EMPTY(&q->q_queue_pending)); in workqueue_exit()
283 KASSERT(SIMPLEQ_EMPTY(&q->q_queue_pending)); in workqueue_finiqueue()
/netbsd-src/sys/external/bsd/drm2/vmwgfx/
H A Dvmwgfx_pci.c245 while (!SIMPLEQ_EMPTY(&sc->sc_tasks)) { in vmwgfx_attach_real()
268 KASSERT(SIMPLEQ_EMPTY(&sc->sc_tasks)); in vmwgfx_detach()
/netbsd-src/sys/external/bsd/drm2/radeon/
H A Dradeon_pci.c319 while (!SIMPLEQ_EMPTY(&sc->sc_tasks)) { in radeon_attach_real()
342 KASSERT(SIMPLEQ_EMPTY(&sc->sc_tasks)); in radeon_detach()
/netbsd-src/sys/external/bsd/common/linux/
H A Dlinux_tasklet.c134 KASSERT(SIMPLEQ_EMPTY(&tc->tc_head)); in tasklet_cpu_fini()
220 while (!SIMPLEQ_EMPTY(&th)) { in tasklet_softintr()
/netbsd-src/external/cddl/osnet/sys/kern/
H A Dtaskq.c85 if (SIMPLEQ_EMPTY(&tq->tq_list)) { in task_executor()
92 if (SIMPLEQ_EMPTY(&tq->tq_list)) { in task_executor()
/netbsd-src/usr.sbin/mlxctl/
H A Ddklist.c103 return (SIMPLEQ_EMPTY(&mlx_disks)); in mlx_disk_empty()
/netbsd-src/sys/external/bsd/drm2/linux/
H A Dlinux_irq_work.c93 KASSERT(SIMPLEQ_EMPTY(&iwc->iwc_todo)); in irq_work_cpu_fini()
/netbsd-src/sys/sys/
H A Dqueue.h316 #define SIMPLEQ_EMPTY(head) ((head)->sqh_first == SIMPLEQ_END(head)) macro
381 if (!SIMPLEQ_EMPTY((head2))) { \
389 (SIMPLEQ_EMPTY((head)) ? \
/netbsd-src/sys/arch/arm/gemini/
H A Dgemini_lpchc.c88 return SIMPLEQ_EMPTY(&sc->sc_intrq); in gemini_lpchc_intrq_empty()
H A Dgemini_ipi.c98 return SIMPLEQ_EMPTY(&sc->sc_intrq); in gemini_ipi_intrq_empty()
/netbsd-src/sys/dev/hyperv/
H A Dvmbus.c2178 while (!SIMPLEQ_EMPTY(&sc->sc_chevq)) { in vmbus_process_chevq()
2214 if (SIMPLEQ_EMPTY(&sc->sc_chevq)) { in vmbus_chevq_thread()
2263 while (!SIMPLEQ_EMPTY(&sc->sc_devq)) { in vmbus_process_devq()
2309 if (SIMPLEQ_EMPTY(&sc->sc_devq)) { in vmbus_devq_thread()
2330 if (SIMPLEQ_EMPTY(&sc->sc_subch_devq)) { in vmbus_subchannel_devq_thread()
2335 while (!SIMPLEQ_EMPTY(&sc->sc_subch_devq)) { in vmbus_subchannel_devq_thread()
/netbsd-src/sys/dev/pci/
H A Dubsec.c658 while (!SIMPLEQ_EMPTY(&sc->sc_qchip)) { in ubsec_intr()
701 while (!SIMPLEQ_EMPTY(&sc->sc_qchip2)) { in ubsec_intr()
737 while (!SIMPLEQ_EMPTY(&sc->sc_qchip4)) { in ubsec_intr()
908 while (!SIMPLEQ_EMPTY(&sc->sc_queue)) { in ubsec_feed()
1157 if (SIMPLEQ_EMPTY(&sc->sc_freequeue)) { in ubsec_process()
1870 while (!SIMPLEQ_EMPTY(&sc->sc_queue2)) { in ubsec_feed2()
1898 while (!SIMPLEQ_EMPTY(&sc->sc_queue4)) { in ubsec_feed4()
2263 while (!SIMPLEQ_EMPTY(&sc->sc_qchip)) { in ubsec_cleanchip()
2384 while (!SIMPLEQ_EMPTY(&sc->sc_q2free)) { in ubsec_kprocess()
/netbsd-src/sys/arch/arm/nvidia/
H A Dtegra_drm.c244 while (!SIMPLEQ_EMPTY(&sc->sc_tasks)) { in tegra_drm_attach()
/netbsd-src/sys/dev/
H A Dvideo.c1829 if (SIMPLEQ_EMPTY(&vs->vs_egress)) { in videoread()
1836 while (SIMPLEQ_EMPTY(&vs->vs_egress)) { in videoread()
2355 if (!SIMPLEQ_EMPTY(&sc->sc_stream_in.vs_egress)) in videopoll()
2617 if (!SIMPLEQ_EMPTY(&vs->vs_egress)) { in video_stream_dequeue()
2655 if (vs->vs_drop || SIMPLEQ_EMPTY(&vs->vs_ingress)) { in video_stream_write()
2702 } else if (!SIMPLEQ_EMPTY(&vs->vs_ingress)) { in video_stream_sample_done()
/netbsd-src/sys/arch/xen/xenbus/
H A Dxenbus_xs.c122 while (SIMPLEQ_EMPTY(&xs_state.reply_list)) { in read_reply()
695 while (SIMPLEQ_EMPTY(&watch_events)) in xenwatch_thread()
/netbsd-src/sys/net/lagg/
H A Dif_laggproto.h215 #define LAGG_PORTS_EMPTY(_sc) SIMPLEQ_EMPTY(&(_sc)->sc_ports)

123