Home
last modified time | relevance | path

Searched refs:dma_alloc (Results 1 – 25 of 34) sorted by relevance

12

/openbsd-src/sys/scsi/
H A Dcd.c855 data = dma_alloc(sizeof(*data), PR_WAITOK); in cdioctl()
871 th = dma_alloc(sizeof(*th), PR_WAITOK); in cdioctl()
896 toc = dma_alloc(sizeof(*toc), PR_WAITOK | PR_ZERO); in cdioctl()
948 toc = dma_alloc(sizeof(*toc), PR_WAITOK | PR_ZERO); in cdioctl()
1141 toc = dma_alloc(sizeof(*toc), PR_WAITOK | PR_ZERO); in cdgetdisklabel()
1169 data = dma_alloc(sizeof(*data), PR_NOWAIT); in cd_setchan()
1202 data = dma_alloc(sizeof(*data), PR_NOWAIT); in cd_getvol()
1230 data = dma_alloc(sizeof(*data), PR_NOWAIT); in cd_setvol()
1309 data = dma_alloc(sizeof(*data), PR_NOWAIT); in cd_set_pa_immed()
1379 toc = dma_alloc(sizeof(*toc), PR_WAITOK | PR_ZERO); in cd_play_tracks()
[all …]
H A Dmpath_hds.c156 sc->sc_vpd = dma_alloc(sizeof(*sc->sc_vpd), PR_WAITOK); in hds_attach()
272 buf = dma_alloc(len, PR_WAITOK); in hds_inquiry()
305 buf = dma_alloc(len, PR_WAITOK); in hds_info()
H A Dmpath_rdac.c216 sc->sc_pg = dma_alloc(sizeof(*sc->sc_pg), PR_WAITOK); in rdac_attach()
336 pg = dma_alloc(sizeof(*pg), PR_WAITOK | PR_ZERO); in rdac_groupid()
365 pg = dma_alloc(sizeof(*pg), PR_WAITOK | PR_ZERO); in rdac_extdevid()
H A Dscsiconf.c571 inqbuf = dma_alloc(sizeof(*inqbuf), PR_NOWAIT | PR_ZERO); in scsi_probe_link()
573 SC_DEBUG(link, SDEV_DB2, ("dma_alloc(inqbuf) failed.\n")); in scsi_probe_link()
695 (usbinqbuf = dma_alloc(sizeof(*usbinqbuf), M_NOWAIT)) != NULL) { in scsi_probe_link()
892 report = dma_alloc(sizeof(*report), PR_WAITOK); in scsi_get_target_luns()
1146 pg = dma_alloc(sizeof(*pg), PR_WAITOK | PR_ZERO); in scsi_devid()
1187 hdr = dma_alloc(sizeof(*hdr), PR_WAITOK | PR_ZERO); in scsi_devid_pg83()
1195 pg = dma_alloc(len, PR_WAITOK | PR_ZERO); in scsi_devid_pg83()
1280 hdr = dma_alloc(sizeof(*hdr), PR_WAITOK | PR_ZERO); in scsi_devid_pg80()
1294 pg = dma_alloc(pglen, PR_WAITOK | PR_ZERO); in scsi_devid_pg80()
H A Dsd.c986 vpd = dma_alloc(sizeof(*vpd), PR_WAITOK | PR_ZERO); in sd_ioctl_inquiry()
1033 buf = dma_alloc(sizeof(*buf), PR_WAITOK); in sd_ioctl_cache()
1392 rdcap = dma_alloc(sizeof(*rdcap), (ISSET(flags, SCSI_NOSLEEP) ? in sd_read_cap_10()
1424 rdcap = dma_alloc(sizeof(*rdcap), (ISSET(flags, SCSI_NOSLEEP) ? in sd_read_cap_16()
1488 pg = dma_alloc(sizeof(*pg), (ISSET(flags, SCSI_NOSLEEP) ? in sd_thin_pages()
1505 pg = dma_alloc(sizeof(*pg) + len, (ISSET(flags, SCSI_NOSLEEP) ? in sd_thin_pages()
1548 pg = dma_alloc(sizeof(*pg), (ISSET(flags, SCSI_NOSLEEP) ? in sd_vpd_block_limits()
1579 pg = dma_alloc(sizeof(*pg), (ISSET(flags, SCSI_NOSLEEP) ? in sd_vpd_thin()
1661 buf = dma_alloc(sizeof(*buf), PR_NOWAIT); in sd_get_parms()
H A Dscsi_ioctl.c117 xs->data = dma_alloc(screq->datalen, PR_WAITOK | PR_ZERO); in scsi_ioc_cmd()
235 xs->data = dma_alloc(atareq->datalen, PR_WAITOK | PR_ZERO); in scsi_ioc_ata_cmd()
H A Dsafte.c235 config = dma_alloc(sizeof(*config), PR_NOWAIT); in safte_read_config()
280 sc->sc_encbuf = dma_alloc(sc->sc_encbuflen, PR_NOWAIT); in safte_read_config()
565 op = dma_alloc(sizeof(*op), PR_WAITOK | PR_ZERO); in safte_bio_blink()
H A Dch.c605 data = dma_alloc(size, PR_WAITOK); in ch_usergetelemstatus()
624 data = dma_alloc(size, PR_WAITOK); in ch_usergetelemstatus()
712 data = dma_alloc(sizeof(*data), PR_NOWAIT); in ch_get_params()
H A Dmpath_emc.c154 sc->sc_pg = dma_alloc(sizeof(*sc->sc_pg), PR_WAITOK); in emc_attach()
H A Dst.c1311 block_limits = dma_alloc(sizeof(*block_limits), PR_NOWAIT); in st_read_block_limits()
1366 data = dma_alloc(sizeof(*data), PR_NOWAIT); in st_mode_sense()
1425 inbuf = dma_alloc(sizeof(*inbuf), PR_NOWAIT); in st_mode_select()
1430 outbuf = dma_alloc(sizeof(*outbuf), PR_NOWAIT | PR_ZERO); in st_mode_select()
2067 buf = dma_alloc(maxblksize, PR_NOWAIT); in st_touch_tape()
H A Dses.c269 buf = dma_alloc(SES_BUFLEN, PR_NOWAIT | PR_ZERO); in ses_read_config()
347 sc->sc_buf = dma_alloc(sc->sc_buflen, PR_NOWAIT); in ses_read_config()
/openbsd-src/sys/kern/
H A Ddma_alloc.c63 dma_alloc(size_t size, int prflags) in dma_alloc() function
/openbsd-src/share/man/man9/
H A DMakefile15 delay.9 disk.9 disklabel.9 dma_alloc.9 dohooks.9 \
/openbsd-src/sys/sys/
H A Dpool.h291 void *dma_alloc(size_t size, int flags);
/openbsd-src/sys/dev/ata/
H A Data.c80 tb = dma_alloc(ATAPARAMS_SIZE, PR_NOWAIT | PR_ZERO); in ata_get_params()
H A Datascsi.c312 identify = dma_alloc(sizeof(*identify), PR_WAITOK | PR_ZERO); in atascsi_probe()
1101 trims = dma_alloc(512, PR_WAITOK | PR_ZERO); in atascsi_disk_unmap_task()
/openbsd-src/sys/dev/pv/
H A Dviornd.c112 sc->sc_buf = dma_alloc(VIORND_BUFSIZE, PR_NOWAIT|PR_ZERO); in viornd_attach()
H A Dviomb.c182 if ((sc->sc_req.bl_pages = dma_alloc(sizeof(u_int32_t) * PGS_PER_REQ, in viomb_attach()
/openbsd-src/sys/dev/ic/
H A Dami.c1696 rcd = dma_alloc(sizeof(*rcd), PR_WAITOK); in ami_drv_readcap()
1707 rcd16 = dma_alloc(sizeof(*rcd16), PR_WAITOK); in ami_drv_readcap()
1844 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK); in ami_ioctl_inq()
1984 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK); in ami_disk()
1985 vpdbuf = dma_alloc(sizeof(*vpdbuf), PR_WAITOK); in ami_disk()
2179 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK); in ami_ioctl_disk()
2180 vpdbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK); in ami_ioctl_disk()
2330 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK); in ami_ioctl_setstate()
H A Dathnvar.h390 int (*dma_alloc)(struct athn_softc *); member
H A Dwdc.c2055 wdc_c.data = dma_alloc(atareq->datalen, PR_NOWAIT | PR_ZERO); in wdc_ioc_ata_cmd()
/openbsd-src/sys/arch/armv7/omap/
H A Dif_cpsw.c427 sc->sc_txpad = dma_alloc(ETHER_MIN_LEN, PR_WAITOK | PR_ZERO); in cpsw_attach()
/openbsd-src/sys/dev/
H A Dsoftraid_crypto.c982 crwu->cr_dmabuf = dma_alloc(MAXPHYS, PR_WAITOK); in sr_crypto_alloc_resources_internal()
H A Dsoftraid.c414 dma_buf = dma_alloc(dma_bufsize, PR_WAITOK); in sr_rw()
4421 return dma_alloc(length, PR_NOWAIT | PR_ZERO); in sr_block_get()
4699 /* currently this is 64k therefore we can use dma_alloc */ in sr_rebuild()
4700 buf = dma_alloc(SR_REBUILD_IO_SIZE << DEV_BSHIFT, PR_WAITOK); in sr_rebuild()
/openbsd-src/sys/dev/sdmmc/
H A Dif_bwfm_sdio.c267 sc->sc_bounce_buf = dma_alloc(sc->sc_bounce_size, PR_WAITOK); in bwfm_sdio_attach()

12