Home
last modified time | relevance | path

Searched refs:SIMPLEQ_FIRST (Results 1 – 25 of 133) sorted by relevance

123456

/netbsd-src/sys/arch/prep/pnpbus/
H A Dpnpbus.c501 irq = SIMPLEQ_FIRST(&r->irq); in pnpbus_intr_establish()
531 irq = SIMPLEQ_FIRST(&r->irq); in pnpbus_getirqnum()
550 dma = SIMPLEQ_FIRST(&r->dma); in pnpbus_getdmachan()
567 io = SIMPLEQ_FIRST(&r->io); in pnpbus_getioport()
587 io = SIMPLEQ_FIRST(&r->io); in pnpbus_io_map()
605 io = SIMPLEQ_FIRST(&r->io); in pnpbus_io_unmap()
620 mem = SIMPLEQ_FIRST(&r->iomem); in pnpbus_getiomem()
640 mem = SIMPLEQ_FIRST(&r->iomem); in pnpbus_iomem_map()
658 mem = SIMPLEQ_FIRST(&r->mem); in pnpbus_iomem_unmap()
/netbsd-src/sys/dev/dtv/
H A Ddtv_buffer.c73 db = SIMPLEQ_FIRST(&ds->ds_ingress); in dtv_buffer_write()
186 db = SIMPLEQ_FIRST(&ds->ds_egress); in dtv_stream_dequeue()
221 while (SIMPLEQ_FIRST(&ds->ds_ingress)) in dtv_buffer_destroy()
225 while (SIMPLEQ_FIRST(&ds->ds_egress)) in dtv_buffer_destroy()
258 db = SIMPLEQ_FIRST(&ds->ds_egress); in dtv_buffer_read()
/netbsd-src/sys/arch/mac68k/mac68k/
H A Diop.c316 msg = SIMPLEQ_FIRST(&iop->sendq[chan]); in iop_message_sent()
324 if (!(msg = SIMPLEQ_FIRST(&iop->sendq[chan]))) { in iop_message_sent()
340 msg = SIMPLEQ_FIRST(&iop->recvq[chan]); in receive_iop_message()
362 if ((msg = SIMPLEQ_FIRST(&iop->recvq[chan])) != NULL) { in receive_iop_message()
393 if (msg == SIMPLEQ_FIRST(&iop->sendq[chan])) { in iop_send_msg()
430 if (msg == SIMPLEQ_FIRST(&iop->recvq[chan])) { in iop_queue_receipt()
/netbsd-src/sys/arch/i386/pnpbios/
H A Dpnpbios.c696 mem = SIMPLEQ_FIRST(&r->mem); in pnpbios_printres()
707 io = SIMPLEQ_FIRST(&r->io); in pnpbios_printres()
719 irq = SIMPLEQ_FIRST(&r->irq); in pnpbios_printres()
728 dma = SIMPLEQ_FIRST(&r->dma); in pnpbios_printres()
1274 io = SIMPLEQ_FIRST(&resc->io); in pnpbios_io_map()
1292 io = SIMPLEQ_FIRST(&resc->io); in pnpbios_io_unmap()
1308 io = SIMPLEQ_FIRST(&resc->io); in pnpbios_getiobase()
1328 io = SIMPLEQ_FIRST(&resc->io); in pnpbios_getiosize()
1346 irq = SIMPLEQ_FIRST(&resc->irq); in pnpbios_intr_establish()
1365 irq = SIMPLEQ_FIRST(&resc->irq); in pnpbios_getirqnum()
[all …]
/netbsd-src/sys/arch/prep/pci/
H A Dpci_machdep.c140 pbi = SIMPLEQ_FIRST(&genppc_pct->pc_pbi); in prep_pci_bus_maxdevs()
172 pbi = SIMPLEQ_FIRST(&genppc_pct->pc_pbi); in prep_pci_intr_map()
194 pbi = SIMPLEQ_FIRST(&genppc_pct->pc_pbi); in prep_pci_intr_map()
/netbsd-src/sys/rump/dev/lib/libugenhc/
H A Dugenhc.c405 return rumpusb_device_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in rumpusb_device_ctrl_transfer()
536 return rumpusb_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in rumpusb_root_intr_transfer()
684 struct usbd_xfer *xfer = SIMPLEQ_FIRST(&pipe->up_queue); in doxfer_kth()
704 SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in rumpusb_device_bulk_transfer()
736 while ((xfer = SIMPLEQ_FIRST(&pipe->up_queue)) != NULL) in rumpusb_device_bulk_close()
/netbsd-src/sys/dev/acpi/
H A Dacpi_resource.c568 ar = SIMPLEQ_FIRST(&res->ar_io); in acpi_resource_cleanup()
575 ar = SIMPLEQ_FIRST(&res->ar_iorange); in acpi_resource_cleanup()
582 ar = SIMPLEQ_FIRST(&res->ar_mem); in acpi_resource_cleanup()
589 ar = SIMPLEQ_FIRST(&res->ar_memrange); in acpi_resource_cleanup()
596 ar = SIMPLEQ_FIRST(&res->ar_irq); in acpi_resource_cleanup()
603 ar = SIMPLEQ_FIRST(&res->ar_drq); in acpi_resource_cleanup()
/netbsd-src/usr.bin/sdiff/
H A Dsdiff.c854 divc = SIMPLEQ_FIRST(&diffhead)->div; in processq()
880 diffp = SIMPLEQ_FIRST(&diffhead); in processq()
959 del = SIMPLEQ_FIRST(&delqhead); in printc()
986 filep = SIMPLEQ_FIRST(&delqhead); in printc()
/netbsd-src/sys/dev/usb/
H A Ducom.c1226 ub = SIMPLEQ_FIRST(&sc->sc_obuff_free); in ucomstart()
1234 if (SIMPLEQ_FIRST(&sc->sc_obuff_free) == NULL) in ucomstart()
1318 if ((ub = SIMPLEQ_FIRST(&sc->sc_obuff_full)) != NULL) in ucom_write_status()
1347 ucom_write_status(sc, SIMPLEQ_FIRST(&sc->sc_obuff_full), status); in ucomwritecb()
1369 struct ucom_buffer *ub = SIMPLEQ_FIRST(&sc->sc_obuff_full); in ucom_softintr()
1391 ub = SIMPLEQ_FIRST(&sc->sc_ibuff_full); in ucom_read_complete()
1408 ub = SIMPLEQ_FIRST(&sc->sc_ibuff_full); in ucom_read_complete()
1456 ub = SIMPLEQ_FIRST(&sc->sc_ibuff_empty); in ucomreadcb()
/netbsd-src/sys/dev/gpio/
H A Dgpioirq.c324 chp = SIMPLEQ_FIRST(&sc->sc_read_queue); in gpioirq_read()
381 while ((q = SIMPLEQ_FIRST(&sc->sc_read_queue)) != NULL) { in gpioirq_close()
449 while ((q = SIMPLEQ_FIRST(&sc->sc_read_queue)) != NULL) { in gpioirq_detach()
/netbsd-src/sys/arch/xen/xenbus/
H A Dxenbus_xs.c125 msg = SIMPLEQ_FIRST(&xs_state.reply_list); in read_reply()
650 for (msg = SIMPLEQ_FIRST(&watch_events); msg != NULL; msg = next_msg) { in unregister_xenbus_watch()
659 while ((msg = SIMPLEQ_FIRST(&gclist)) != NULL) { in unregister_xenbus_watch()
702 while ((msg = SIMPLEQ_FIRST(&events_to_proces)) != NULL) { in xenwatch_thread()
/netbsd-src/sys/dev/qbus/
H A Duba.c121 while ((uu = SIMPLEQ_FIRST(&uh->uh_resq))) { in uba_done()
225 ur = SIMPLEQ_FIRST(&uh->uh_resetq); in ubareset()
/netbsd-src/libexec/httpd/
H A Dnetbsd_queue.h79 #define SIMPLEQ_FIRST(head) ((head)->sqh_first) macro
/netbsd-src/sys/arch/pmax/tc/
H A Ddt.c306 pend = SIMPLEQ_FIRST(&sc->sc_queue); in dt_intr()
329 msg = SIMPLEQ_FIRST(&sc->sc_queue); in dt_dispatch()
/netbsd-src/sys/arch/prep/prep/
H A Dibm_machdep.c52 pbi = SIMPLEQ_FIRST(&genppc_pct->pc_pbi); in pci_intr_fixup_ibm_6015()
/netbsd-src/sys/dev/pci/
H A Dubsec.c659 q = SIMPLEQ_FIRST(&sc->sc_qchip); in ubsec_intr()
666 q = SIMPLEQ_FIRST(&sc->sc_qchip); in ubsec_intr()
702 q2 = SIMPLEQ_FIRST(&sc->sc_qchip2); in ubsec_intr()
722 q2 = SIMPLEQ_FIRST(&sc->sc_qchip2); in ubsec_intr()
738 q2 = SIMPLEQ_FIRST(&sc->sc_qchip4); in ubsec_intr()
865 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed()
878 q2 = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed()
884 q2= SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed()
920 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed()
939 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed()
[all …]
/netbsd-src/libexec/ld.elf_so/
H A Dmap_object.c504 while ((entry = SIMPLEQ_FIRST(&obj->names)) != NULL) { in _rtld_obj_free()
508 while ((elm = SIMPLEQ_FIRST(&obj->dldags)) != NULL) { in _rtld_obj_free()
512 while ((elm = SIMPLEQ_FIRST(&obj->dagmembers)) != NULL) { in _rtld_obj_free()
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/compat/sys/
H A Dqueue.h233 #define SIMPLEQ_FIRST(head) ((head)->sqh_first) macro
235 #define SIMPLEQ_EMPTY(head) (SIMPLEQ_FIRST(head) == SIMPLEQ_END(head))
239 for((var) = SIMPLEQ_FIRST(head); \
/netbsd-src/sys/dev/spi/
H A Dspivar.h146 SIMPLEQ_FIRST(q)
/netbsd-src/sys/dev/ic/
H A Drtl81x9.c779 while ((txd = SIMPLEQ_FIRST(&sc->rtk_tx_dirty)) != NULL) in rtk_list_tx_init()
781 while ((txd = SIMPLEQ_FIRST(&sc->rtk_tx_free)) != NULL) in rtk_list_tx_init()
1106 while ((txd = SIMPLEQ_FIRST(&sc->rtk_tx_dirty)) != NULL) { in rtk_txeof()
1237 while ((txd = SIMPLEQ_FIRST(&sc->rtk_tx_free)) != NULL) { in rtk_start()
1496 while ((txd = SIMPLEQ_FIRST(&sc->rtk_tx_dirty)) != NULL) { in rtk_stop()
/netbsd-src/sys/arch/evbsh3/ap_ms104_sh4/
H A Dshpcmcia.c375 if ((pe = SIMPLEQ_FIRST(&h->events)) == NULL) { in shpcmcia_event_thread()
395 if ((pe1 = SIMPLEQ_FIRST(&h->events)) == NULL) in shpcmcia_event_thread()
420 if ((pe1 = SIMPLEQ_FIRST(&h->events)) == NULL) in shpcmcia_event_thread()
/netbsd-src/sys/dev/cardbus/
H A Dcardslot.c317 if ((ce = SIMPLEQ_FIRST(&sc->sc_events)) == NULL) { in cardslot_event_thread()
334 if ((ce1 = SIMPLEQ_FIRST(&sc->sc_events)) == NULL) { in cardslot_event_thread()
/netbsd-src/sys/arch/mips/adm5120/dev/
H A Dahci.c502 xfer = SIMPLEQ_FIRST(&sc->sc_free_xfers); in ahci_allocx()
736 return ahci_root_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_root_intr_transfer()
821 return ahci_device_ctrl_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_device_ctrl_transfer()
1002 return ahci_device_intr_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_device_intr_transfer()
1141 return ahci_device_bulk_start(SIMPLEQ_FIRST(&xfer->ux_pipe->up_queue)); in ahci_device_bulk_transfer()
/netbsd-src/sys/arch/mmeye/dev/
H A Dmmeyepcmcia.c383 if ((pe = SIMPLEQ_FIRST(&h->events)) == NULL) { in mmeyepcmcia_event_thread()
403 if ((pe1 = SIMPLEQ_FIRST(&h->events)) == NULL) in mmeyepcmcia_event_thread()
427 if ((pe1 = SIMPLEQ_FIRST(&h->events)) == NULL) in mmeyepcmcia_event_thread()
/netbsd-src/sys/dev/ata/
H A Dld_ataraid.c321 while ((cbp = SIMPLEQ_FIRST(&sc->sc_cbufq)) != NULL) { in ld_ataraid_start_vstrategy()
366 while ((cbp = SIMPLEQ_FIRST(&sc->sc_cbufq)) != NULL) { in ld_ataraid_start_span()
456 while ((cbp = SIMPLEQ_FIRST(&sc->sc_cbufq)) != NULL) { in ld_ataraid_start_raid0()

123456