/linux-6.1.9/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 33 size_t map_len; in main() local 76 map_len = ram >> (HPAGE_SHIFT - 1); in main() 77 map = malloc(map_len); in main() 84 memset(map, 0, map_len); in main() 98 if (idx >= map_len) { in main() 102 memset(map + map_len, 0, idx + 1 - map_len); in main() 103 map_len = idx + 1; in main()
|
/linux-6.1.9/drivers/mtd/ |
D | ssfdc.c | 29 int map_len; /* n. phys_blocks on the card */ member 248 ssfdc->map_len, in build_logical_block_map() 249 (unsigned long)ssfdc->map_len * ssfdc->erase_size / 1024); in build_logical_block_map() 252 for (phys_block = ssfdc->cis_block + 1; phys_block < ssfdc->map_len; in build_logical_block_map() 310 ssfdc->map_len = (u32)mtd->size / mtd->erasesize; in ssfdcr_add_mtd() 313 ssfdc->cis_block, ssfdc->erase_size, ssfdc->map_len, in ssfdcr_add_mtd() 314 DIV_ROUND_UP(ssfdc->map_len, MAX_PHYS_BLK_PER_ZONE)); in ssfdcr_add_mtd() 333 kmalloc_array(ssfdc->map_len, in ssfdcr_add_mtd() 338 ssfdc->map_len); in ssfdcr_add_mtd() 381 BUG_ON(block_address >= ssfdc->map_len); in ssfdcr_readsect()
|
/linux-6.1.9/arch/x86/kernel/ |
D | devicetree.c | 286 u32 size, map_len; in x86_flattree_get_config() local 292 map_len = max(PAGE_SIZE - (initial_dtb & ~PAGE_MASK), (u64)128); in x86_flattree_get_config() 294 dt = early_memremap(initial_dtb, map_len); in x86_flattree_get_config() 296 if (map_len < size) { in x86_flattree_get_config() 297 early_memunmap(dt, map_len); in x86_flattree_get_config() 299 map_len = size; in x86_flattree_get_config() 304 early_memunmap(dt, map_len); in x86_flattree_get_config()
|
/linux-6.1.9/drivers/spi/ |
D | spi-dw-bt1.c | 39 resource_size_t map_len; member 62 if (desc->info.offset + desc->info.length > dwsbt1->map_len || in dw_spi_bt1_dirmap_create() 120 if (offs >= dwsbt1->map_len || !len) in dw_spi_bt1_dirmap_read() 123 len = min_t(size_t, len, dwsbt1->map_len - offs); in dw_spi_bt1_dirmap_read() 220 dwsbt1->map_len = resource_size(mem); in dw_spi_bt1_sys_init()
|
/linux-6.1.9/drivers/of/ |
D | base.c | 1534 int i, ret, map_len, match; in of_parse_phandle_with_args_map() local 1575 map = of_get_property(cur, map_name, &map_len); in of_parse_phandle_with_args_map() 1580 map_len /= sizeof(u32); in of_parse_phandle_with_args_map() 1588 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1591 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1597 map_len--; in of_parse_phandle_with_args_map() 1613 if (map_len < new_size) in of_parse_phandle_with_args_map() 1618 map_len -= new_size; in of_parse_phandle_with_args_map() 2127 int map_len; in of_map_id() local 2133 map = of_get_property(np, map_name, &map_len); in of_map_id() [all …]
|
/linux-6.1.9/fs/ocfs2/ |
D | extent_map.h | 39 u64 map_start, u64 map_len); 42 u64 map_start, u64 map_len);
|
D | extent_map.c | 735 u64 map_start, u64 map_len) in ocfs2_fiemap() argument 745 ret = fiemap_prep(inode, fieinfo, map_start, &map_len, 0); in ocfs2_fiemap() 768 map_start + map_len); in ocfs2_fiemap() 820 u64 map_start, u64 map_len) in ocfs2_overwrite_io() argument 828 if (ocfs2_size_fits_inline_data(di_bh, map_start + map_len)) in ocfs2_overwrite_io() 836 map_start + map_len); in ocfs2_overwrite_io()
|
/linux-6.1.9/fs/ |
D | dax.c | 1364 ssize_t map_len; in dax_iomap_iter() local 1373 map_len = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_iter() 1375 if (map_len == -EIO && iov_iter_rw(iter) == WRITE) { in dax_iomap_iter() 1376 map_len = dax_direct_access(dax_dev, pgoff, in dax_iomap_iter() 1379 if (map_len > 0) in dax_iomap_iter() 1382 if (map_len < 0) { in dax_iomap_iter() 1383 ret = map_len; in dax_iomap_iter() 1395 map_len = PFN_PHYS(map_len); in dax_iomap_iter() 1397 map_len -= offset; in dax_iomap_iter() 1398 if (map_len > end - pos) in dax_iomap_iter() [all …]
|
/linux-6.1.9/fs/xfs/scrub/ |
D | trace.h | 560 unsigned short map_len, unsigned int chunk_ino, 563 TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, 570 __field(unsigned short, map_len) 582 __entry->map_len = map_len; 594 __entry->map_len,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_main.c | 30 unsigned int map_len, in mlxbf_gige_alloc_skb() argument 55 *buf_dma = dma_map_single(priv->dev, skb->data, map_len, dir); in mlxbf_gige_alloc_skb()
|
D | mlxbf_gige.h | 168 unsigned int map_len,
|
/linux-6.1.9/drivers/net/ethernet/alacritech/ |
D | slic.h | 501 DEFINE_DMA_UNMAP_LEN(map_len); 524 DEFINE_DMA_UNMAP_LEN(map_len);
|
D | slicoss.c | 369 dma_unmap_len(buff, map_len), DMA_TO_DEVICE); in slic_xmit_complete() 440 dma_unmap_len_set(buff, map_len, maplen); in slic_refill_rx_queue() 588 dma_unmap_len(buff, map_len), in slic_handle_receive() 908 dma_unmap_len(buff, map_len), DMA_TO_DEVICE); in slic_free_tx_queue() 950 dma_unmap_len(buff, map_len), in slic_free_rx_queue() 1434 dma_unmap_len_set(buff, map_len, maplen); in slic_xmit()
|
/linux-6.1.9/drivers/net/ethernet/engleder/ |
D | tsnep_main.c | 344 int map_len = 0; in tsnep_tx_map() local 368 map_len += len; in tsnep_tx_map() 371 return map_len; in tsnep_tx_map() 378 int map_len = 0; in tsnep_tx_unmap() local 395 map_len += entry->len; in tsnep_tx_unmap() 400 return map_len; in tsnep_tx_unmap()
|
/linux-6.1.9/fs/ext4/ |
D | extents.c | 3429 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() local 3435 (unsigned long long)map->m_lblk, map_len); in ext4_ext_convert_to_initialized() 3440 if (eof_block < map->m_lblk + map_len) in ext4_ext_convert_to_initialized() 3441 eof_block = map->m_lblk + map_len; in ext4_ext_convert_to_initialized() 3474 (map_len < ee_len) && /*L1*/ in ext4_ext_convert_to_initialized() 3498 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized() 3507 ex->ee_block = cpu_to_le32(ee_block + map_len); in ext4_ext_convert_to_initialized() 3508 ext4_ext_store_pblock(ex, ee_pblk + map_len); in ext4_ext_convert_to_initialized() 3509 ex->ee_len = cpu_to_le16(ee_len - map_len); in ext4_ext_convert_to_initialized() 3513 abut_ex->ee_len = cpu_to_le16(prev_len + map_len); in ext4_ext_convert_to_initialized() [all …]
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1702 u16 map_len = 0; in atl1e_tx_map() local 1716 map_len = hdr_len; in atl1e_tx_map() 1720 tx_buffer->length = map_len; in atl1e_tx_map() 1728 mapped_len += map_len; in atl1e_tx_map() 1747 tx_buffer->length = map_len = in atl1e_tx_map() 1752 skb->data + mapped_len, map_len, in atl1e_tx_map() 1773 mapped_len += map_len; in atl1e_tx_map()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | xsk.c | 611 __u32 map_len = sizeof(struct bpf_map_info); in xsk_lookup_bpf_maps() local 642 memset(&map_info, 0, map_len); in xsk_lookup_bpf_maps() 643 err = bpf_obj_get_info_by_fd(fd, &map_info, &map_len); in xsk_lookup_bpf_maps()
|
/linux-6.1.9/Documentation/target/ |
D | tcmu-design.rst | 310 unsigned long long map_len; 329 map_len = strtoull(buf, NULL, 0); 332 map = mmap(NULL, map_len, PROT_READ|PROT_WRITE, MAP_SHARED, dev_fd, 0);
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | btf.c | 841 __u32 map_len = sizeof(map_info); in build_btf_tables() local 850 &map_len); in build_btf_tables()
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 585 unsigned int map_len = 0; in qtnf_cmd_sta_info_parse() local 590 (qtnf_utils_is_bit_set(map, bitn, map_len) && \ in qtnf_cmd_sta_info_parse() 598 map_len = tlv_len; in qtnf_cmd_sta_info_parse() 2336 unsigned int map_len = 0; in qtnf_cmd_resp_proc_chan_stat_info() local 2346 map_len = tlv_value_len; in qtnf_cmd_resp_proc_chan_stat_info() 2367 (qtnf_utils_is_bit_set(map, bitn, map_len) && \ in qtnf_cmd_resp_proc_chan_stat_info()
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2211 u16 map_len = 0; in atl1c_tx_map() local 2223 map_len = hdr_len; in atl1c_tx_map() 2227 buffer_info->length = map_len; in atl1c_tx_map() 2236 mapped_len += map_len; in atl1c_tx_map()
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 345 __field( u64, map_len ) 354 __entry->map_len = map->len; 367 __entry->map_len)
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_edid.c | 5056 u8 map_len = cea_db_payload_len(db) - 1; in drm_parse_y420cmdb_bitmap() local 5060 if (map_len == 0) { in drm_parse_y420cmdb_bitmap() 5079 if (WARN_ON_ONCE(map_len > 8)) in drm_parse_y420cmdb_bitmap() 5080 map_len = 8; in drm_parse_y420cmdb_bitmap() 5082 for (count = 0; count < map_len; count++) in drm_parse_y420cmdb_bitmap()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 473 u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); in ocrdma_alloc_ucontext() local 480 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, in ocrdma_alloc_ucontext() 485 ctx->ah_tbl.len = map_len; in ocrdma_alloc_ucontext()
|