Home
last modified time | relevance | path

Searched refs:map_len (Results 1 – 7 of 7) sorted by relevance

/drivers/mtd/
Dssfdc.c32 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 if (block_address >= ssfdc->map_len) in ssfdcr_readsect()
/drivers/infiniband/hw/ipath/
Dipath_sdma.c678 if ((tx->map_len + (dwords<<2)) > dd->ipath_ibmaxlen) { in ipath_sdma_verbs_send()
680 tx->map_len + (dwords<<2), dd->ipath_ibmaxlen); in ipath_sdma_verbs_send()
701 tx->map_len, DMA_TO_DEVICE); in ipath_sdma_verbs_send()
705 dwoffset = tx->map_len >> 2; in ipath_sdma_verbs_send()
Dipath_verbs.c1168 tx->map_len = (hdrwords + 2) << 2; in ipath_verbs_send_dma()
1183 tx->map_len = (plen + 1) << 2; in ipath_verbs_send_dma()
1184 piobuf = kmalloc(tx->map_len, GFP_ATOMIC); in ipath_verbs_send_dma()
Dipath_verbs.h648 u32 map_len; member
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1716 u16 map_len = 0; in atl1e_tx_map() local
1729 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1e_tx_map()
1733 tx_buffer->length = map_len; in atl1e_tx_map()
1740 mapped_len += map_len; in atl1e_tx_map()
1759 tx_buffer->length = map_len = in atl1e_tx_map()
1764 map_len, PCI_DMA_TODEVICE); in atl1e_tx_map()
1782 mapped_len += map_len; in atl1e_tx_map()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2098 u16 map_len = 0; in atl1c_tx_map() local
2109 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_tx_map()
2113 buffer_info->length = map_len; in atl1c_tx_map()
2122 mapped_len += map_len; in atl1c_tx_map()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c370 u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); in ocrdma_alloc_ucontext() local
380 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, in ocrdma_alloc_ucontext()
386 memset(ctx->ah_tbl.va, 0, map_len); in ocrdma_alloc_ucontext()
387 ctx->ah_tbl.len = map_len; in ocrdma_alloc_ucontext()