| /linux-6.15/arch/x86/mm/ |
| H A D | init.c | 631 unsigned long map_end) in memory_map_top_down() argument 647 map_end); in memory_map_top_down() 650 real_end = max(map_start, ALIGN_DOWN(map_end, PMD_SIZE)); in memory_map_top_down() 685 if (real_end < map_end) in memory_map_top_down() 686 init_range_memory_mapping(real_end, map_end); in memory_map_top_down() 701 unsigned long map_end) in memory_map_bottom_up() argument 717 while (start < map_end) { in memory_map_bottom_up() 718 if (step_size && map_end - start > step_size) { in memory_map_bottom_up() 720 if (next > map_end) in memory_map_bottom_up() 721 next = map_end; in memory_map_bottom_up() [all …]
|
| /linux-6.15/arch/powerpc/platforms/ps3/ |
| H A D | gelic_udbg.c | 80 u64 map_end = (real_end + 0xfff) & ~0xfff; in map_dma_mem() local 86 map_end - map_start, 12, 0, in map_dma_mem() 92 bus_addr, map_end - map_start, in map_dma_mem()
|
| /linux-6.15/drivers/nvdimm/ |
| H A D | dimm_devs.c | 782 resource_size_t map_start, map_end, busy = 0; in nd_pmem_available_dpa() local 794 map_end = map_start + nd_mapping->size - 1; in nd_pmem_available_dpa() 800 if (start >= map_start && start < map_end) { in nd_pmem_available_dpa() 801 if (end > map_end) { in nd_pmem_available_dpa() 807 } else if (end >= map_start && end <= map_end) { in nd_pmem_available_dpa()
|
| H A D | namespace_devs.c | 1938 resource_size_t map_end = nd_mapping->start + nd_mapping->size - 1; in scan_labels() local 1954 nsl_get_dpa(ndd, nd_label) > map_end) in scan_labels()
|
| /linux-6.15/drivers/firmware/efi/ |
| H A D | memmap.c | 52 map.map_end = map.map + data->size; in __efi_memmap_init()
|
| /linux-6.15/arch/x86/platform/efi/ |
| H A D | efi.c | 275 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap() 570 return efi.memmap.map_end - efi.memmap.desc_size; in efi_map_next_entry_reverse() 618 if (entry >= efi.memmap.map_end) in efi_map_next_entry()
|
| H A D | memmap.c | 187 old < old_memmap->map_end; in efi_memmap_insert()
|
| /linux-6.15/drivers/xen/ |
| H A D | gntdev.c | 542 unsigned long map_start, map_end; in gntdev_invalidate() local 548 map_end = map->pages_vm_start + (map->count << PAGE_SHIFT); in gntdev_invalidate() 556 if (map_start >= range->end || map_end <= range->start) in gntdev_invalidate() 560 mend = min(range->end, map_end); in gntdev_invalidate() 562 map->index, map->count, map_start, map_end, in gntdev_invalidate()
|
| /linux-6.15/include/linux/ |
| H A D | efi.h | 566 void *map_end; member 802 (md) && ((void *)(md) + (m)->desc_size) <= (m)->map_end; \
|
| /linux-6.15/mm/ |
| H A D | swapfile.c | 177 unsigned char *map_end = map + nr_pages; in swap_only_has_cache() local 183 } while (++map < map_end); in swap_only_has_cache() 192 unsigned char *map_end = map + nr_pages; in swap_is_last_map() local 198 while (++map < map_end) { in swap_is_last_map() 1532 unsigned char *map_end = map + nr_pages; in swap_entry_range_free() local 1543 } while (++map < map_end); in swap_entry_range_free()
|
| /linux-6.15/fs/ocfs2/ |
| H A D | refcounttree.c | 2907 loff_t offset, end, map_end; in ocfs2_duplicate_clusters_by_page() local 2925 map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; in ocfs2_duplicate_clusters_by_page() 2926 if (map_end > end) in ocfs2_duplicate_clusters_by_page() 2927 map_end = end; in ocfs2_duplicate_clusters_by_page() 2932 if (map_end & (PAGE_SIZE - 1)) in ocfs2_duplicate_clusters_by_page() 2933 to = map_end & (PAGE_SIZE - 1); in ocfs2_duplicate_clusters_by_page() 2954 offset, map_end - 1); in ocfs2_duplicate_clusters_by_page() 2984 offset = map_end; in ocfs2_duplicate_clusters_by_page()
|
| /linux-6.15/drivers/pcmcia/ |
| H A D | rsrc_nonstatic.c | 614 unsigned long map_end = m->base + m->num - 1; in pcmcia_align() local 631 if ((start + size - 1) <= map_end) in pcmcia_align()
|
| /linux-6.15/drivers/vdpa/mlx5/core/ |
| H A D | mr.c | 123 static u64 map_end(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in map_end() function 130 return map_end(map, mr) - map_start(map, mr); in maplen()
|
| /linux-6.15/drivers/iommu/ |
| H A D | iommu.c | 1163 goto map_end; in iommu_create_device_direct_mappings() 1171 map_end: in iommu_create_device_direct_mappings()
|