/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | mmap.c | 97 unsigned long high_limit; in radix__arch_get_unmapped_area() local 100 high_limit = DEFAULT_MAP_WINDOW; in radix__arch_get_unmapped_area() 101 if (addr >= high_limit || (fixed && (addr + len > high_limit))) in radix__arch_get_unmapped_area() 102 high_limit = TASK_SIZE; in radix__arch_get_unmapped_area() 104 if (len > high_limit) in radix__arch_get_unmapped_area() 108 if (addr > high_limit - len) in radix__arch_get_unmapped_area() 116 if (high_limit - len >= addr && addr >= mmap_min_addr && in radix__arch_get_unmapped_area() 124 info.high_limit = high_limit; in radix__arch_get_unmapped_area() 141 unsigned long high_limit; radix__arch_get_unmapped_area_topdown() local [all...] |
H A D | slice.c | 118 unsigned long high_limit) in slice_mask_for_free() 130 if (slice_addr_is_low(high_limit - 1)) in slice_mask_for_free() 133 for (i = 0; i < GET_HIGH_SLICE_INDEX(high_limit); i++) in slice_mask_for_free() 281 int psize, unsigned long high_limit) in slice_find_area_bottomup() 296 while (addr < high_limit) { in slice_find_area_bottomup() 308 if (addr >= high_limit) in slice_find_area_bottomup() 309 addr = high_limit; in slice_find_area_bottomup() 314 info.high_limit = addr; in slice_find_area_bottomup() 327 int psize, unsigned long high_limit) in slice_find_area_topdown() 343 * Only for that request for which high_limit i in slice_find_area_topdown() 117 slice_mask_for_free(struct mm_struct *mm, struct slice_mask *ret, unsigned long high_limit) slice_mask_for_free() argument 278 slice_find_area_bottomup(struct mm_struct *mm, unsigned long len, const struct slice_mask *available, int psize, unsigned long high_limit) slice_find_area_bottomup() argument 324 slice_find_area_topdown(struct mm_struct *mm, unsigned long len, const struct slice_mask *available, int psize, unsigned long high_limit) slice_find_area_topdown() argument 384 slice_find_area(struct mm_struct *mm, unsigned long len, const struct slice_mask *mask, int psize, int topdown, unsigned long high_limit) slice_find_area() argument 442 unsigned long high_limit; slice_get_unmapped_area() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | radix_hugetlbpage.c | 52 unsigned long high_limit; in radix__hugetlb_get_unmapped_area() local 55 high_limit = DEFAULT_MAP_WINDOW; in radix__hugetlb_get_unmapped_area() 56 if (addr >= high_limit || (fixed && (addr + len > high_limit))) in radix__hugetlb_get_unmapped_area() 57 high_limit = TASK_SIZE; in radix__hugetlb_get_unmapped_area() 61 if (len > high_limit) in radix__hugetlb_get_unmapped_area() 65 if (addr > high_limit - len) in radix__hugetlb_get_unmapped_area() 75 if (high_limit - len >= addr && addr >= mmap_min_addr && in radix__hugetlb_get_unmapped_area() 86 info.high_limit = mm->mmap_base + (high_limit in radix__hugetlb_get_unmapped_area() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | slice.c | 118 unsigned long high_limit) in slice_mask_for_free() 130 if (slice_addr_is_low(high_limit - 1)) in slice_mask_for_free() 133 for (i = 0; i < GET_HIGH_SLICE_INDEX(high_limit); i++) in slice_mask_for_free() 281 int psize, unsigned long high_limit) in slice_find_area_bottomup() 294 while (addr < high_limit) { in slice_find_area_bottomup() 306 if (addr >= high_limit) in slice_find_area_bottomup() 307 addr = high_limit; in slice_find_area_bottomup() 312 info.high_limit = addr; in slice_find_area_bottomup() 325 int psize, unsigned long high_limit) in slice_find_area_topdown() 339 * Only for that request for which high_limit i in slice_find_area_topdown() 117 slice_mask_for_free(struct mm_struct *mm, struct slice_mask *ret, unsigned long high_limit) slice_mask_for_free() argument 278 slice_find_area_bottomup(struct mm_struct *mm, unsigned long addr, unsigned long len, const struct slice_mask *available, int psize, unsigned long high_limit) slice_find_area_bottomup() argument 322 slice_find_area_topdown(struct mm_struct *mm, unsigned long addr, unsigned long len, const struct slice_mask *available, int psize, unsigned long high_limit) slice_find_area_topdown() argument 380 slice_find_area(struct mm_struct *mm, unsigned long len, const struct slice_mask *mask, int psize, int topdown, unsigned long high_limit) slice_find_area() argument 438 unsigned long high_limit; slice_get_unmapped_area() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | mmap.h | 22 __field(unsigned long, high_limit) 33 __entry->high_limit = info->high_limit; 42 __entry->low_limit, __entry->high_limit, __entry->align_mask,
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | mmap.h | 22 __field(unsigned long, high_limit) 33 __entry->high_limit = info->high_limit; 42 __entry->low_limit, __entry->high_limit, __entry->align_mask,
|
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | hugetlbpage.c | 64 info.high_limit = in_32bit_syscall() ? in hugetlb_get_unmapped_area_bottomup() 82 info.high_limit = get_mmap_base(0); in hugetlb_get_unmapped_area_topdown() 89 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in hugetlb_get_unmapped_area_topdown() 105 info.high_limit = TASK_SIZE_LOW; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | hugetlbpage.c | 93 info.high_limit = in_32bit_syscall() ? in hugetlb_get_unmapped_area_bottomup() 111 info.high_limit = get_mmap_base(0); in hugetlb_get_unmapped_area_topdown() 118 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in hugetlb_get_unmapped_area_topdown() 134 info.high_limit = TASK_SIZE_LOW; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | mmap.c | 74 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 124 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 139 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | mmap.c | 74 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 125 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 140 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | mmap.c | 74 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 125 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 140 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
H A D | mmap.c | 99 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 140 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 158 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
H A D | hugetlbpage.c | 277 info.high_limit = TASK_SIZE; in hugetlb_get_unmapped_area_bottomup() 294 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown() 309 info.high_limit = TASK_SIZE; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | sys_x86_64.c | 154 info.high_limit = end; in arch_get_unmapped_area() 201 info.high_limit = get_mmap_base(0); in arch_get_unmapped_area_topdown() 211 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-6.6/arch/sh/mm/ |
H A D | mmap.c | 94 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 144 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 159 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | sys_x86_64.c | 150 info.high_limit = end; in arch_get_unmapped_area() 201 info.high_limit = get_mmap_base(0); in arch_get_unmapped_area_topdown() 211 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-6.6/arch/s390/mm/ |
H A D | mmap.c | 99 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 140 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 158 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
H A D | hugetlbpage.c | 266 info.high_limit = TASK_SIZE; in hugetlb_get_unmapped_area_bottomup() 283 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown() 298 info.high_limit = TASK_SIZE; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/loongarch/mm/ |
H A D | mmap.c | 71 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common() 87 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | mmap.c | 81 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common() 97 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
/kernel/linux/linux-6.6/arch/loongarch/mm/ |
H A D | mmap.c | 71 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common() 87 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | mmap.c | 81 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common() 97 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | hugetlbpage.c | 42 info.high_limit = min(task_size, VA_EXCLUDE_START); in hugetlb_get_unmapped_area_bottomup() 50 info.high_limit = task_size; in hugetlb_get_unmapped_area_bottomup() 74 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown() 89 info.high_limit = STACK_TOP32; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | hugetlbpage.c | 42 info.high_limit = min(task_size, VA_EXCLUDE_START); in hugetlb_get_unmapped_area_bottomup() 50 info.high_limit = task_size; in hugetlb_get_unmapped_area_bottomup() 74 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown() 89 info.high_limit = STACK_TOP32; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/csky/abiv1/ |
H A D | mmap.c | 67 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
|