/linux-4.4.14/tools/testing/selftests/vm/ |
H A D | transhuge-stress.c | 65 size_t map_len; main() local 98 map_len = ram >> (HPAGE_SHIFT - 1); main() 99 map = malloc(map_len); main() 106 memset(map, 0, map_len); main() 120 if (idx >= map_len) { main() 124 memset(map + map_len, 0, idx + 1 - map_len); main() 125 map_len = idx + 1; main()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | devicetree.c | 271 u32 size, map_len; x86_flattree_get_config() local 277 map_len = max(PAGE_SIZE - (initial_dtb & ~PAGE_MASK), (u64)128); x86_flattree_get_config() 279 initial_boot_params = dt = early_memremap(initial_dtb, map_len); x86_flattree_get_config() 281 if (map_len < size) { x86_flattree_get_config() 282 early_memunmap(dt, map_len); x86_flattree_get_config() 284 map_len = size; x86_flattree_get_config() 288 early_memunmap(dt, map_len); x86_flattree_get_config()
|
/linux-4.4.14/drivers/mtd/ |
H A D | ssfdc.c | 32 int map_len; /* n. phys_blocks on the card */ member in struct:ssfdcr_record 251 ssfdc->map_len, build_logical_block_map() 252 (unsigned long)ssfdc->map_len * ssfdc->erase_size / 1024); build_logical_block_map() 255 for (phys_block = ssfdc->cis_block + 1; phys_block < ssfdc->map_len; build_logical_block_map() 313 ssfdc->map_len = (u32)mtd->size / mtd->erasesize; ssfdcr_add_mtd() 315 pr_debug("SSFDC_RO: cis_block=%d,erase_size=%d,map_len=%d,n_zones=%d\n", ssfdcr_add_mtd() 316 ssfdc->cis_block, ssfdc->erase_size, ssfdc->map_len, ssfdcr_add_mtd() 317 DIV_ROUND_UP(ssfdc->map_len, MAX_PHYS_BLK_PER_ZONE)); ssfdcr_add_mtd() 336 ssfdc->map_len, GFP_KERNEL); ssfdcr_add_mtd() 340 ssfdc->map_len); ssfdcr_add_mtd() 383 if (block_address >= ssfdc->map_len) ssfdcr_readsect()
|
/linux-4.4.14/fs/btrfs/ |
H A D | struct-funcs.c | 63 unsigned long map_len; \ 76 &kaddr, &map_start, &map_len); \ 102 unsigned long map_len; \ 114 &kaddr, &map_start, &map_len); \
|
H A D | extent_io.h | 340 unsigned long *map_len);
|
H A D | ctree.c | 1767 unsigned long map_len = 0; generic_bin_search() local 1776 map_start + map_len) { generic_bin_search() 1780 &kaddr, &map_start, &map_len); generic_bin_search()
|
H A D | disk-io.c | 288 unsigned long map_len; csum_tree_block() local 296 &kaddr, &map_start, &map_len); csum_tree_block() 299 cur_len = min(len, map_len - (offset - map_start)); csum_tree_block()
|
H A D | extent_io.c | 5433 unsigned long *map_len) map_private_extent_buffer() 5464 *map_len = PAGE_CACHE_SIZE - offset; map_private_extent_buffer() 5430 map_private_extent_buffer(struct extent_buffer *eb, unsigned long start, unsigned long min_len, char **map, unsigned long *map_start, unsigned long *map_len) map_private_extent_buffer() argument
|
/linux-4.4.14/fs/ocfs2/ |
H A D | extent_map.h | 54 u64 map_start, u64 map_len);
|
H A D | extent_map.c | 752 u64 map_start, u64 map_len) ocfs2_fiemap() 785 map_start + map_len); ocfs2_fiemap() 751 ocfs2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 map_start, u64 map_len) ocfs2_fiemap() argument
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_sdma.c | 678 if ((tx->map_len + (dwords<<2)) > dd->ipath_ibmaxlen) { ipath_sdma_verbs_send() 680 tx->map_len + (dwords<<2), dd->ipath_ibmaxlen); ipath_sdma_verbs_send() 701 tx->map_len, DMA_TO_DEVICE); ipath_sdma_verbs_send() 705 dwoffset = tx->map_len >> 2; ipath_sdma_verbs_send()
|
H A D | ipath_verbs.c | 1181 tx->map_len = (hdrwords + 2) << 2; ipath_verbs_send_dma() 1196 tx->map_len = (plen + 1) << 2; ipath_verbs_send_dma() 1197 piobuf = kmalloc(tx->map_len, GFP_ATOMIC); ipath_verbs_send_dma()
|
H A D | ipath_verbs.h | 654 u32 map_len; member in struct:ipath_verbs_txreq
|
/linux-4.4.14/fs/ext4/ |
H A D | extents.c | 3405 unsigned int ee_len, depth, map_len = map->m_len; ext4_ext_convert_to_initialized() local 3412 (unsigned long long)map->m_lblk, map_len); ext4_ext_convert_to_initialized() 3417 if (eof_block < map->m_lblk + map_len) ext4_ext_convert_to_initialized() 3418 eof_block = map->m_lblk + map_len; ext4_ext_convert_to_initialized() 3450 (map_len < ee_len) && /*L1*/ ext4_ext_convert_to_initialized() 3474 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ ext4_ext_convert_to_initialized() 3482 /* Shift the start of ex by 'map_len' blocks */ ext4_ext_convert_to_initialized() 3483 ex->ee_block = cpu_to_le32(ee_block + map_len); ext4_ext_convert_to_initialized() 3484 ext4_ext_store_pblock(ex, ee_pblk + map_len); ext4_ext_convert_to_initialized() 3485 ex->ee_len = cpu_to_le16(ee_len - map_len); ext4_ext_convert_to_initialized() 3488 /* Extend abut_ex by 'map_len' blocks */ ext4_ext_convert_to_initialized() 3489 abut_ex->ee_len = cpu_to_le16(prev_len + map_len); ext4_ext_convert_to_initialized() 3492 allocated = map_len; ext4_ext_convert_to_initialized() 3494 } else if (((map->m_lblk + map_len) == (ee_block + ee_len)) && ext4_ext_convert_to_initialized() 3495 (map_len < ee_len) && /*L1*/ ext4_ext_convert_to_initialized() 3518 ((map->m_lblk + map_len) == next_lblk) && /*C2*/ ext4_ext_convert_to_initialized() 3520 (next_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ ext4_ext_convert_to_initialized() 3528 /* Shift the start of abut_ex by 'map_len' blocks */ ext4_ext_convert_to_initialized() 3529 abut_ex->ee_block = cpu_to_le32(next_lblk - map_len); ext4_ext_convert_to_initialized() 3530 ext4_ext_store_pblock(abut_ex, next_pblk - map_len); ext4_ext_convert_to_initialized() 3531 ex->ee_len = cpu_to_le16(ee_len - map_len); ext4_ext_convert_to_initialized() 3534 /* Extend abut_ex by 'map_len' blocks */ ext4_ext_convert_to_initialized() 3535 abut_ex->ee_len = cpu_to_le16(next_len + map_len); ext4_ext_convert_to_initialized() 3538 allocated = map_len; ext4_ext_convert_to_initialized()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1716 u16 map_len = 0; atl1e_tx_map() local 1729 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); atl1e_tx_map() 1733 tx_buffer->length = map_len; atl1e_tx_map() 1740 mapped_len += map_len; atl1e_tx_map() 1759 tx_buffer->length = map_len = atl1e_tx_map() 1764 map_len, PCI_DMA_TODEVICE); atl1e_tx_map() 1782 mapped_len += map_len; atl1e_tx_map()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_bmap_util.c | 869 xfs_filblks_t map_len; xfs_free_eofblocks() local 881 map_len = last_fsb - end_fsb; xfs_free_eofblocks() 885 error = xfs_bmapi_read(ip, end_fsb, map_len, &imap, &nimaps, 0); xfs_free_eofblocks()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 544 u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); ocrdma_alloc_ucontext() local 554 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, ocrdma_alloc_ucontext() 560 memset(ctx->ah_tbl.va, 0, map_len); ocrdma_alloc_ucontext() 561 ctx->ah_tbl.len = map_len; ocrdma_alloc_ucontext()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 2107 u16 map_len = 0; atl1c_tx_map() local 2118 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); atl1c_tx_map() 2122 buffer_info->length = map_len; atl1c_tx_map() 2131 mapped_len += map_len; atl1c_tx_map()
|