/linux-6.12.1/tools/testing/selftests/mm/ |
D | transhuge-stress.c | 34 size_t map_len; in main() local 85 map_len = ram >> (HPAGE_SHIFT - 1); in main() 86 map = malloc(map_len); in main() 95 memset(map, 0, map_len); in main() 109 if (idx >= map_len) { in main() 113 memset(map + map_len, 0, idx + 1 - map_len); in main() 114 map_len = idx + 1; in main()
|
/linux-6.12.1/drivers/mtd/ |
D | ssfdc.c | 28 int map_len; /* n. phys_blocks on the card */ member 247 ssfdc->map_len, in build_logical_block_map() 248 (unsigned long)ssfdc->map_len * ssfdc->erase_size / 1024); in build_logical_block_map() 251 for (phys_block = ssfdc->cis_block + 1; phys_block < ssfdc->map_len; in build_logical_block_map() 309 ssfdc->map_len = (u32)mtd->size / mtd->erasesize; in ssfdcr_add_mtd() 312 ssfdc->cis_block, ssfdc->erase_size, ssfdc->map_len, in ssfdcr_add_mtd() 313 DIV_ROUND_UP(ssfdc->map_len, MAX_PHYS_BLK_PER_ZONE)); in ssfdcr_add_mtd() 332 kmalloc_array(ssfdc->map_len, in ssfdcr_add_mtd() 337 ssfdc->map_len); in ssfdcr_add_mtd() 381 BUG_ON(block_address >= ssfdc->map_len); in ssfdcr_readsect()
|
/linux-6.12.1/arch/x86/kernel/ |
D | devicetree.c | 294 u32 size, map_len; in x86_flattree_get_config() local 298 map_len = max(PAGE_SIZE - (initial_dtb & ~PAGE_MASK), (u64)128); in x86_flattree_get_config() 300 dt = early_memremap(initial_dtb, map_len); in x86_flattree_get_config() 302 if (map_len < size) { in x86_flattree_get_config() 303 early_memunmap(dt, map_len); in x86_flattree_get_config() 305 map_len = size; in x86_flattree_get_config() 314 early_memunmap(dt, map_len); in x86_flattree_get_config()
|
/linux-6.12.1/drivers/spi/ |
D | spi-dw-bt1.c | 39 resource_size_t map_len; member 65 if (desc->info.offset + desc->info.length > dwsbt1->map_len) in dw_spi_bt1_dirmap_create() 122 if (offs >= dwsbt1->map_len || !len) in dw_spi_bt1_dirmap_read() 125 len = min_t(size_t, len, dwsbt1->map_len - offs); in dw_spi_bt1_dirmap_read() 222 dwsbt1->map_len = resource_size(mem); in dw_spi_bt1_sys_init()
|
/linux-6.12.1/drivers/of/ |
D | base.c | 1407 int i, ret, map_len, match; in of_parse_phandle_with_args_map() local 1434 map = of_get_property(cur, map_name, &map_len); in of_parse_phandle_with_args_map() 1438 map_len /= sizeof(u32); in of_parse_phandle_with_args_map() 1446 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1449 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1455 map_len--; in of_parse_phandle_with_args_map() 1471 if (map_len < new_size) in of_parse_phandle_with_args_map() 1476 map_len -= new_size; in of_parse_phandle_with_args_map() 1994 int map_len; in of_map_id() local 2000 map = of_get_property(np, map_name, &map_len); in of_map_id() [all …]
|
/linux-6.12.1/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.12.1/fs/ |
D | dax.c | 1492 ssize_t map_len; in dax_iomap_iter() local 1501 map_len = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_iter() 1503 if (map_len == -EHWPOISON && iov_iter_rw(iter) == WRITE) { in dax_iomap_iter() 1504 map_len = dax_direct_access(dax_dev, pgoff, in dax_iomap_iter() 1507 if (map_len > 0) in dax_iomap_iter() 1510 if (map_len < 0) { in dax_iomap_iter() 1511 ret = dax_mem2blk_err(map_len); in dax_iomap_iter() 1522 map_len = PFN_PHYS(map_len); in dax_iomap_iter() 1524 map_len -= offset; in dax_iomap_iter() 1525 if (map_len > end - pos) in dax_iomap_iter() [all …]
|
/linux-6.12.1/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.12.1/fs/ext4/ |
D | extents.c | 3450 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() local 3456 (unsigned long long)map->m_lblk, map_len); in ext4_ext_convert_to_initialized() 3461 if (eof_block < map->m_lblk + map_len) in ext4_ext_convert_to_initialized() 3462 eof_block = map->m_lblk + map_len; in ext4_ext_convert_to_initialized() 3496 (map_len < ee_len) && /*L1*/ in ext4_ext_convert_to_initialized() 3520 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized() 3529 ex->ee_block = cpu_to_le32(ee_block + map_len); in ext4_ext_convert_to_initialized() 3530 ext4_ext_store_pblock(ex, ee_pblk + map_len); in ext4_ext_convert_to_initialized() 3531 ex->ee_len = cpu_to_le16(ee_len - map_len); in ext4_ext_convert_to_initialized() 3535 abut_ex->ee_len = cpu_to_le16(prev_len + map_len); in ext4_ext_convert_to_initialized() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige.h | 200 unsigned int map_len,
|
D | mlxbf_gige_main.c | 31 unsigned int map_len, in mlxbf_gige_alloc_skb() argument 56 *buf_dma = dma_map_single(priv->dev, skb->data, map_len, dir); in mlxbf_gige_alloc_skb()
|
/linux-6.12.1/drivers/net/ethernet/engleder/ |
D | tsnep_main.c | 488 int map_len = 0; in tsnep_tx_map() local 524 map_len += len; in tsnep_tx_map() 527 return map_len; in tsnep_tx_map() 534 int map_len = 0; in tsnep_tx_unmap() local 551 map_len += entry->len; in tsnep_tx_unmap() 556 return map_len; in tsnep_tx_unmap() 626 int map_len = 0; in tsnep_xdp_tx_map() local 662 map_len += len; in tsnep_xdp_tx_map() 670 return map_len; in tsnep_xdp_tx_map()
|
/linux-6.12.1/fs/iomap/ |
D | buffered-io.c | 1799 unsigned map_len; in iomap_writepage_map_blocks() local 1806 map_len = min_t(u64, dirty_len, in iomap_writepage_map_blocks() 1808 WARN_ON_ONCE(!folio->private && map_len < dirty_len); in iomap_writepage_map_blocks() 1819 map_len); in iomap_writepage_map_blocks() 1824 dirty_len -= map_len; in iomap_writepage_map_blocks() 1825 pos += map_len; in iomap_writepage_map_blocks()
|
/linux-6.12.1/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1708 u16 map_len = 0; in atl1e_tx_map() local 1722 map_len = hdr_len; in atl1e_tx_map() 1726 tx_buffer->length = map_len; in atl1e_tx_map() 1734 mapped_len += map_len; in atl1e_tx_map() 1753 tx_buffer->length = map_len = in atl1e_tx_map() 1758 skb->data + mapped_len, map_len, in atl1e_tx_map() 1779 mapped_len += map_len; in atl1e_tx_map()
|
/linux-6.12.1/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.12.1/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() 2338 unsigned int map_len = 0; in qtnf_cmd_resp_proc_chan_stat_info() local 2348 map_len = tlv_value_len; in qtnf_cmd_resp_proc_chan_stat_info() 2369 (qtnf_utils_is_bit_set(map, bitn, map_len) && \ in qtnf_cmd_resp_proc_chan_stat_info()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | btf.c | 1094 __u32 map_len = sizeof(map_info); in build_btf_tables() local 1103 &map_len); in build_btf_tables()
|
/linux-6.12.1/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2170 u16 map_len = 0; in atl1c_tx_map() local 2182 map_len = hdr_len; in atl1c_tx_map() 2186 buffer_info->length = map_len; in atl1c_tx_map() 2195 mapped_len += map_len; in atl1c_tx_map()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | trace.h | 777 unsigned short map_len, unsigned int chunk_ino, 780 TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, 787 __field(unsigned short, map_len) 799 __entry->map_len = map_len; 811 __entry->map_len,
|
/linux-6.12.1/include/trace/events/ |
D | btrfs.h | 328 __field( u64, map_len ) 337 __entry->map_len = map->len; 350 __entry->map_len)
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_edid.c | 5265 int i, map_len = cea_db_payload_len(db) - 1; in parse_cta_y420cmdb() local 5269 if (map_len == 0) { in parse_cta_y420cmdb() 5287 if (WARN_ON_ONCE(map_len > 8)) in parse_cta_y420cmdb() 5288 map_len = 8; in parse_cta_y420cmdb() 5290 for (i = 0; i < map_len; i++) in parse_cta_y420cmdb()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | fw.c | 7470 u8 map_len; in rtw89_fw_h2c_mcc_macid_bitmap() local 7474 map_len = RTW89_MAX_MAC_ID_NUM / 8; in rtw89_fw_h2c_mcc_macid_bitmap() 7475 h2c_len = H2C_MCC_MACID_BITMAP_DSC_LEN + map_len; in rtw89_fw_h2c_mcc_macid_bitmap() 7486 RTW89_SET_FWCMD_MCC_MACID_BITMAP_BITMAP_LENGTH(skb->data, map_len); in rtw89_fw_h2c_mcc_macid_bitmap() 7487 RTW89_SET_FWCMD_MCC_MACID_BITMAP_BITMAP(skb->data, bitmap, map_len); in rtw89_fw_h2c_mcc_macid_bitmap()
|