Searched refs:may_expand_vm (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/mm/ |
D | mprotect.c | 649 if (!may_expand_vm(mm, newflags, nrpages) && in mprotect_fixup() 650 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup()
|
D | mmap.c | 1011 if (!may_expand_vm(mm, vma->vm_flags, grow)) in acct_stack_growth() 1398 if (!may_expand_vm(mm, vm_flags, pglen - vms.nr_pages)) { in __mmap_region() 1799 if (!may_expand_vm(mm, flags, len >> PAGE_SHIFT)) in do_brk_flags() 2019 bool may_expand_vm(struct mm_struct *mm, vm_flags_t flags, unsigned long npages) in may_expand_vm() function
|
D | mremap.c | 867 if (!may_expand_vm(mm, vma->vm_flags, in vma_to_resize() 938 !may_expand_vm(mm, vma->vm_flags, old_len >> PAGE_SHIFT)) { in mremap_to()
|
/linux-6.12.1/include/linux/ |
D | mm.h | 3324 extern bool may_expand_vm(struct mm_struct *, vm_flags_t, unsigned long npages);
|