Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmmap.c186 unsigned long random_factor, in radix__arch_pick_mmap_layout() argument
193 mm->mmap_base = mmap_base(random_factor, rlim_stack); in radix__arch_pick_mmap_layout()
200 unsigned long random_factor,
209 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
212 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
215 return radix__arch_pick_mmap_layout(mm, random_factor, in arch_pick_mmap_layout()
225 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/kernel/linux/linux-5.10/arch/s390/mm/
Dmmap.c174 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
177 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
184 mm->mmap_base = mmap_base_legacy(random_factor); in arch_pick_mmap_layout()
187 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/kernel/linux/linux-5.10/arch/x86/mm/
Dmmap.c119 unsigned long random_factor, unsigned long task_size, in arch_pick_mmap_base() argument
122 *legacy_base = mmap_legacy_base(random_factor, task_size); in arch_pick_mmap_base()
126 *base = mmap_base(random_factor, task_size, rlim_stack); in arch_pick_mmap_base()
/kernel/linux/linux-5.10/mm/
Dutil.c431 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
434 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
437 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
440 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc_64.c282 unsigned long random_factor = mmap_rnd(); in arch_pick_mmap_layout() local
294 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()