/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 65 size_t map_len; in main() local 98 map_len = ram >> (HPAGE_SHIFT - 1); in main() 99 map = malloc(map_len); in main() 106 memset(map, 0, map_len); in main() 120 if (idx >= map_len) { in main() 124 memset(map + map_len, 0, idx + 1 - map_len); in main() 125 map_len = idx + 1; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/ |
D | ionapp_import.c | 25 unsigned long map_len; in main() local 64 map_len = info.buflen; in main() 65 read_buffer(map_buf, map_len); in main() 68 map_len = ION_BUFFER_LEN; in main() 69 write_buffer(map_buf, map_len); in main()
|
D | ionapp_export.c | 34 unsigned long map_len, heap_type, heap_size, flags; in main() local 105 map_len = info.buflen; in main() 106 write_buffer(map_buf, map_len); in main() 111 skinfo.buflen = map_len; in main()
|
D | ionutils.c | 154 unsigned long map_len; in ion_import_buffer_fd() local 161 map_len = ion_info->buflen; in ion_import_buffer_fd() 164 if (buffd < 0 || map_len <= 0) { in ion_import_buffer_fd() 166 __func__, buffd, map_len); in ion_import_buffer_fd() 170 map_buf = (unsigned char *)mmap(NULL, map_len, PROT_READ|PROT_WRITE, in ion_import_buffer_fd() 179 ion_info->buflen = map_len; in ion_import_buffer_fd()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | devicetree.c | 292 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() 310 early_memunmap(dt, map_len); in x86_flattree_get_config()
|
/kernel/linux/linux-5.10/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 = (mem->end - mem->start + 1); in dw_spi_bt1_sys_init()
|
/kernel/linux/linux-5.10/drivers/of/ |
D | base.c | 1558 int i, ret, map_len, match; in of_parse_phandle_with_args_map() local 1599 map = of_get_property(cur, map_name, &map_len); in of_parse_phandle_with_args_map() 1604 map_len /= sizeof(u32); in of_parse_phandle_with_args_map() 1612 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1615 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1621 map_len--; in of_parse_phandle_with_args_map() 1637 if (map_len < new_size) in of_parse_phandle_with_args_map() 1642 map_len -= new_size; in of_parse_phandle_with_args_map() 2233 int map_len; in of_map_id() local 2239 map = of_get_property(np, map_name, &map_len); in of_map_id() [all …]
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | extent_map.h | 41 u64 map_start, u64 map_len); 44 u64 map_start, u64 map_len);
|
D | extent_map.c | 737 u64 map_start, u64 map_len) in ocfs2_fiemap() argument 747 ret = fiemap_prep(inode, fieinfo, map_start, &map_len, 0); in ocfs2_fiemap() 770 map_start + map_len); in ocfs2_fiemap() 822 u64 map_start, u64 map_len) in ocfs2_overwrite_io() argument 830 if (ocfs2_size_fits_inline_data(di_bh, map_start + map_len)) in ocfs2_overwrite_io() 838 map_start + map_len); in ocfs2_overwrite_io()
|
/kernel/linux/linux-5.10/fs/ |
D | dax.c | 1147 ssize_t map_len; in dax_iomap_actor() local 1160 map_len = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_actor() 1162 if (map_len < 0) { in dax_iomap_actor() 1163 ret = map_len; in dax_iomap_actor() 1167 map_len = PFN_PHYS(map_len); in dax_iomap_actor() 1169 map_len -= offset; in dax_iomap_actor() 1170 if (map_len > end - pos) in dax_iomap_actor() 1171 map_len = end - pos; in dax_iomap_actor() 1180 map_len, iter); in dax_iomap_actor() 1183 map_len, iter); in dax_iomap_actor() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | trace.h | 554 unsigned short map_len, unsigned int chunk_ino, 557 TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, 564 __field(unsigned short, map_len) 576 __entry->map_len = map_len; 588 __entry->map_len,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/ |
D | slic.h | 503 DEFINE_DMA_UNMAP_LEN(map_len); 526 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()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | extents.c | 3435 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() local 3441 (unsigned long long)map->m_lblk, map_len); in ext4_ext_convert_to_initialized() 3446 if (eof_block < map->m_lblk + map_len) in ext4_ext_convert_to_initialized() 3447 eof_block = map->m_lblk + map_len; in ext4_ext_convert_to_initialized() 3480 (map_len < ee_len) && /*L1*/ in ext4_ext_convert_to_initialized() 3504 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized() 3513 ex->ee_block = cpu_to_le32(ee_block + map_len); in ext4_ext_convert_to_initialized() 3514 ext4_ext_store_pblock(ex, ee_pblk + map_len); in ext4_ext_convert_to_initialized() 3515 ex->ee_len = cpu_to_le16(ee_len - map_len); in ext4_ext_convert_to_initialized() 3519 abut_ex->ee_len = cpu_to_le16(prev_len + map_len); in ext4_ext_convert_to_initialized() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1703 u16 map_len = 0; in atl1e_tx_map() local 1716 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); 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()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | xsk.c | 509 __u32 map_len = sizeof(struct bpf_map_info); in xsk_lookup_bpf_maps() local 540 memset(&map_info, 0, map_len); in xsk_lookup_bpf_maps() 541 err = bpf_obj_get_info_by_fd(fd, &map_info, &map_len); in xsk_lookup_bpf_maps()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | btf.c | 722 __u32 map_len = sizeof(map_info); in build_btf_tables() local 731 &map_len); in build_btf_tables()
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_bmap_util.c | 643 xfs_filblks_t map_len; in xfs_free_eofblocks() local 656 map_len = last_fsb - end_fsb; in xfs_free_eofblocks() 660 error = xfs_bmapi_read(ip, end_fsb, map_len, &imap, &nimaps, 0); in xfs_free_eofblocks()
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 597 unsigned int map_len = 0; in qtnf_cmd_sta_info_parse() local 602 (qtnf_utils_is_bit_set(map, bitn, map_len) && \ in qtnf_cmd_sta_info_parse() 610 map_len = tlv_len; in qtnf_cmd_sta_info_parse() 2381 unsigned int map_len = 0; in qtnf_cmd_resp_proc_chan_stat_info() local 2391 map_len = tlv_value_len; in qtnf_cmd_resp_proc_chan_stat_info() 2412 (qtnf_utils_is_bit_set(map, bitn, map_len) && \ in qtnf_cmd_resp_proc_chan_stat_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2094 u16 map_len = 0; in atl1c_tx_map() local 2105 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_tx_map() 2109 buffer_info->length = map_len; in atl1c_tx_map() 2118 mapped_len += map_len; in atl1c_tx_map()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | btrfs.h | 343 __field( u64, map_len ) 352 __entry->map_len = map->len; 365 __entry->map_len)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_edid.c | 4233 u8 map_len = cea_db_payload_len(db) - 1; in drm_parse_y420cmdb_bitmap() local 4237 if (map_len == 0) { in drm_parse_y420cmdb_bitmap() 4256 if (WARN_ON_ONCE(map_len > 8)) in drm_parse_y420cmdb_bitmap() 4257 map_len = 8; in drm_parse_y420cmdb_bitmap() 4259 for (count = 0; count < map_len; count++) in drm_parse_y420cmdb_bitmap()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 471 u32 map_len = roundup(sizeof(u32) * 2048, PAGE_SIZE); in ocrdma_alloc_ucontext() local 478 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, in ocrdma_alloc_ucontext() 483 ctx->ah_tbl.len = map_len; in ocrdma_alloc_ucontext()
|