Home
last modified time | relevance | path

Searched refs:DEFAULT_MAP_WINDOW (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/arch/arm64/include/asm/
Dprocessor.h61 #define DEFAULT_MAP_WINDOW (test_thread_flag(TIF_32BIT) ? \ macro
65 #define DEFAULT_MAP_WINDOW DEFAULT_MAP_WINDOW_64 macro
73 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
85 #define arch_get_mmap_end(addr) ((addr > DEFAULT_MAP_WINDOW) ? TASK_SIZE :\
86 DEFAULT_MAP_WINDOW)
88 #define arch_get_mmap_base(addr, base) ((addr > DEFAULT_MAP_WINDOW) ? \
89 base + TASK_SIZE - DEFAULT_MAP_WINDOW :\
/Linux-v5.4/arch/powerpc/mm/
Dmmap.c80 return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); in mmap_base()
100 high_limit = DEFAULT_MAP_WINDOW; in radix__arch_get_unmapped_area()
144 high_limit = DEFAULT_MAP_WINDOW; in radix__arch_get_unmapped_area_topdown()
168 info.high_limit = mm->mmap_base + (high_limit - DEFAULT_MAP_WINDOW); in radix__arch_get_unmapped_area_topdown()
Dslice.c346 if (high_limit > DEFAULT_MAP_WINDOW) in slice_find_area_topdown()
347 addr += mm_ctx_slb_addr_limit(&mm->context) - DEFAULT_MAP_WINDOW; in slice_find_area_topdown()
444 high_limit = DEFAULT_MAP_WINDOW; in slice_get_unmapped_area()
725 mm_ctx_set_slb_addr_limit(&mm->context, DEFAULT_MAP_WINDOW); in slice_setup_new_exec()
/Linux-v5.4/arch/powerpc/include/asm/
Dtask_size_64.h68 #define DEFAULT_MAP_WINDOW \ macro
71 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
Dtask_size_32.h17 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
/Linux-v5.4/arch/x86/mm/
Dmmap.c36 return full_addr_space ? TASK_SIZE_MAX : DEFAULT_MAP_WINDOW; in task_size_64bit()
214 return (addr > DEFAULT_MAP_WINDOW) == (addr + len > DEFAULT_MAP_WINDOW); in mmap_address_hint_valid()
Dhugetlbpage.c96 task_size_32bit() : task_size_64bit(addr > DEFAULT_MAP_WINDOW); in hugetlb_get_unmapped_area_bottomup()
119 if (addr > DEFAULT_MAP_WINDOW && !in_32bit_syscall()) in hugetlb_get_unmapped_area_topdown()
120 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in hugetlb_get_unmapped_area_topdown()
Dmpx.c233 if (find_vma(mm, DEFAULT_MAP_WINDOW)) { in mpx_enable_management()
924 if (addr + len <= DEFAULT_MAP_WINDOW) in mpx_unmapped_area_check()
933 if (len > DEFAULT_MAP_WINDOW) in mpx_unmapped_area_check()
/Linux-v5.4/arch/x86/kernel/
Dsys_x86_64.c128 *end = task_size_64bit(addr > DEFAULT_MAP_WINDOW); in find_start_end()
223 if (addr > DEFAULT_MAP_WINDOW && !in_32bit_syscall()) in arch_get_unmapped_area_topdown()
224 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in arch_get_unmapped_area_topdown()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c57 high_limit = DEFAULT_MAP_WINDOW; in radix__hugetlb_get_unmapped_area()
88 info.high_limit = mm->mmap_base + (high_limit - DEFAULT_MAP_WINDOW); in radix__hugetlb_get_unmapped_area()
/Linux-v5.4/arch/powerpc/include/asm/nohash/32/
Dslice.h16 #define SLB_ADDR_LIMIT_DEFAULT DEFAULT_MAP_WINDOW
/Linux-v5.4/arch/x86/include/asm/
Dprocessor.h837 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
871 #define DEFAULT_MAP_WINDOW ((1UL << 47) - PAGE_SIZE) macro
880 IA32_PAGE_OFFSET : DEFAULT_MAP_WINDOW)
Delf.h255 (DEFAULT_MAP_WINDOW / 3 * 2))