Home
last modified time | relevance | path

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

/Linux-v5.4/arch/ia64/mm/
Dinit.c430 struct page *map_start, *map_end; in create_mem_map_page_table() local
438 map_end = vmem_map + (__pa(end) >> PAGE_SHIFT); in create_mem_map_page_table()
441 end_page = PAGE_ALIGN((unsigned long) map_end); in create_mem_map_page_table()
498 struct page *map_start, *map_end; in virtual_memmap_init() local
502 map_end = vmem_map + (__pa(end) >> PAGE_SHIFT); in virtual_memmap_init()
506 if (map_end > args->end) in virtual_memmap_init()
507 map_end = args->end; in virtual_memmap_init()
515 map_end += ((PAGE_ALIGN((unsigned long) map_end) - (unsigned long) map_end) in virtual_memmap_init()
518 if (map_start < map_end) in virtual_memmap_init()
519 memmap_init_zone((unsigned long)(map_end - map_start), in virtual_memmap_init()
/Linux-v5.4/drivers/nvdimm/
Ddimm_devs.c561 resource_size_t map_end, blk_start, new; in alias_dpa_busy() local
583 map_end = nd_mapping->start + nd_mapping->size - 1; in alias_dpa_busy()
593 && info->res->start < map_end) in alias_dpa_busy()
607 if ((res->start >= blk_start && res->start < map_end) in alias_dpa_busy()
609 && res->end <= map_end)) { in alias_dpa_busy()
610 new = max(blk_start, min(map_end + 1, res->end + 1)); in alias_dpa_busy()
715 resource_size_t map_start, map_end, busy = 0, available, blk_start; in nd_pmem_available_dpa() local
724 map_end = map_start + nd_mapping->size - 1; in nd_pmem_available_dpa()
725 blk_start = max(map_start, map_end + 1 - *overlap); in nd_pmem_available_dpa()
727 if (res->start >= map_start && res->start < map_end) { in nd_pmem_available_dpa()
[all …]
Dnamespace_devs.c2307 resource_size_t map_end = nd_mapping->start + nd_mapping->size - 1; in scan_labels() local
2326 __le64_to_cpu(nd_label->dpa) > map_end) in scan_labels()
/Linux-v5.4/arch/x86/mm/
Dinit.c562 unsigned long map_end) in memory_map_top_down() argument
570 addr = memblock_find_in_range(map_start, map_end, PMD_SIZE, PMD_SIZE); in memory_map_top_down()
600 if (real_end < map_end) in memory_map_top_down()
601 init_range_memory_mapping(real_end, map_end); in memory_map_top_down()
616 unsigned long map_end) in memory_map_bottom_up() argument
632 while (start < map_end) { in memory_map_bottom_up()
633 if (step_size && map_end - start > step_size) { in memory_map_bottom_up()
635 if (next > map_end) in memory_map_bottom_up()
636 next = map_end; in memory_map_bottom_up()
638 next = map_end; in memory_map_bottom_up()
/Linux-v5.4/arch/powerpc/platforms/ps3/
Dgelic_udbg.c79 u64 map_end = (real_end + 0xfff) & ~0xfff; in map_dma_mem() local
85 map_end - map_start, 12, 0, in map_dma_mem()
91 bus_addr, map_end - map_start, in map_dma_mem()
/Linux-v5.4/drivers/firmware/efi/
Dmemmap.c91 map.map_end = map.map + data->size; in __efi_memmap_init()
282 old < old_memmap->map_end; in efi_memmap_insert()
/Linux-v5.4/arch/x86/platform/efi/
Defi.c281 const efi_memory_desc_t *end = efi.memmap.map_end; in efi_clean_memmap()
711 return efi.memmap.map_end - efi.memmap.desc_size; in efi_map_next_entry_reverse()
759 if (entry >= efi.memmap.map_end) in efi_map_next_entry()
/Linux-v5.4/fs/ocfs2/
Drefcounttree.c2914 loff_t offset, end, map_end; in ocfs2_duplicate_clusters_by_page() local
2931 map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; in ocfs2_duplicate_clusters_by_page()
2932 if (map_end > end) in ocfs2_duplicate_clusters_by_page()
2933 map_end = end; in ocfs2_duplicate_clusters_by_page()
2938 if (map_end & (PAGE_SIZE - 1)) in ocfs2_duplicate_clusters_by_page()
2939 to = map_end & (PAGE_SIZE - 1); in ocfs2_duplicate_clusters_by_page()
2990 offset = map_end; in ocfs2_duplicate_clusters_by_page()
3148 loff_t offset, end, map_end; in ocfs2_cow_sync_writeback() local
3167 map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; in ocfs2_cow_sync_writeback()
3168 if (map_end > end) in ocfs2_cow_sync_writeback()
[all …]
/Linux-v5.4/drivers/pcmcia/
Drsrc_nonstatic.c614 unsigned long map_end = m->base + m->num - 1; in pcmcia_align() local
631 if ((start + size - 1) <= map_end) in pcmcia_align()
/Linux-v5.4/include/linux/
Defi.h793 void *map_end; member
1138 (md) && ((void *)(md) + (m)->desc_size) <= (m)->map_end; \
/Linux-v5.4/drivers/firmware/efi/libstub/
Defi-stub-helper.c153 map.map_end = map.map + map_size; in get_dram_base()