bus_dmamem_alloc
if (bus_dmamem_alloc(dmat, &v_addr, flag, dmamap)) {
err = bus_dmamem_alloc(dma->dma_tag, &dma->v_addr,
if (bus_dmamem_alloc(
if (bus_dmamem_alloc(overrun_dmat,
if (bus_dmamem_alloc(adv->sense_dmat, (void *)&adv->sense_buffers,
if (bus_dmamem_alloc(adw->carrier_dmat, (void *)&adw->carriers,
if (bus_dmamem_alloc(adw->acb_dmat, (void *)&adw->acbs,
if (bus_dmamem_alloc(adw->sg_dmat, (void *)&sg_map->sg_vaddr,
error = bus_dmamem_alloc(tag, (void **)&adm->adm_kva,
if (bus_dmamem_alloc(bt->mailbox_dmat, (void **)&bt->out_boxes,
if (bus_dmamem_alloc(bt->ccb_dmat, (void **)&bt->bt_ccb_array,
if (bus_dmamem_alloc(bt->sg_dmat, (void **)&sg_map->sg_vaddr,
if (bus_dmamem_alloc(isp->isp_osinfo.cdmat, (void **)&base, BUS_DMA_NOWAIT | BUS_DMA_COHERENT, &isp->isp_osinfo.cdmap) != 0) {
if (bus_dmamem_alloc(fc->tdmat, (void **)&base, BUS_DMA_NOWAIT | BUS_DMA_COHERENT, &fc->tdmap) != 0) {
if (bus_dmamem_alloc(mpt->request_dmat, (void **)&mpt->request,
error = bus_dmamem_alloc(mpt->fw_dmat,
if (bus_dmamem_alloc(mpt->reply_dmat, (void **)&mpt->reply,
error = bus_dmamem_alloc(page_mem->tag, &page_mem->vaddr,
if (bus_dmamem_alloc(ch->dma->sg_tag, (void **)&ch->dma->sg, 0,
if (bus_dmamem_alloc(ch->dma->work_tag, (void *)&ch->dma->work, 0,
error = bus_dmamem_alloc(sc->sque_tag, (void **)&queue->ksubq,
error = bus_dmamem_alloc(sc->prps_tag, (void **)&queue->kprps,
error = bus_dmamem_alloc(sc->adm_tag,
error = bus_dmamem_alloc(sc->cque_tag, (void **)&queue->kcomq,
error = bus_dmamem_alloc(tag, (void **)&adm->adm_kva,
if (bus_dmamem_alloc(mp->dmat, &vaddr,
if (bus_dmamem_alloc(pACB->sg_dmat, (void **)&pSRB->pSRBSGL,
if (bus_dmamem_alloc(pACB->srb_dmat, (void **)&pACB->pFreeSRB,
if (bus_dmamem_alloc(pACB->sense_dmat, (void **)&pACB->sense_buffers,
ret = bus_dmamem_alloc(dmah->tag, (void **)&dmah->vaddr,
error = bus_dmamem_alloc(sc->age_cdata.age_tx_ring_tag,
error = bus_dmamem_alloc(sc->age_cdata.age_rx_ring_tag,
error = bus_dmamem_alloc(sc->age_cdata.age_rr_ring_tag,
error = bus_dmamem_alloc(sc->age_cdata.age_cmb_block_tag,
error = bus_dmamem_alloc(sc->age_cdata.age_smb_block_tag,
error = bus_dmamem_alloc(sc->alc_cdata.alc_tx_ring_tag,
error = bus_dmamem_alloc(sc->alc_cdata.alc_rx_ring_tag,
error = bus_dmamem_alloc(sc->alc_cdata.alc_rr_ring_tag,
error = bus_dmamem_alloc(sc->alc_cdata.alc_cmb_tag,
error = bus_dmamem_alloc(sc->alc_cdata.alc_smb_tag,
error = bus_dmamem_alloc(sc->ale_cdata.ale_tx_ring_tag,
error = bus_dmamem_alloc(sc->ale_cdata.ale_rx_page[i].page_tag,
error = bus_dmamem_alloc(sc->ale_cdata.ale_tx_cmb_tag,
error = bus_dmamem_alloc(sc->ale_cdata.ale_rx_page[i].cmb_tag,
error = bus_dmamem_alloc(dd->dd_dmat, (void**) &dd->dd_desc,
rc = bus_dmamem_alloc(txr->tx_bd_chain_tag,
rc = bus_dmamem_alloc(rxr->rx_bd_chain_tag,
rc = bus_dmamem_alloc(sc->ctx_tag,
error = bus_dmamem_alloc(dr->dr_ring_dtag,
error = bus_dmamem_alloc(ri->ri_ring_tag, (void **)&ri->ri_descs,
error = bus_dmamem_alloc(sc->tulip_setup_tag, (void **)&sc->tulip_setupbuf,
if (bus_dmamem_alloc(sc->fw_dmat, &sc->fw_virtaddr, 0,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->desc,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->desc,
error = bus_dmamem_alloc(dma->tag, (void **)&dma->vaddr,
error = bus_dmamem_alloc(dma->tag, (void **)&dma->vaddr,
error = bus_dmamem_alloc(lesc->sc_dmat, (void **)&sc->sc_mem,
error = bus_dmamem_alloc(sc_if->msk_cdata.msk_jumbo_rx_ring_tag,
error = bus_dmamem_alloc(sc_if->msk_cdata.msk_jumbo_tag,
rc = bus_dmamem_alloc(ring->dma.tag,
rc = bus_dmamem_alloc(dma->tag,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->desc,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->desc,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->desc,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->desc,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->txd,
error = bus_dmamem_alloc(sc->txwi_dmat, (void **)&sc->txwi_vaddr,
error = bus_dmamem_alloc(ring->desc_dmat, (void **)&ring->rxd,
error = bus_dmamem_alloc(sc->re_desc.rx_desc_tag,
error = bus_dmamem_alloc(sc->re_desc.tx_desc_tag,
error = bus_dmamem_alloc(sc->vge_ldata.vge_tx_list_tag,
error = bus_dmamem_alloc(sc->vge_ldata.vge_rx_list_tag,
error = bus_dmamem_alloc(dma->tag, (void **)&dma->vaddr,
if (bus_dmamem_alloc(sc->aac_fib_dmat, (void **)&fm->aac_fibs,
if (bus_dmamem_alloc(sc->aac_common_dmat, (void **)&sc->aac_common,
error = bus_dmamem_alloc(sc->amr_sg_dmat, &p, BUS_DMA_NOWAIT,
error = bus_dmamem_alloc(sc->amr_mailbox_dmat, &p, BUS_DMA_NOWAIT,
error = bus_dmamem_alloc(sc->amr_ccb_dmat, (void **)&sc->amr_ccb,
if(bus_dmamem_alloc(acb->srb_dmat, (void **)&acb->uncacheptr, BUS_DMA_WAITOK | BUS_DMA_COHERENT | BUS_DMA_ZERO, &acb->srb_dmamap) != 0) {
if (bus_dmamem_alloc(sc->ha_statusmem_dmat, (void **)&sc->ha_statusmem,
if (bus_dmamem_alloc(sc->ciss_command_dmat, (void **)&sc->ciss_command,
if (bus_dmamem_alloc(sc->ciss_reply_dmat, (void **)&sc->ciss_reply,
if (bus_dmamem_alloc(dpt->dccb_dmat, (void *)&dpt->dpt_dccbs,
if (bus_dmamem_alloc(dpt->sg_dmat, (void *)&sg_map->sg_vaddr,
if (bus_dmamem_alloc(hba->ctlcfg_dmat, (void **)&hba->ctlcfg_ptr,
if (bus_dmamem_alloc(hba->ctlcfg_dmat, (void **)&hba->ctlcfg_ptr,
if (bus_dmamem_alloc(hba->srb_dmat, (void **)&hba->uncached_ptr,
error = bus_dmamem_alloc(ida->hwqcb_dmat,
if (bus_dmamem_alloc(gdt->sc_gcscratch_dmat, (void *)&gdt->sc_gcscratch,
if (bus_dmamem_alloc(sc->command_dmatag,
if (bus_dmamem_alloc(dmatag, (void *)&(sc->copper_queue),
if (bus_dmamem_alloc(command->data_dmatag, &command->data_buffer,
if (bus_dmamem_alloc(command->data_dmatag, &command->data_buffer,
if (bus_dmamem_alloc(command->data_dmatag, &command->data_buffer,
if (bus_dmamem_alloc(ioctl_cmd->dmatag, &ioctl_cmd->data_buffer,
if (bus_dmamem_alloc(sc->mfi_kbuff_arr_dmat[i],
if (bus_dmamem_alloc(sc->verbuf_h_dmat, (void **)&sc->verbuf,
if (bus_dmamem_alloc(sc->mfi_tb_dmat, (void **)&sc->request_message_pool,
if (bus_dmamem_alloc(sc->mfi_tb_init_dmat, (void **)&sc->mfi_tb_init,
if (bus_dmamem_alloc(sc->mfi_tb_ioc_init_dmat,
if (bus_dmamem_alloc(sc->mfi_comms_dmat, (void **)&sc->mfi_comms,
if (bus_dmamem_alloc(sc->mfi_frames_dmat, (void **)&sc->mfi_frames,
if (bus_dmamem_alloc(sc->mfi_sense_dmat, (void **)&sc->mfi_sense,
error = bus_dmamem_alloc(sc->mlx_sg_dmat, (void *)&sc->mlx_sgtable, BUS_DMA_NOWAIT, &sc->mlx_sg_dmamap);
if (bus_dmamem_alloc(sc->mly_packet_dmat, (void **)&sc->mly_packet,
if (bus_dmamem_alloc(sc->mly_sg_dmat, (void **)&sc->mly_sg_table,
if (bus_dmamem_alloc(sc->mly_mmbox_dmat, (void **)&sc->mly_mmbox, BUS_DMA_NOWAIT, &sc->mly_mmbox_dmamap)) {
if (bus_dmamem_alloc(sc->queues_dmat, (void **)&queues, BUS_DMA_NOWAIT,
if (bus_dmamem_alloc(sc->reply_dmat, (void **)&sc->reply_frames,
if (bus_dmamem_alloc(sc->req_dmat, (void **)&sc->req_frames,
if (bus_dmamem_alloc(sc->chain_dmat, (void **)&sc->chain_frames,
if (bus_dmamem_alloc(sc->sense_dmat, (void **)&sc->sense_frames,
if (bus_dmamem_alloc(sc->prp_page_dmat, (void **)&sc->prp_pages,
if (bus_dmamem_alloc(sc->fw_diag_dmat, (void **)&sc->fw_diag_buffer,
if (bus_dmamem_alloc(sc->queues_dmat, (void **)&queues, BUS_DMA_NOWAIT,
if (bus_dmamem_alloc(sc->reply_dmat, (void **)&sc->reply_frames,
if (bus_dmamem_alloc(sc->req_dmat, (void **)&sc->req_frames,
if (bus_dmamem_alloc(sc->chain_dmat, (void **)&sc->chain_frames,
if (bus_dmamem_alloc(sc->sense_dmat, (void **)&sc->sense_frames,
if (bus_dmamem_alloc(sc->fw_diag_dmat, (void **)&sc->fw_diag_buffer,
if (bus_dmamem_alloc(sc->verbuf_tag, (void **)&sc->verbuf_mem,
if (bus_dmamem_alloc(sc->io_request_tag, (void **)&sc->io_request_mem,
if (bus_dmamem_alloc(sc->chain_frame_tag, (void **)&sc->chain_frame_mem,
if (bus_dmamem_alloc(sc->reply_desc_tag, (void **)&sc->reply_desc_mem,
if (bus_dmamem_alloc(sc->sense_tag, (void **)&sc->sense_mem,
if (bus_dmamem_alloc(sc->evt_detail_tag, (void **)&sc->evt_detail_mem,
if (bus_dmamem_alloc(sc->raidmap_tag[i], (void **)&sc->raidmap_mem[i],
if (bus_dmamem_alloc(sc->ioc_init_tag, (void **)&sc->ioc_init_mem,
if (bus_dmamem_alloc(sc->ctlr_info_tag, (void **)&sc->ctlr_info_mem,
if (bus_dmamem_alloc(tcmd->tmp_dcmd_tag, (void **)&tcmd->tmp_dcmd_mem,
if (bus_dmamem_alloc(sc->el_info_tag, (void **)&sc->el_info_mem,
if (bus_dmamem_alloc(ioctl_data_tag[i], (void **)&ioctl_data_mem[i],
if (bus_dmamem_alloc(ioctl_sense_tag, (void **)&ioctl_sense_mem,
if (bus_dmamem_alloc(sc->mficmd_frame_tag, (void **)&cmd->frame_mem,
if (bus_dmamem_alloc(sc->cmd_tag, &sc->dma_mem,
if (bus_dmamem_alloc(sc->cmd_tag, &sc->dma_mem,
if (bus_dmamem_alloc(sc->twe_cmd_dmat, (void **)&sc->twe_cmd,
if (bus_dmamem_alloc(sc->twe_immediate_dmat, (void **)&sc->twe_immediate,
if (bus_dmamem_alloc(sc->cmd_tag, &sc->dma_mem,
if (bus_dmamem_alloc(sc->sgd_dmat, (void **)&sc->sgd_table,
if (bus_dmamem_alloc(sc->parent_dmat, &buf, BUS_DMA_NOWAIT, map))
if ((error = bus_dmamem_alloc(mem->dmat, &dmabuf, BUS_DMA_NOWAIT, map))) {
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->pbuf, BUS_DMA_NOWAIT, &sc->pmap))
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->rbuf, BUS_DMA_NOWAIT, &sc->rmap))
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->pbuf, BUS_DMA_NOWAIT, &sc->pmap))
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->rbuf, BUS_DMA_NOWAIT, &sc->rmap))
result = bus_dmamem_alloc(dma->dma_tag, (void **)&dma->dma_vaddr,
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->pbuf,
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->rbuf,
if (bus_dmamem_alloc(sc->dmat, (void **)&sc->dtbl, BUS_DMA_NOWAIT |
if (bus_dmamem_alloc(dmat, &buf, BUS_DMA_NOWAIT, map))
if (bus_dmamem_alloc(via->sgd_dmat, (void **)&via->sgd_table,
if (bus_dmamem_alloc(via->sgd_dmat, (void **)&via->sgd_table,
if (bus_dmamem_alloc(b->dmatag, (void **)&b->buf, b->dmaflags,
error = bus_dmamem_alloc(sc->enc_pool.dmat,
error = bus_dmamem_alloc(sc->enc_sg.dmat, (void **)&sc->enc_sg.vaddr,
error = bus_dmamem_alloc(dma->tag, (void**) &dma->vaddr,
error = bus_dmamem_alloc(dma->tag, &dma->vaddr,
error = bus_dmamem_alloc(dma->dma_tag, (void **)&dma->dma_vaddr,
error = bus_dmamem_alloc(dmem->dmem_tag, &dmem->dmem_addr,
int bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags,