dma_len 33 arch/arm/mach-rpc/dma.c unsigned int dma_len; dma_len 62 arch/arm/mach-rpc/dma.c end = offset + idma->dma_len; dma_len 72 arch/arm/mach-rpc/dma.c idma->dma_len -= end - offset; dma_len 75 arch/arm/mach-rpc/dma.c if (idma->dma_len == 0) { dma_len 79 arch/arm/mach-rpc/dma.c idma->dma_len = idma->dma.sg->length; dma_len 179 arch/arm/mach-rpc/dma.c idma->dma_len = idma->dma.sg->length; dma_len 1302 arch/ia64/hp/common/sba_iommu.c unsigned long dma_offset, dma_len; /* start/len of DMA stream */ dma_len 1314 arch/ia64/hp/common/sba_iommu.c dma_len = vcontig_len = vcontig_end = startsg->length; dma_len 1341 arch/ia64/hp/common/sba_iommu.c if (((dma_len + dma_offset + startsg->length + ~iovp_mask) & iovp_mask) dma_len 1345 arch/ia64/hp/common/sba_iommu.c if (dma_len + startsg->length > max_seg_size) dma_len 1358 arch/ia64/hp/common/sba_iommu.c dma_len += startsg->length; dma_len 1389 arch/ia64/hp/common/sba_iommu.c dma_len += vcontig_len; dma_len 1402 arch/ia64/hp/common/sba_iommu.c dma_len = (dma_len + dma_offset + ~iovp_mask) & iovp_mask; dma_len 1403 arch/ia64/hp/common/sba_iommu.c ASSERT(dma_len <= DMA_CHUNK_SIZE); dma_len 1404 arch/ia64/hp/common/sba_iommu.c idx = sba_alloc_range(ioc, dev, dma_len); dma_len 434 drivers/ata/pata_arasan_cf.c u32 xfer_cnt, sglen, dma_len, xfer_ctr; dma_len 474 drivers/ata/pata_arasan_cf.c dma_len = min(xfer_cnt, FIFO_SIZE); dma_len 475 drivers/ata/pata_arasan_cf.c ret = dma_xfer(acdev, src, dest, dma_len); dma_len 482 drivers/ata/pata_arasan_cf.c src += dma_len; dma_len 484 drivers/ata/pata_arasan_cf.c dest += dma_len; dma_len 486 drivers/ata/pata_arasan_cf.c sglen -= dma_len; dma_len 487 drivers/ata/pata_arasan_cf.c xfer_cnt -= dma_len; dma_len 1462 drivers/block/mtip32xx/mtip32xx.c unsigned int dma_len; dma_len 1469 drivers/block/mtip32xx/mtip32xx.c dma_len = sg_dma_len(sg); dma_len 1470 drivers/block/mtip32xx/mtip32xx.c if (dma_len > 0x400000) dma_len 1473 drivers/block/mtip32xx/mtip32xx.c command_sg->info = cpu_to_le32((dma_len-1) & 0x3FFFFF); dma_len 633 drivers/block/rsxx/dma.c unsigned int dma_len, dma_len 649 drivers/block/rsxx/dma.c dma->sub_page.cnt = (dma_len >> 9); dma_len 680 drivers/block/rsxx/dma.c unsigned int dma_len; dma_len 720 drivers/block/rsxx/dma.c dma_len = min(bv_len, dma_len 725 drivers/block/rsxx/dma.c dma_off, dma_len, dma_len 733 drivers/block/rsxx/dma.c addr8 += dma_len; dma_len 734 drivers/block/rsxx/dma.c bv_off += dma_len; dma_len 735 drivers/block/rsxx/dma.c bv_len -= dma_len; dma_len 1564 drivers/crypto/chelsio/chcr_algo.c req_ctx->hctx_wr.dma_len = param->bfr_len; dma_len 2009 drivers/crypto/chelsio/chcr_algo.c hctx_wr->dma_len, DMA_TO_DEVICE); dma_len 264 drivers/crypto/chelsio/chcr_crypto.h u32 dma_len; dma_len 335 drivers/crypto/talitos.c return ((struct talitos_desc *)(edesc->buf + edesc->dma_len))->hdr1; dma_len 495 drivers/crypto/talitos.c (edesc->buf + edesc->dma_len))->hdr; dma_len 1011 drivers/crypto/talitos.c if (edesc->dma_len) dma_len 1012 drivers/crypto/talitos.c dma_unmap_single(dev, edesc->dma_link_tbl, edesc->dma_len, dma_len 1062 drivers/crypto/talitos.c oicv = edesc->buf + edesc->dma_len; dma_len 1217 drivers/crypto/talitos.c dma_addr_t dma_icv = edesc->dma_link_tbl + edesc->dma_len - authsize; dma_len 1307 drivers/crypto/talitos.c edesc->dma_len, dma_len 1334 drivers/crypto/talitos.c int src_nents, dst_nents, alloc_len, dma_len, src_len, dst_len; dma_len 1382 drivers/crypto/talitos.c dma_len = (src_nents ? src_len : 0) + dma_len 1385 drivers/crypto/talitos.c dma_len = (src_nents + dst_nents + 2) * dma_len 1387 drivers/crypto/talitos.c alloc_len += dma_len; dma_len 1389 drivers/crypto/talitos.c dma_len = 0; dma_len 1410 drivers/crypto/talitos.c edesc->dma_len = dma_len; dma_len 1411 drivers/crypto/talitos.c if (dma_len) dma_len 1413 drivers/crypto/talitos.c edesc->dma_len, dma_len 1485 drivers/crypto/talitos.c icvdata = edesc->buf + edesc->dma_len; dma_len 1545 drivers/crypto/talitos.c if (edesc->dma_len) dma_len 1546 drivers/crypto/talitos.c dma_unmap_single(dev, edesc->dma_link_tbl, edesc->dma_len, dma_len 1631 drivers/crypto/talitos.c edesc->dma_len, DMA_BIDIRECTIONAL); dma_len 1711 drivers/crypto/talitos.c (edesc->buf + edesc->dma_len); dma_len 1733 drivers/crypto/talitos.c if (edesc->dma_len) dma_len 1734 drivers/crypto/talitos.c dma_unmap_single(dev, edesc->dma_link_tbl, edesc->dma_len, dma_len 1862 drivers/crypto/talitos.c (edesc->buf + edesc->dma_len); dma_len 1900 drivers/crypto/talitos.c edesc->dma_len, DMA_BIDIRECTIONAL); dma_len 64 drivers/crypto/talitos.h int dma_len; dma_len 181 drivers/i2c/busses/i2c-imx.c unsigned int dma_len; dma_len 354 drivers/i2c/busses/i2c-imx.c dma->dma_len, dma->dma_data_dir); dma_len 367 drivers/i2c/busses/i2c-imx.c dma->dma_len, dma->dma_data_dir); dma_len 374 drivers/i2c/busses/i2c-imx.c dma->dma_len, dma->dma_transfer_dir, dma_len 396 drivers/i2c/busses/i2c-imx.c dma->dma_len, dma->dma_data_dir); dma_len 406 drivers/i2c/busses/i2c-imx.c dma->dma_len = 0; dma_len 623 drivers/i2c/busses/i2c-imx.c dma->dma_len = msgs->len - 1; dma_len 687 drivers/i2c/busses/i2c-imx.c dma->dma_len = msgs->len - 2; dma_len 84 drivers/i2c/busses/i2c-stm32.c dma->dma_len = 0; dma_len 114 drivers/i2c/busses/i2c-stm32.c dma->dma_len = len; dma_len 117 drivers/i2c/busses/i2c-stm32.c dma->dma_buf = dma_map_single(chan_dev, buf, dma->dma_len, dma_len 125 drivers/i2c/busses/i2c-stm32.c dma->dma_len, dma_len 149 drivers/i2c/busses/i2c-stm32.c dma_unmap_single(chan_dev, dma->dma_buf, dma->dma_len, dma_len 41 drivers/i2c/busses/i2c-stm32.h unsigned int dma_len; dma_len 636 drivers/i2c/busses/i2c-stm32f7.c dma_unmap_single(dev, dma->dma_buf, dma->dma_len, dma->dma_data_dir); dma_len 2565 drivers/infiniband/core/verbs.c unsigned int dma_len = sg_dma_len(sg) - sg_offset; dma_len 2566 drivers/infiniband/core/verbs.c u64 end_dma_addr = dma_addr + dma_len; dma_len 2601 drivers/infiniband/core/verbs.c mr->length += dma_len; dma_len 797 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u32 dma_len = mr->pbl_size; dma_len 809 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c va = dma_alloc_coherent(&pdev->dev, dma_len, &pa, GFP_KERNEL); dma_len 1450 drivers/infiniband/ulp/srp/ib_srp.c unsigned int dma_len, u32 rkey) dma_len 1454 drivers/infiniband/ulp/srp/ib_srp.c WARN_ON_ONCE(!dma_len); dma_len 1458 drivers/infiniband/ulp/srp/ib_srp.c desc->len = cpu_to_be32(dma_len); dma_len 1460 drivers/infiniband/ulp/srp/ib_srp.c state->total_len += dma_len; dma_len 1486 drivers/infiniband/ulp/srp/ib_srp.c srp_map_desc(state, state->base_dma_addr, state->dma_len, dma_len 1500 drivers/infiniband/ulp/srp/ib_srp.c state->dma_len, fmr->fmr->rkey); dma_len 1504 drivers/infiniband/ulp/srp/ib_srp.c state->dma_len = 0; dma_len 1606 drivers/infiniband/ulp/srp/ib_srp.c unsigned int dma_len = sg_dma_len(sg); dma_len 1610 drivers/infiniband/ulp/srp/ib_srp.c WARN_ON_ONCE(!dma_len); dma_len 1612 drivers/infiniband/ulp/srp/ib_srp.c while (dma_len) { dma_len 1622 drivers/infiniband/ulp/srp/ib_srp.c len = min_t(unsigned int, dma_len, dev->mr_page_size - offset); dma_len 1627 drivers/infiniband/ulp/srp/ib_srp.c state->dma_len += len; dma_len 1629 drivers/infiniband/ulp/srp/ib_srp.c dma_len -= len; dma_len 1736 drivers/infiniband/ulp/srp/ib_srp.c state.dma_len = idb_len; dma_len 346 drivers/infiniband/ulp/srp/ib_srp.h u32 dma_len; dma_len 1559 drivers/misc/mei/client.c u32 dma_len; dma_len 1603 drivers/misc/mei/client.c } else if (dr_slots && hbuf_len >= hdr_len + sizeof(dma_len)) { dma_len 1610 drivers/misc/mei/client.c mei_hdr.length = sizeof(dma_len); dma_len 1611 drivers/misc/mei/client.c dma_len = len; dma_len 1612 drivers/misc/mei/client.c data = &dma_len; dma_len 1667 drivers/misc/mei/client.c u32 dma_len; dma_len 1730 drivers/misc/mei/client.c } else if (dr_slots && hbuf_len >= hdr_len + sizeof(dma_len)) { dma_len 1737 drivers/misc/mei/client.c mei_hdr.length = sizeof(dma_len); dma_len 1738 drivers/misc/mei/client.c dma_len = len; dma_len 1739 drivers/misc/mei/client.c data = &dma_len; dma_len 310 drivers/mmc/host/meson-mx-sdio.c int dma_len; dma_len 324 drivers/mmc/host/meson-mx-sdio.c dma_len = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, dma_len 326 drivers/mmc/host/meson-mx-sdio.c if (dma_len <= 0) { dma_len 614 drivers/mmc/host/mtk-sd.c unsigned int j, dma_len; dma_len 636 drivers/mmc/host/mtk-sd.c dma_len = sg_dma_len(sg); dma_len 650 drivers/mmc/host/mtk-sd.c bd[j].bd_data_len |= (dma_len & BDMA_DESC_BUFLEN_EXT); dma_len 653 drivers/mmc/host/mtk-sd.c bd[j].bd_data_len |= (dma_len & BDMA_DESC_BUFLEN); dma_len 165 drivers/mmc/host/omap_hsmmc.c unsigned int dma_len; dma_len 183 drivers/mmc/host/omap_hsmmc.c unsigned int dma_len; dma_len 1203 drivers/mmc/host/omap_hsmmc.c int dma_len; dma_len 1215 drivers/mmc/host/omap_hsmmc.c dma_len = dma_map_sg(chan->device->dev, data->sg, data->sg_len, dma_len 1219 drivers/mmc/host/omap_hsmmc.c dma_len = host->next_data.dma_len; dma_len 1220 drivers/mmc/host/omap_hsmmc.c host->next_data.dma_len = 0; dma_len 1224 drivers/mmc/host/omap_hsmmc.c if (dma_len == 0) dma_len 1228 drivers/mmc/host/omap_hsmmc.c next->dma_len = dma_len; dma_len 1231 drivers/mmc/host/omap_hsmmc.c host->dma_len = dma_len; dma_len 73 drivers/mmc/host/pxamci.c unsigned int dma_len; dma_len 206 drivers/mmc/host/pxamci.c host->dma_len = dma_map_sg(chan->device->dev, data->sg, data->sg_len, dma_len 209 drivers/mmc/host/pxamci.c tx = dmaengine_prep_slave_sg(chan, data->sg, host->dma_len, direction, dma_len 396 drivers/mmc/host/sunxi-mmc.c u32 i, dma_len; dma_len 399 drivers/mmc/host/sunxi-mmc.c dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, dma_len 401 drivers/mmc/host/sunxi-mmc.c if (dma_len == 0) { dma_len 263 drivers/mmc/host/tifm_sd.c unsigned int dma_len, dma_blk_cnt, dma_off; dma_len 279 drivers/mmc/host/tifm_sd.c dma_len = sg_dma_len(&r_data->sg[host->sg_pos]) - host->block_pos; dma_len 280 drivers/mmc/host/tifm_sd.c if (!dma_len) { dma_len 285 drivers/mmc/host/tifm_sd.c dma_len = sg_dma_len(&r_data->sg[host->sg_pos]); dma_len 288 drivers/mmc/host/tifm_sd.c if (dma_len < t_size) { dma_len 289 drivers/mmc/host/tifm_sd.c dma_blk_cnt = dma_len / r_data->blksz; dma_len 300 drivers/mmc/host/tifm_sd.c else if (dma_len) { dma_len 822 drivers/mtd/nand/raw/marvell_nand.c unsigned int dma_len = min_t(int, ALIGN(len, 32), MAX_CHUNK_SIZE); dma_len 830 drivers/mtd/nand/raw/marvell_nand.c sg_init_one(&sg, nfc->dma_buf, dma_len); dma_len 1513 drivers/net/ethernet/3com/typhoon.c int dma_len; dma_len 1530 drivers/net/ethernet/3com/typhoon.c dma_len = le16_to_cpu(tx->len); dma_len 1531 drivers/net/ethernet/3com/typhoon.c pci_unmap_single(tp->pdev, skb_dma, dma_len, dma_len 341 drivers/net/ethernet/amd/xgbe/xgbe-desc.c bd->dma_len = len; dma_len 2556 drivers/net/ethernet/amd/xgbe/xgbe-drv.c skb = napi_alloc_skb(napi, rdata->rx.hdr.dma_len); dma_len 2565 drivers/net/ethernet/amd/xgbe/xgbe-drv.c rdata->rx.hdr.dma_len, DMA_FROM_DEVICE); dma_len 2590 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return rdata->rx.hdr.dma_len; dma_len 2595 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return min_t(unsigned int, rdata->rx.hdr.dma_len, rdata->rx.len); dma_len 2604 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return rdata->rx.buf.dma_len; dma_len 2780 drivers/net/ethernet/amd/xgbe/xgbe-drv.c rdata->rx.buf.dma_len, dma_len 2787 drivers/net/ethernet/amd/xgbe/xgbe-drv.c rdata->rx.buf.dma_len); dma_len 400 drivers/net/ethernet/amd/xgbe/xgbe.h unsigned int dma_len; dma_len 394 drivers/net/ethernet/aurora/nb8800.c unsigned int dma_len; dma_len 406 drivers/net/ethernet/aurora/nb8800.c dma_len = skb->len - align; dma_len 408 drivers/net/ethernet/aurora/nb8800.c dma_len, DMA_TO_DEVICE); dma_len 443 drivers/net/ethernet/aurora/nb8800.c desc->config = DESC_BTS(2) | DESC_DS | DESC_EOF | dma_len; dma_len 450 drivers/net/ethernet/aurora/nb8800.c txb->dma_len = dma_len; dma_len 506 drivers/net/ethernet/aurora/nb8800.c dma_unmap_single(&dev->dev, txb->dma_addr, txb->dma_len, dma_len 230 drivers/net/ethernet/aurora/nb8800.h unsigned int dma_len; dma_len 861 drivers/net/ethernet/broadcom/bcmsysport.c dma_unmap_len(cb, dma_len), dma_len 867 drivers/net/ethernet/broadcom/bcmsysport.c *bytes_compl += dma_unmap_len(cb, dma_len); dma_len 869 drivers/net/ethernet/broadcom/bcmsysport.c dma_unmap_len(cb, dma_len), DMA_TO_DEVICE); dma_len 1326 drivers/net/ethernet/broadcom/bcmsysport.c dma_unmap_len_set(cb, dma_len, skb_len); dma_len 687 drivers/net/ethernet/broadcom/bcmsysport.h DEFINE_DMA_UNMAP_LEN(dma_len); dma_len 3029 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c dma_buf = dma_alloc_coherent(&bp->pdev->dev, info->dma_len, &dma_handle, dma_len 3037 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c cmn_req->host_buf_len = cpu_to_le32(info->dma_len); dma_len 3086 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c dma_free_coherent(&bp->pdev->dev, info->dma_len, dma_buf, dma_handle); dma_len 3099 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c info.dma_len = COREDUMP_LIST_BUF_LEN; dma_len 3137 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c info.dma_len = COREDUMP_RETRIEVE_BUF_LEN; dma_len 39 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h u16 dma_len; dma_len 1334 drivers/net/ethernet/broadcom/genet/bcmgenet.c dma_unmap_len(cb, dma_len), dma_len 1338 drivers/net/ethernet/broadcom/genet/bcmgenet.c dma_unmap_len(cb, dma_len), dma_len 1348 drivers/net/ethernet/broadcom/genet/bcmgenet.c dma_unmap_len(cb, dma_len), dma_len 1367 drivers/net/ethernet/broadcom/genet/bcmgenet.c dma_unmap_len(cb, dma_len), DMA_FROM_DEVICE); dma_len 1637 drivers/net/ethernet/broadcom/genet/bcmgenet.c dma_unmap_len_set(tx_cb_ptr, dma_len, size); dma_len 1726 drivers/net/ethernet/broadcom/genet/bcmgenet.c dma_unmap_len_set(cb, dma_len, priv->rx_buf_len); dma_len 491 drivers/net/ethernet/broadcom/genet/bcmgenet.h DEFINE_DMA_UNMAP_LEN(dma_len); dma_len 120 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_len(&unmap->vectors[vector], dma_len), dma_len 3069 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_len_set(&unmap->vectors[vect_id], dma_len, size); dma_len 220 drivers/net/ethernet/brocade/bna/bnad.h DEFINE_DMA_UNMAP_LEN(dma_len); dma_len 165 drivers/net/ethernet/chelsio/cxgb/sge.c DEFINE_DMA_UNMAP_LEN(dma_len); dma_len 171 drivers/net/ethernet/chelsio/cxgb/sge.c DEFINE_DMA_UNMAP_LEN(dma_len); dma_len 513 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len(ce, dma_len), dma_len 626 drivers/net/ethernet/chelsio/cxgb/sge.c if (likely(dma_unmap_len(ce, dma_len))) { dma_len 628 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len(ce, dma_len), dma_len 829 drivers/net/ethernet/chelsio/cxgb/sge.c unsigned int dma_len = q->rx_buffer_size - q->dma_offset; dma_len 840 drivers/net/ethernet/chelsio/cxgb/sge.c mapping = pci_map_single(pdev, skb->data, dma_len, dma_len 846 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len_set(ce, dma_len, dma_len); dma_len 849 drivers/net/ethernet/chelsio/cxgb/sge.c e->len_gen = V_CMD_LEN(dma_len) | V_CMD_GEN1(q->genbit); dma_len 1054 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len(ce, dma_len), dma_len 1059 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len(ce, dma_len), dma_len 1072 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE); dma_len 1095 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE); dma_len 1176 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len_set(ce1, dma_len, 0); dma_len 1227 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len_set(ce, dma_len, 0); dma_len 1252 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len_set(ce, dma_len, skb_headlen(skb)); dma_len 1278 drivers/net/ethernet/chelsio/cxgb/sge.c dma_unmap_len_set(ce, dma_len, skb_frag_size(frag)); dma_len 313 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c u32 dma_len = xdptxd->len; dma_len 319 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(dma_len < MLX5E_XDP_MIN_INLINE || sq->hw_mtu < dma_len)) { dma_len 335 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dma_len -= MLX5E_XDP_MIN_INLINE; dma_len 342 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dseg->byte_count = cpu_to_be32(dma_len); dma_len 165 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h u32 dma_len = xdptxd->len; dma_len 169 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h if (session->inline_on && dma_len <= MLX5E_XDP_INLINE_WQE_SZ_THRSD) { dma_len 172 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h u16 ds_len = sizeof(*inline_dseg) + dma_len; dma_len 175 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h inline_dseg->byte_count = cpu_to_be32(dma_len | MLX5_INLINE_SEG); dma_len 176 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h memcpy(inline_dseg->data, xdptxd->data, dma_len); dma_len 184 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h dseg->byte_count = cpu_to_be32(dma_len); dma_len 145 drivers/net/ethernet/netronome/nfp/nfp_net.h __le16 dma_len; /* Length to DMA for this desc */ dma_len 1039 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txd->dma_len = cpu_to_le16(skb_headlen(skb)); dma_len 1077 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txd->dma_len = cpu_to_le16(fsize); dma_len 1778 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txd->dma_len = cpu_to_le16(pkt_len); dma_len 2126 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txd->dma_len = cpu_to_le16(skb_headlen(skb)); dma_len 710 drivers/net/ethernet/nvidia/forcedeth.c unsigned int dma_len:31; dma_len 1849 drivers/net/ethernet/nvidia/forcedeth.c np->put_rx_ctx->dma_len = skb_tailroom(skb); dma_len 1890 drivers/net/ethernet/nvidia/forcedeth.c np->put_rx_ctx->dma_len = skb_tailroom(skb); dma_len 1983 drivers/net/ethernet/nvidia/forcedeth.c np->tx_skb[i].dma_len = 0; dma_len 2008 drivers/net/ethernet/nvidia/forcedeth.c tx_skb->dma_len, dma_len 2012 drivers/net/ethernet/nvidia/forcedeth.c tx_skb->dma_len, dma_len 2050 drivers/net/ethernet/nvidia/forcedeth.c np->tx_skb[i].dma_len = 0; dma_len 2264 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; dma_len 2311 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; dma_len 2421 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; dma_len 2468 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; dma_len 2875 drivers/net/ethernet/nvidia/forcedeth.c np->get_rx_ctx->dma_len, dma_len 2977 drivers/net/ethernet/nvidia/forcedeth.c np->get_rx_ctx->dma_len, dma_len 1998 drivers/net/ethernet/sfc/ef10.c u32 dma_len = efx->num_mac_stats * sizeof(u64); dma_len 2016 drivers/net/ethernet/sfc/ef10.c rc = efx_nic_alloc_buffer(efx, &stats_buf, dma_len, GFP_ATOMIC); dma_len 2028 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, MAC_STATS_IN_DMA_LEN, dma_len); dma_len 186 drivers/net/ethernet/sfc/falcon/tx.c unsigned int dma_len; dma_len 191 drivers/net/ethernet/sfc/falcon/tx.c dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); dma_len 193 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = dma_len; dma_len 196 drivers/net/ethernet/sfc/falcon/tx.c len -= dma_len; dma_len 197 drivers/net/ethernet/sfc/falcon/tx.c dma_addr += dma_len; dma_len 1251 drivers/net/ethernet/sfc/mcdi_port.c u32 dma_len = action != EFX_STATS_DISABLE ? dma_len 1265 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MAC_STATS_IN_DMA_LEN, dma_len); dma_len 340 drivers/net/ethernet/sfc/tx.c unsigned int dma_len; dma_len 345 drivers/net/ethernet/sfc/tx.c dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); dma_len 347 drivers/net/ethernet/sfc/tx.c buffer->len = dma_len; dma_len 350 drivers/net/ethernet/sfc/tx.c len -= dma_len; dma_len 351 drivers/net/ethernet/sfc/tx.c dma_addr += dma_len; dma_len 107 drivers/net/ethernet/sfc/tx_tso.c unsigned int dma_len; dma_len 121 drivers/net/ethernet/sfc/tx_tso.c dma_len = tx_queue->efx->type->tx_limit_len(tx_queue, dma_len 125 drivers/net/ethernet/sfc/tx_tso.c if (dma_len >= len) dma_len 128 drivers/net/ethernet/sfc/tx_tso.c buffer->len = dma_len; dma_len 130 drivers/net/ethernet/sfc/tx_tso.c dma_addr += dma_len; dma_len 131 drivers/net/ethernet/sfc/tx_tso.c len -= dma_len; dma_len 653 drivers/net/ethernet/sun/sungem.c u32 dma_len; dma_len 683 drivers/net/ethernet/sun/sungem.c dma_len = le64_to_cpu(txd->control_word) & TXDCTRL_BUFSZ; dma_len 685 drivers/net/ethernet/sun/sungem.c pci_unmap_page(gp->pdev, dma_addr, dma_len, PCI_DMA_TODEVICE); dma_len 1930 drivers/net/ethernet/sun/sunhme.c u32 flags, dma_addr, dma_len; dma_len 1953 drivers/net/ethernet/sun/sunhme.c dma_len = hme_read_desc32(hp, &this->tx_flags); dma_len 1955 drivers/net/ethernet/sun/sunhme.c dma_len &= TXFLAG_SIZE; dma_len 1957 drivers/net/ethernet/sun/sunhme.c dma_unmap_single(hp->dma_dev, dma_addr, dma_len, DMA_TO_DEVICE); dma_len 1959 drivers/net/ethernet/sun/sunhme.c dma_unmap_page(hp->dma_dev, dma_addr, dma_len, DMA_TO_DEVICE); dma_len 374 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c bd->dma_len = len; dma_len 996 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb = napi_alloc_skb(napi, desc_data->rx.hdr.dma_len); dma_len 1005 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.hdr.dma_len, dma_len 1011 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = min(desc_data->rx.hdr.dma_len, copy_len); dma_len 1021 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_len, dma_len 1027 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c len, desc_data->rx.buf.dma_len); dma_len 1201 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_len, dma_len 1209 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c desc_data->rx.buf.dma_len); dma_len 236 drivers/net/ethernet/synopsys/dwc-xlgmac.h unsigned int dma_len; dma_len 318 drivers/net/wireless/ath/ath9k/init.c u32 dma_len; dma_len 321 drivers/net/wireless/ath/ath9k/init.c dma_len = ndesc_skipped * desc_len; dma_len 322 drivers/net/wireless/ath/ath9k/init.c dd->dd_desc_len += dma_len; dma_len 324 drivers/net/wireless/ath/ath9k/init.c ndesc_skipped = ATH_DESC_4KB_BOUND_NUM_SKIPPED(dma_len); dma_len 509 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c session->dma_len = 0; dma_len 568 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c session->dma_len += p->len; dma_len 644 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u16 dma_len = session->dma_len; dma_len 771 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c dma_len = min(dma_len, f->ampdu_pld_size); dma_len 772 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c txh->PreloadSize = cpu_to_le16(dma_len); dma_len 37 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.h u16 dma_len; dma_len 76 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h u16 dma_len), dma_len 78 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h dma_len), dma_len 85 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h __field(u16, dma_len) dma_len 93 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h __entry->dma_len = dma_len; dma_len 98 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h __entry->ampdu_frames, __entry->dma_len) dma_len 1327 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c session->dma_len); dma_len 59 drivers/net/wireless/intersil/p54/p54pci.h __le32 dma_len; dma_len 772 drivers/net/wireless/intersil/p54/p54usb.c P54U_WRITE(NET2280_DEV_U32, &devreg->dma_len, dma_len 410 drivers/net/wireless/mediatek/mt76/usb.c u16 dma_len, min_len; dma_len 412 drivers/net/wireless/mediatek/mt76/usb.c dma_len = get_unaligned_le16(data); dma_len 416 drivers/net/wireless/mediatek/mt76/usb.c if (data_len < min_len || !dma_len || dma_len 417 drivers/net/wireless/mediatek/mt76/usb.c dma_len + MT_DMA_HDR_LEN > data_len || dma_len 418 drivers/net/wireless/mediatek/mt76/usb.c (dma_len & 0x3)) dma_len 420 drivers/net/wireless/mediatek/mt76/usb.c return dma_len; dma_len 116 drivers/net/wireless/mediatek/mt7601u/dma.c u16 dma_len = get_unaligned_le16(data); dma_len 119 drivers/net/wireless/mediatek/mt7601u/dma.c WARN_ON_ONCE(!dma_len) || dma_len 120 drivers/net/wireless/mediatek/mt7601u/dma.c WARN_ON_ONCE(dma_len + MT_DMA_HDRS > data_len) || dma_len 121 drivers/net/wireless/mediatek/mt7601u/dma.c WARN_ON_ONCE(dma_len & 0x3)) dma_len 124 drivers/net/wireless/mediatek/mt7601u/dma.c return MT_DMA_HDRS + dma_len; dma_len 208 drivers/nvme/host/pci.c unsigned int dma_len; /* length of single DMA segment mapping */ dma_len 531 drivers/nvme/host/pci.c if (iod->dma_len) { dma_len 532 drivers/nvme/host/pci.c dma_unmap_page(dev->dev, dma_addr, iod->dma_len, dma_len 592 drivers/nvme/host/pci.c int dma_len = sg_dma_len(sg); dma_len 607 drivers/nvme/host/pci.c dma_len -= (page_size - offset); dma_len 608 drivers/nvme/host/pci.c if (dma_len) { dma_len 613 drivers/nvme/host/pci.c dma_len = sg_dma_len(sg); dma_len 651 drivers/nvme/host/pci.c dma_len -= page_size; dma_len 656 drivers/nvme/host/pci.c if (dma_len > 0) dma_len 658 drivers/nvme/host/pci.c if (unlikely(dma_len < 0)) dma_len 662 drivers/nvme/host/pci.c dma_len = sg_dma_len(sg); dma_len 769 drivers/nvme/host/pci.c iod->dma_len = bv->bv_len; dma_len 786 drivers/nvme/host/pci.c iod->dma_len = bv->bv_len; dma_len 790 drivers/nvme/host/pci.c cmnd->dptr.sgl.length = cpu_to_le32(iod->dma_len); dma_len 817 drivers/nvme/host/pci.c iod->dma_len = 0; dma_len 22 drivers/parisc/iommu-helpers.h unsigned long dma_offset = 0, dma_len = 0; dma_len 47 drivers/parisc/iommu-helpers.h BUG_ON(pdirp && (dma_len != sg_dma_len(dma_sg))); dma_len 51 drivers/parisc/iommu-helpers.h dma_len = sg_dma_len(startsg); dma_len 106 drivers/parisc/iommu-helpers.h unsigned long dma_offset, dma_len; /* start/len of DMA stream */ dma_len 120 drivers/parisc/iommu-helpers.h dma_len = startsg->length; dma_len 149 drivers/parisc/iommu-helpers.h if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > dma_len 163 drivers/parisc/iommu-helpers.h dma_len += startsg->length; dma_len 171 drivers/parisc/iommu-helpers.h sg_dma_len(contig_sg) = dma_len; dma_len 172 drivers/parisc/iommu-helpers.h dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); dma_len 175 drivers/parisc/iommu-helpers.h | (iommu_alloc_range(ioc, dev, dma_len) << IOVP_SHIFT) dma_len 396 drivers/scsi/NCR5380.c hostdata->dma_len = 0; dma_len 719 drivers/scsi/NCR5380.c if (hostdata->connected && !hostdata->dma_len) { dma_len 784 drivers/scsi/NCR5380.c transferred = hostdata->dma_len - NCR5380_dma_residual(hostdata); dma_len 785 drivers/scsi/NCR5380.c hostdata->dma_len = 0; dma_len 1550 drivers/scsi/NCR5380.c hostdata->dma_len = result; dma_len 1555 drivers/scsi/NCR5380.c hostdata->dma_len = c; dma_len 2270 drivers/scsi/NCR5380.c hostdata->dma_len = 0; dma_len 2350 drivers/scsi/NCR5380.c hostdata->dma_len = 0; dma_len 212 drivers/scsi/NCR5380.h int dma_len; /* Requested length of DMA */ dma_len 243 drivers/scsi/am53c974.c static u32 pci_esp_dma_length_limit(struct esp *esp, u32 dma_addr, u32 dma_len) dma_len 255 drivers/scsi/am53c974.c if (dma_len > (1U << dma_limit)) dma_len 256 drivers/scsi/am53c974.c dma_len = (1U << dma_limit); dma_len 262 drivers/scsi/am53c974.c end = base + dma_len; dma_len 265 drivers/scsi/am53c974.c dma_len = end - base; dma_len 267 drivers/scsi/am53c974.c return dma_len; dma_len 213 drivers/scsi/atari_scsi.c atari_dma_residual = hostdata->dma_len - dma_len 308 drivers/scsi/atari_scsi.c atari_dma_residual = hostdata->dma_len - transferred; dma_len 320 drivers/scsi/atari_scsi.c hostdata->dma_len - atari_dma_residual); dma_len 519 drivers/scsi/esp_scsi.c static u32 esp_dma_length_limit(struct esp *esp, u32 dma_addr, u32 dma_len) dma_len 523 drivers/scsi/esp_scsi.c if (dma_len > (1U << 24)) dma_len 524 drivers/scsi/esp_scsi.c dma_len = (1U << 24); dma_len 534 drivers/scsi/esp_scsi.c if (dma_len > (1U << 16)) dma_len 535 drivers/scsi/esp_scsi.c dma_len = (1U << 16); dma_len 541 drivers/scsi/esp_scsi.c end = base + dma_len; dma_len 544 drivers/scsi/esp_scsi.c dma_len = end - base; dma_len 546 drivers/scsi/esp_scsi.c return dma_len; dma_len 1747 drivers/scsi/esp_scsi.c unsigned int dma_len = esp_cur_dma_len(ent, cmd); dma_len 1758 drivers/scsi/esp_scsi.c dma_len = esp->ops->dma_length_limit(esp, dma_addr, dma_len 1759 drivers/scsi/esp_scsi.c dma_len); dma_len 1761 drivers/scsi/esp_scsi.c dma_len = esp_dma_length_limit(esp, dma_addr, dma_len); dma_len 1763 drivers/scsi/esp_scsi.c esp->data_dma_len = dma_len; dma_len 1765 drivers/scsi/esp_scsi.c if (!dma_len) { dma_len 1777 drivers/scsi/esp_scsi.c (unsigned long long)dma_addr, dma_len, write); dma_len 1779 drivers/scsi/esp_scsi.c esp->ops->send_dma_cmd(esp, dma_addr, dma_len, dma_len, dma_len 375 drivers/scsi/esp_scsi.h u32 dma_len); dma_len 1320 drivers/scsi/lpfc/lpfc_nvme.c uint32_t dma_len = 0; dma_len 1412 drivers/scsi/lpfc/lpfc_nvme.c dma_len = data_sg->length; dma_len 1420 drivers/scsi/lpfc/lpfc_nvme.c sgl->sge_len = cpu_to_le32(dma_len); dma_len 1422 drivers/scsi/lpfc/lpfc_nvme.c dma_offset += dma_len; dma_len 1960 drivers/scsi/lpfc/lpfc_scsi.c uint32_t dma_len; dma_len 2055 drivers/scsi/lpfc/lpfc_scsi.c dma_len = sg_dma_len(sgde); dma_len 2061 drivers/scsi/lpfc/lpfc_scsi.c sgl->sge_len = cpu_to_le32(dma_len); dma_len 2063 drivers/scsi/lpfc/lpfc_scsi.c dma_offset += dma_len; dma_len 2144 drivers/scsi/lpfc/lpfc_scsi.c uint32_t dma_len; dma_len 2348 drivers/scsi/lpfc/lpfc_scsi.c dma_len = remainder; dma_len 2358 drivers/scsi/lpfc/lpfc_scsi.c dma_len = protgrp_bytes - subtotal; dma_len 2359 drivers/scsi/lpfc/lpfc_scsi.c split_offset += dma_len; dma_len 2362 drivers/scsi/lpfc/lpfc_scsi.c subtotal += dma_len; dma_len 2374 drivers/scsi/lpfc/lpfc_scsi.c sgl->sge_len = cpu_to_le32(dma_len); dma_len 2375 drivers/scsi/lpfc/lpfc_scsi.c dma_offset += dma_len; dma_len 3054 drivers/scsi/lpfc/lpfc_scsi.c uint32_t dma_len; dma_len 3154 drivers/scsi/lpfc/lpfc_scsi.c dma_len = sg_dma_len(sgel); dma_len 3162 drivers/scsi/lpfc/lpfc_scsi.c sgl->sge_len = cpu_to_le32(dma_len); dma_len 3164 drivers/scsi/lpfc/lpfc_scsi.c dma_offset += dma_len; dma_len 368 drivers/scsi/mac53c94.c u32 dma_len; dma_len 382 drivers/scsi/mac53c94.c dma_len = sg_dma_len(scl); dma_len 383 drivers/scsi/mac53c94.c if (dma_len > 0xffff) dma_len 385 drivers/scsi/mac53c94.c total += dma_len; dma_len 386 drivers/scsi/mac53c94.c dcmds->req_count = cpu_to_le16(dma_len); dma_len 247 drivers/scsi/mac_esp.c static u32 mac_esp_dma_length_limit(struct esp *esp, u32 dma_addr, u32 dma_len) dma_len 249 drivers/scsi/mac_esp.c return dma_len > 0xFFFF ? 0xFFFF : dma_len; dma_len 2702 drivers/scsi/megaraid/megaraid_sas.h dma_addr_t dma_addr, u32 dma_len); dma_len 276 drivers/scsi/megaraid/megaraid_sas_base.c dma_addr_t dma_addr, u32 dma_len) dma_len 280 drivers/scsi/megaraid/megaraid_sas_base.c dcmd->sgl.sge64[0].length = cpu_to_le32(dma_len); dma_len 286 drivers/scsi/megaraid/megaraid_sas_base.c dcmd->sgl.sge32[0].length = cpu_to_le32(dma_len); dma_len 1282 drivers/scsi/mesh.c u32 dma_len = sg_dma_len(scl); dma_len 1285 drivers/scsi/mesh.c if (off >= dma_len) { dma_len 1286 drivers/scsi/mesh.c off -= dma_len; dma_len 1289 drivers/scsi/mesh.c if (dma_len > 0xffff) dma_len 1291 drivers/scsi/mesh.c dcmds->req_count = cpu_to_le16(dma_len - off); dma_len 1296 drivers/scsi/mesh.c dtot += dma_len - off; dma_len 1792 drivers/scsi/mpt3sas/mpt3sas_transport.c dma_addr_t *dma_addr, size_t *dma_len, void **p) dma_len 1800 drivers/scsi/mpt3sas/mpt3sas_transport.c *dma_len = buf->payload_len; dma_len 1805 drivers/scsi/mpt3sas/mpt3sas_transport.c *dma_len = sg_dma_len(buf->sg_list); dma_len 4557 drivers/scsi/qla2xxx/qla_def.h uint32_t dma_len; /* OUT */ dma_len 864 drivers/scsi/qla2xxx/qla_iocb.c sgx->dma_len = (blk_sz - cumulative_partial); dma_len 869 drivers/scsi/qla2xxx/qla_iocb.c sgx->dma_len = sg_len - sgx->bytes_consumed; dma_len 870 drivers/scsi/qla2xxx/qla_iocb.c sgx->tot_partial += sgx->dma_len; dma_len 874 drivers/scsi/qla2xxx/qla_iocb.c sgx->bytes_consumed += sgx->dma_len; dma_len 927 drivers/scsi/qla2xxx/qla_iocb.c sle_dma_len = sgx.dma_len; dma_len 219 drivers/scsi/zorro_esp.c u32 dma_len) dma_len 221 drivers/scsi/zorro_esp.c return dma_len > (1U << 16) ? (1U << 16) : dma_len; dma_len 225 drivers/scsi/zorro_esp.c u32 dma_len) dma_len 228 drivers/scsi/zorro_esp.c return dma_len > 0xfffc ? 0xfffc : dma_len; dma_len 452 drivers/staging/wusbcore/host/whci/qset.c size_t dma_len; dma_len 480 drivers/staging/wusbcore/host/whci/qset.c dma_len = dma_remaining; dma_len 488 drivers/staging/wusbcore/host/whci/qset.c if (std->len + dma_len > QTD_MAX_XFER_SIZE) { dma_len 489 drivers/staging/wusbcore/host/whci/qset.c dma_len = (QTD_MAX_XFER_SIZE / qset->max_packet) dma_len 493 drivers/staging/wusbcore/host/whci/qset.c std->len += dma_len; dma_len 497 drivers/staging/wusbcore/host/whci/qset.c ep = dma_addr + dma_len; dma_len 517 drivers/staging/wusbcore/host/whci/qset.c dma_remaining -= dma_len; dma_len 518 drivers/staging/wusbcore/host/whci/qset.c remaining -= dma_len; dma_len 122 net/rds/ib_fmr.c unsigned int dma_len = sg_dma_len(&scat[i]); dma_len 134 net/rds/ib_fmr.c if ((dma_addr + dma_len) & ~PAGE_MASK) { dma_len 144 net/rds/ib_fmr.c len += dma_len; dma_len 162 net/rds/ib_fmr.c unsigned int dma_len = sg_dma_len(&scat[i]); dma_len 165 net/rds/ib_fmr.c for (j = 0; j < dma_len; j += PAGE_SIZE) dma_len 221 net/rds/ib_frmr.c unsigned int dma_len = sg_dma_len(&ibmr->sg[i]); dma_len 224 net/rds/ib_frmr.c frmr->sg_byte_len += dma_len; dma_len 232 net/rds/ib_frmr.c if ((dma_addr + dma_len) & ~PAGE_MASK) { dma_len 239 net/rds/ib_frmr.c len += dma_len; dma_len 26 sound/soc/sh/rcar/dma.c unsigned int dma_len; dma_len 200 sound/soc/sh/rcar/dma.c dmaen->dma_len = snd_pcm_lib_buffer_bytes(substream); dma_len 283 sound/soc/sh/rcar/dma.c if (state.residue > 0 && state.residue <= dmaen->dma_len) dma_len 284 sound/soc/sh/rcar/dma.c pos = dmaen->dma_len - state.residue;