Home
last modified time | relevance | path

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

/linux-6.12.1/arch/s390/mm/
Dmmap.c176 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
179 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
186 mm->mmap_base = mmap_base_legacy(random_factor); in arch_pick_mmap_layout()
189 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/linux-6.12.1/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.12.1/mm/
Dutil.c477 unsigned long random_factor = 0UL; in arch_pick_mmap_layout() local
480 random_factor = arch_mmap_rnd(); in arch_pick_mmap_layout()
483 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
486 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/linux-6.12.1/arch/sparc/kernel/
Dsys_sparc_64.c278 unsigned long random_factor = mmap_rnd(); in arch_pick_mmap_layout() local
290 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
301 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()