Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/include/asm/
Dtask_size_64.h64 #define DEFAULT_MAP_WINDOW \ macro
67 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
76 (((addr) > DEFAULT_MAP_WINDOW) ? (base) + TASK_SIZE - DEFAULT_MAP_WINDOW : (base))
79 (((addr) > DEFAULT_MAP_WINDOW) || \
80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
81 DEFAULT_MAP_WINDOW)
Dtask_size_32.h17 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
/linux-6.6.21/arch/arm64/include/asm/
Dprocessor.h71 #define DEFAULT_MAP_WINDOW (test_thread_flag(TIF_32BIT) ? \ macro
75 #define DEFAULT_MAP_WINDOW DEFAULT_MAP_WINDOW_64 macro
83 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
96 (((addr) > DEFAULT_MAP_WINDOW) ? TASK_SIZE : DEFAULT_MAP_WINDOW)
98 #define arch_get_mmap_base(addr, base) ((addr > DEFAULT_MAP_WINDOW) ? \
99 base + TASK_SIZE - DEFAULT_MAP_WINDOW :\
/linux-6.6.21/arch/riscv/include/asm/
Dprocessor.h17 #define DEFAULT_MAP_WINDOW (UL(1) << (MMAP_VA_BITS - 1)) macro
40 unsigned long rnd_gap = DEFAULT_MAP_WINDOW - (_base); \
53 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
58 #define STACK_TOP DEFAULT_MAP_WINDOW
Delf.h53 #define ELF_ET_DYN_BASE ((DEFAULT_MAP_WINDOW / 3) * 2)
/linux-6.6.21/arch/x86/mm/
Dmmap.c38 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.c65 task_size_32bit() : task_size_64bit(addr > DEFAULT_MAP_WINDOW); in hugetlb_get_unmapped_area_bottomup()
88 if (addr > DEFAULT_MAP_WINDOW && !in_32bit_syscall()) in hugetlb_get_unmapped_area_topdown()
89 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in hugetlb_get_unmapped_area_topdown()
/linux-6.6.21/arch/x86/include/asm/
Dpage_64_types.h65 #define DEFAULT_MAP_WINDOW ((1UL << 47) - PAGE_SIZE) macro
74 IA32_PAGE_OFFSET : DEFAULT_MAP_WINDOW)
Dpage_32_types.h51 #define DEFAULT_MAP_WINDOW TASK_SIZE macro
Delf.h238 (DEFAULT_MAP_WINDOW / 3 * 2))
/linux-6.6.21/arch/x86/kernel/
Dsys_x86_64.c119 *end = task_size_64bit(addr > DEFAULT_MAP_WINDOW); in find_start_end()
210 if (addr > DEFAULT_MAP_WINDOW && !in_32bit_syscall()) in arch_get_unmapped_area_topdown()
211 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in arch_get_unmapped_area_topdown()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dslice.c342 if (high_limit > DEFAULT_MAP_WINDOW) in slice_find_area_topdown()
343 addr += mm_ctx_slb_addr_limit(&mm->context) - DEFAULT_MAP_WINDOW; in slice_find_area_topdown()
440 high_limit = DEFAULT_MAP_WINDOW; in slice_get_unmapped_area()
726 mm_ctx_set_slb_addr_limit(&mm->context, DEFAULT_MAP_WINDOW); in slice_setup_new_exec()
/linux-6.6.21/arch/x86/entry/vdso/
Dvma.c302 if (end >= DEFAULT_MAP_WINDOW) in vdso_addr()
303 end = DEFAULT_MAP_WINDOW; in vdso_addr()
/linux-6.6.21/arch/powerpc/lib/
Dcode-patching.c164 addr = (1 + (get_random_long() % (DEFAULT_MAP_WINDOW / PAGE_SIZE - 2))) << PAGE_SHIFT; in text_area_cpu_up_mm()