Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/mm/
Dutil.c448 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
451 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
454 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
457 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/linux-6.6.21/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()