Home
last modified time | relevance | path

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

12

/Linux-v5.4/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 …]
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c54 unsigned long high_limit; in radix__hugetlb_get_unmapped_area() local
57 high_limit = DEFAULT_MAP_WINDOW; in radix__hugetlb_get_unmapped_area()
58 if (addr >= high_limit || (fixed && (addr + len > high_limit))) in radix__hugetlb_get_unmapped_area()
59 high_limit = TASK_SIZE; in radix__hugetlb_get_unmapped_area()
63 if (len > high_limit) in radix__hugetlb_get_unmapped_area()
67 if (addr > high_limit - len) in radix__hugetlb_get_unmapped_area()
77 if (high_limit - len >= addr && addr >= mmap_min_addr && 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/x86/mm/
Dhugetlbpage.c95 info.high_limit = in_32bit_syscall() ? in hugetlb_get_unmapped_area_bottomup()
113 info.high_limit = get_mmap_base(0); in hugetlb_get_unmapped_area_topdown()
120 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in hugetlb_get_unmapped_area_topdown()
136 info.high_limit = TASK_SIZE_LOW; in hugetlb_get_unmapped_area_topdown()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/arch/x86/kernel/
Dsys_x86_64.c163 info.high_limit = end; in arch_get_unmapped_area()
214 info.high_limit = get_mmap_base(0); 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/s390/mm/
Dmmap.c101 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
152 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
170 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
/Linux-v5.4/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()
/Linux-v5.4/mm/
Dmmap.c1899 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area() local
1907 if (info->high_limit < length) in unmapped_area()
1909 high_limit = info->high_limit - length; in unmapped_area()
1911 if (info->low_limit > high_limit) in unmapped_area()
1938 if (gap_start > high_limit) in unmapped_area()
1974 if (gap_start > high_limit) in unmapped_area()
1985 VM_BUG_ON(gap_start + info->length > info->high_limit); in unmapped_area()
1994 unsigned long length, low_limit, high_limit, gap_start, gap_end; in unmapped_area_topdown() local
2005 gap_end = info->high_limit; in unmapped_area_topdown()
2008 high_limit = gap_end - length; in unmapped_area_topdown()
[all …]
/Linux-v5.4/arch/sparc/mm/
Dhugetlbpage.c43 info.high_limit = min(task_size, VA_EXCLUDE_START); in hugetlb_get_unmapped_area_bottomup()
51 info.high_limit = task_size; in hugetlb_get_unmapped_area_bottomup()
75 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
90 info.high_limit = STACK_TOP32; in hugetlb_get_unmapped_area_topdown()
/Linux-v5.4/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()
/Linux-v5.4/arch/csky/abiv1/
Dmmap.c67 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/Linux-v5.4/arch/arc/mm/
Dmmap.c72 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/Linux-v5.4/arch/nds32/mm/
Dmmap.c69 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/Linux-v5.4/arch/parisc/kernel/
Dsys_parisc.c123 info.high_limit = mmap_upper_limit(NULL); in arch_get_unmapped_area()
180 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/Linux-v5.4/arch/ia64/kernel/
Dsys_ia64.c64 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
/Linux-v5.4/arch/ia64/mm/
Dhugetlbpage.c162 info.high_limit = HPAGE_REGION_BASE + RGN_MAP_LIMIT; in hugetlb_get_unmapped_area()
/Linux-v5.4/include/rdma/
Dopa_port_info.h295 __be16 high_limit; member
/Linux-v5.4/include/net/
Dinet_hashtables.h235 unsigned long high_limit);
/Linux-v5.4/net/ipv4/
Dinet_hashtables.c775 unsigned long high_limit) in inet_hashinfo2_init() argument
785 high_limit); in inet_hashinfo2_init()
/Linux-v5.4/include/linux/
Dmemblock.h542 unsigned long high_limit);
/Linux-v5.4/arch/alpha/kernel/
Dosf_sys.c1292 info.high_limit = limit; in arch_get_unmapped_area_1()
/Linux-v5.4/fs/hugetlbfs/
Dinode.c229 info.high_limit = TASK_SIZE; in hugetlb_get_unmapped_area()

12