Home
last modified time | relevance | path

Searched refs:high_limit (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmmap.c97 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; in radix__arch_get_unmapped_area_topdown() local
144 high_limit = DEFAULT_MAP_WINDOW; in radix__arch_get_unmapped_area_topdown()
[all …]
Dslice.c118 unsigned long high_limit) in slice_mask_for_free() argument
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() argument
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() argument
346 if (high_limit > DEFAULT_MAP_WINDOW) in slice_find_area_topdown()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c52 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 - DEFAULT_MAP_WINDOW); in radix__hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/include/trace/events/
Dmmap.h22 __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-5.10/arch/x86/mm/
Dhugetlbpage.c93 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/
Dmmap.c74 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-5.10/arch/arm/mm/
Dmmap.c74 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/
Dmmap.c99 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()
Dhugetlbpage.c277 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/
Dsys_x86_64.c154 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-5.10/arch/mips/mm/
Dmmap.c81 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/
Dhugetlbpage.c42 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/mm/
Dmmap.c1972 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area() local
1980 if (info->high_limit < length) in unmapped_area()
1982 high_limit = info->high_limit - length; in unmapped_area()
1984 if (info->low_limit > high_limit) in unmapped_area()
2011 if (gap_start > high_limit) in unmapped_area()
2048 if (gap_start > high_limit) in unmapped_area()
2059 VM_BUG_ON(gap_start + info->length > info->high_limit); in unmapped_area()
2068 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area_topdown() local
2079 gap_end = info->high_limit; in unmapped_area_topdown()
2082 high_limit = gap_end - length; in unmapped_area_topdown()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc_64.c132 info.high_limit = min(task_size, VA_EXCLUDE_START); in arch_get_unmapped_area()
140 info.high_limit = task_size; in arch_get_unmapped_area()
195 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
210 info.high_limit = STACK_TOP32; in arch_get_unmapped_area_topdown()
Dsys_sparc_32.c65 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/kernel/linux/linux-5.10/arch/csky/abiv1/
Dmmap.c67 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/kernel/linux/linux-5.10/arch/nds32/mm/
Dmmap.c69 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/kernel/linux/linux-5.10/arch/arc/mm/
Dmmap.c72 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsys_ia64.c64 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/kernel/linux/common_modules/xpm/core/
Dxpm_hck_hooks.c76 info.high_limit = mm->xpm_region.addr_end; in xpm_get_unmapped_area()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsys_parisc.c124 info.high_limit = mmap_upper_limit(NULL); in arch_get_unmapped_area()
181 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/kernel/linux/linux-5.10/arch/ia64/mm/
Dhugetlbpage.c167 info.high_limit = HPAGE_REGION_BASE + RGN_MAP_LIMIT; in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/include/rdma/
Dopa_port_info.h260 __be16 high_limit; member
/kernel/linux/linux-5.10/include/net/
Dinet_hashtables.h236 unsigned long high_limit);
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c209 info.high_limit = arch_get_mmap_end(addr); in hugetlb_get_unmapped_area_bottomup()
225 info.high_limit = arch_get_mmap_base(addr, current->mm->mmap_base); in hugetlb_get_unmapped_area_topdown()
240 info.high_limit = arch_get_mmap_end(addr); in hugetlb_get_unmapped_area_topdown()

12