Home
last modified time | relevance | path

Searched refs:random_factor (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/arch/powerpc/mm/
Dmmap.c200 unsigned long random_factor, in radix__arch_pick_mmap_layout() argument
207 mm->mmap_base = mmap_base(random_factor, rlim_stack); in radix__arch_pick_mmap_layout()
214 unsigned long random_factor,
223 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
226 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
229 return radix__arch_pick_mmap_layout(mm, random_factor, in arch_pick_mmap_layout()
239 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/Linux-v4.19/arch/arm64/mm/
Dmmap.c88 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
91 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
98 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
101 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/Linux-v4.19/arch/mips/mm/
Dmmap.c163 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
166 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
169 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
172 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/Linux-v4.19/arch/arm/mm/
Dmmap.c185 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
188 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
191 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
194 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/Linux-v4.19/arch/s390/mm/
Dmmap.c190 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
193 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
200 mm->mmap_base = mmap_base_legacy(random_factor); in arch_pick_mmap_layout()
203 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/Linux-v4.19/arch/x86/mm/
Dmmap.c130 unsigned long random_factor, unsigned long task_size, in arch_pick_mmap_base() argument
133 *legacy_base = mmap_legacy_base(random_factor, task_size); in arch_pick_mmap_base()
137 *base = mmap_base(random_factor, task_size, rlim_stack); in arch_pick_mmap_base()
/Linux-v4.19/arch/sparc/kernel/
Dsys_sparc_64.c281 unsigned long random_factor = mmap_rnd(); in arch_pick_mmap_layout() local
293 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
304 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()