Searched refs:mlock_future_ok (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/mm/ |
H A D | secretmem.c | 130 if (!mlock_future_ok(vma->vm_mm, vma->vm_flags | VM_LOCKED, len)) in secretmem_mmap()
|
H A D | mmap.c | 172 return mlock_future_ok(current->mm, current->mm->def_flags, len) in check_brk_limits() 1158 bool mlock_future_ok(struct mm_struct *mm, unsigned long flags, in mlock_future_ok() function 1283 if (!mlock_future_ok(mm, vm_flags, len)) in do_mmap() 1935 if (!mlock_future_ok(mm, vma->vm_flags, grow << PAGE_SHIFT)) in acct_stack_growth()
|
H A D | internal.h | 656 extern bool mlock_future_ok(struct mm_struct *mm, unsigned long flags,
|
H A D | mremap.c | 797 if (!mlock_future_ok(mm, vma->vm_flags, new_len - old_len)) in vma_to_resize()
|