Searched refs:map_len (Results 1 – 7 of 7) sorted by relevance
/drivers/mtd/ |
D | ssfdc.c | 32 int map_len; /* n. phys_blocks on the card */ member 251 ssfdc->map_len, in build_logical_block_map() 252 (unsigned long)ssfdc->map_len * ssfdc->erase_size / 1024); in build_logical_block_map() 255 for (phys_block = ssfdc->cis_block + 1; phys_block < ssfdc->map_len; in build_logical_block_map() 313 ssfdc->map_len = (u32)mtd->size / mtd->erasesize; in ssfdcr_add_mtd() 316 ssfdc->cis_block, ssfdc->erase_size, ssfdc->map_len, in ssfdcr_add_mtd() 317 DIV_ROUND_UP(ssfdc->map_len, MAX_PHYS_BLK_PER_ZONE)); in ssfdcr_add_mtd() 336 ssfdc->map_len, GFP_KERNEL); in ssfdcr_add_mtd() 340 ssfdc->map_len); in ssfdcr_add_mtd() 383 BUG_ON(block_address >= ssfdc->map_len); in ssfdcr_readsect()
|
/drivers/of/ |
D | of_pci.c | 336 int map_len; in of_pci_map_rid() local 342 map = of_get_property(np, map_name, &map_len); in of_pci_map_rid() 351 if (!map_len || map_len % (4 * sizeof(*map))) { in of_pci_map_rid() 353 map_name, map_len); in of_pci_map_rid() 368 for ( ; map_len > 0; map_len -= 4 * sizeof(*map), map += 4) { in of_pci_map_rid()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1715 u16 map_len = 0; in atl1e_tx_map() local 1728 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1e_tx_map() 1732 tx_buffer->length = map_len; in atl1e_tx_map() 1739 mapped_len += map_len; in atl1e_tx_map() 1758 tx_buffer->length = map_len = in atl1e_tx_map() 1763 map_len, PCI_DMA_TODEVICE); in atl1e_tx_map() 1781 mapped_len += map_len; in atl1e_tx_map()
|
/drivers/nvme/host/ |
D | rdma.c | 973 struct request *rq, unsigned int map_len, in nvme_rdma_map_data() argument 1010 map_len <= nvme_rdma_inline_data_size(queue) && in nvme_rdma_map_data() 1445 unsigned int map_len; in nvme_rdma_queue_rq() local 1464 map_len = nvme_map_len(rq); in nvme_rdma_queue_rq() 1465 ret = nvme_rdma_map_data(queue, rq, map_len, c); in nvme_rdma_queue_rq()
|
D | pci.c | 583 unsigned map_len; in nvme_queue_rq() local 599 map_len = nvme_map_len(req); in nvme_queue_rq() 600 ret = nvme_init_iod(req, map_len, dev); in nvme_queue_rq() 609 ret = nvme_map_data(dev, req, map_len, &cmnd); in nvme_queue_rq()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2102 u16 map_len = 0; in atl1c_tx_map() local 2113 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_tx_map() 2117 buffer_info->length = map_len; in atl1c_tx_map() 2126 mapped_len += map_len; in atl1c_tx_map()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 544 u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); in ocrdma_alloc_ucontext() local 554 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, in ocrdma_alloc_ucontext() 560 memset(ctx->ah_tbl.va, 0, map_len); in ocrdma_alloc_ucontext() 561 ctx->ah_tbl.len = map_len; in ocrdma_alloc_ucontext()
|