Home
last modified time | relevance | path

Searched refs:map_end (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/arch/ia64/mm/
Dinit.c433 struct page *map_start, *map_end; in create_mem_map_page_table() local
441 map_end = vmem_map + (__pa(end) >> PAGE_SHIFT); in create_mem_map_page_table()
444 end_page = PAGE_ALIGN((unsigned long) map_end); in create_mem_map_page_table()
479 struct page *map_start, *map_end; in virtual_memmap_init() local
483 map_end = vmem_map + (__pa(end) >> PAGE_SHIFT); in virtual_memmap_init()
487 if (map_end > args->end) in virtual_memmap_init()
488 map_end = args->end; in virtual_memmap_init()
496 map_end += ((PAGE_ALIGN((unsigned long) map_end) - (unsigned long) map_end) in virtual_memmap_init()
499 if (map_start < map_end) in virtual_memmap_init()
500 memmap_init_zone((unsigned long)(map_end - map_start), in virtual_memmap_init()
/Linux-v4.19/drivers/nvdimm/
Ddimm_devs.c434 resource_size_t map_end, blk_start, new; in alias_dpa_busy() local
456 map_end = nd_mapping->start + nd_mapping->size - 1; in alias_dpa_busy()
466 && info->res->start < map_end) in alias_dpa_busy()
480 if ((res->start >= blk_start && res->start < map_end) in alias_dpa_busy()
482 && res->end <= map_end)) { in alias_dpa_busy()
483 new = max(blk_start, min(map_end + 1, res->end + 1)); in alias_dpa_busy()
588 resource_size_t map_start, map_end, busy = 0, available, blk_start; in nd_pmem_available_dpa() local
597 map_end = map_start + nd_mapping->size - 1; in nd_pmem_available_dpa()
598 blk_start = max(map_start, map_end + 1 - *overlap); in nd_pmem_available_dpa()
600 if (res->start >= map_start && res->start < map_end) { in nd_pmem_available_dpa()
[all …]
Dnamespace_devs.c2295 resource_size_t map_end = nd_mapping->start + nd_mapping->size - 1; in scan_labels() local
2313 if (nd_label->dpa < nd_mapping->start || nd_label->dpa > map_end) in scan_labels()
/Linux-v4.19/arch/x86/mm/
Dinit.c560 unsigned long map_end) in memory_map_top_down() argument
568 addr = memblock_find_in_range(map_start, map_end, PMD_SIZE, PMD_SIZE); in memory_map_top_down()
598 if (real_end < map_end) in memory_map_top_down()
599 init_range_memory_mapping(real_end, map_end); in memory_map_top_down()
614 unsigned long map_end) in memory_map_bottom_up() argument
630 while (start < map_end) { in memory_map_bottom_up()
631 if (step_size && map_end - start > step_size) { in memory_map_bottom_up()
633 if (next > map_end) in memory_map_bottom_up()
634 next = map_end; in memory_map_bottom_up()
636 next = map_end; in memory_map_bottom_up()
/Linux-v4.19/arch/powerpc/platforms/ps3/
Dgelic_udbg.c84 u64 map_end = (real_end + 0xfff) & ~0xfff; in map_dma_mem() local
90 map_end - map_start, 12, 0, in map_dma_mem()
96 bus_addr, map_end - map_start, in map_dma_mem()
/Linux-v4.19/drivers/firmware/efi/
Dmemmap.c91 map.map_end = map.map + data->size; in __efi_memmap_init()
279 old < old_memmap->map_end; in efi_memmap_insert()
/Linux-v4.19/arch/x86/platform/efi/
Defi.c257 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap()
687 return efi.memmap.map_end - efi.memmap.desc_size; in efi_map_next_entry_reverse()
735 if (entry >= efi.memmap.map_end) in efi_map_next_entry()
/Linux-v4.19/fs/ocfs2/
Drefcounttree.c2922 loff_t offset, end, map_end; in ocfs2_duplicate_clusters_by_page() local
2939 map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; in ocfs2_duplicate_clusters_by_page()
2940 if (map_end > end) in ocfs2_duplicate_clusters_by_page()
2941 map_end = end; in ocfs2_duplicate_clusters_by_page()
2946 if (map_end & (PAGE_SIZE - 1)) in ocfs2_duplicate_clusters_by_page()
2947 to = map_end & (PAGE_SIZE - 1); in ocfs2_duplicate_clusters_by_page()
2998 offset = map_end; in ocfs2_duplicate_clusters_by_page()
3156 loff_t offset, end, map_end; in ocfs2_cow_sync_writeback() local
3175 map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; in ocfs2_cow_sync_writeback()
3176 if (map_end > end) in ocfs2_cow_sync_writeback()
[all …]
/Linux-v4.19/drivers/pcmcia/
Drsrc_nonstatic.c617 unsigned long map_end = m->base + m->num - 1; in pcmcia_align() local
634 if ((start + size - 1) <= map_end) in pcmcia_align()
/Linux-v4.19/include/linux/
Defi.h771 void *map_end; member
1097 (md) && ((void *)(md) + (m)->desc_size) <= (m)->map_end; \
/Linux-v4.19/drivers/firmware/efi/libstub/
Defi-stub-helper.c151 map.map_end = map.map + map_size; in get_dram_base()