Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dmmap.c28 static inline int mmap_is_legacy(struct rlimit *rlim_stack) in mmap_is_legacy() argument
33 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()
66 struct rlimit *rlim_stack) in mmap_base() argument
68 unsigned long gap = rlim_stack->rlim_cur; in mmap_base()
187 struct rlimit *rlim_stack) in radix__arch_pick_mmap_layout() argument
189 if (mmap_is_legacy(rlim_stack)) { in radix__arch_pick_mmap_layout()
193 mm->mmap_base = mmap_base(random_factor, rlim_stack); in radix__arch_pick_mmap_layout()
201 struct rlimit *rlim_stack);
207 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument
216 rlim_stack); in arch_pick_mmap_layout()
[all …]
/arch/x86/mm/
Dmmap.c81 struct rlimit *rlim_stack) in mmap_base() argument
83 unsigned long gap = rlim_stack->rlim_cur; in mmap_base()
118 struct rlimit *rlim_stack) in arch_pick_mmap_base() argument
124 *base = mmap_base(random_factor, task_size, rlim_stack); in arch_pick_mmap_base()
127 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument
136 rlim_stack); in arch_pick_mmap_layout()
147 rlim_stack); in arch_pick_mmap_layout()
/arch/s390/mm/
Dmmap.c30 static inline int mmap_is_legacy(struct rlimit *rlim_stack) in mmap_is_legacy() argument
34 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()
50 struct rlimit *rlim_stack) in mmap_base() argument
52 unsigned long gap = rlim_stack->rlim_cur; in mmap_base()
191 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument
202 if (mmap_is_legacy(rlim_stack)) { in arch_pick_mmap_layout()
206 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
/arch/parisc/kernel/
Dsys_parisc.c64 static unsigned long mmap_upper_limit(struct rlimit *rlim_stack) in mmap_upper_limit() argument
69 stack_base = rlim_stack ? rlim_stack->rlim_max in mmap_upper_limit()
241 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument
244 mm->mmap_base = mmap_upper_limit(rlim_stack); in arch_pick_mmap_layout()
/arch/sparc/kernel/
Dsys_sparc_64.c280 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument
289 gap = rlim_stack->rlim_cur; in arch_pick_mmap_layout()