Searched refs:rlim_stack (Results 1 – 5 of 5) sorted by relevance
28 static inline int mmap_is_legacy(struct rlimit *rlim_stack) in mmap_is_legacy() argument33 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()66 struct rlimit *rlim_stack) in mmap_base() argument68 unsigned long gap = rlim_stack->rlim_cur; in mmap_base()187 struct rlimit *rlim_stack) in radix__arch_pick_mmap_layout() argument189 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() argument216 rlim_stack); in arch_pick_mmap_layout()[all …]
81 struct rlimit *rlim_stack) in mmap_base() argument83 unsigned long gap = rlim_stack->rlim_cur; in mmap_base()118 struct rlimit *rlim_stack) in arch_pick_mmap_base() argument124 *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() argument136 rlim_stack); in arch_pick_mmap_layout()147 rlim_stack); in arch_pick_mmap_layout()
30 static inline int mmap_is_legacy(struct rlimit *rlim_stack) in mmap_is_legacy() argument34 if (rlim_stack->rlim_cur == RLIM_INFINITY) in mmap_is_legacy()50 struct rlimit *rlim_stack) in mmap_base() argument52 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() argument202 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()
64 static unsigned long mmap_upper_limit(struct rlimit *rlim_stack) in mmap_upper_limit() argument69 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() argument244 mm->mmap_base = mmap_upper_limit(rlim_stack); in arch_pick_mmap_layout()
280 void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack) in arch_pick_mmap_layout() argument289 gap = rlim_stack->rlim_cur; in arch_pick_mmap_layout()