Searched refs:security_vm_enough_memory_mm (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/mm/ |
D | mremap.c | 619 if (security_vm_enough_memory_mm(mm, to_account >> PAGE_SHIFT)) in move_vma() 1013 if (security_vm_enough_memory_mm(mm, pages)) { in SYSCALL_DEFINE5()
|
D | mmap.c | 1762 if (security_vm_enough_memory_mm(mm, charged)) in mmap_region() 2388 if (security_vm_enough_memory_mm(mm, grow)) in acct_stack_growth() 3055 if (security_vm_enough_memory_mm(mm, len >> PAGE_SHIFT)) in do_brk_flags() 3194 security_vm_enough_memory_mm(mm, vma_pages(vma))) in insert_vm_struct()
|
D | mprotect.c | 548 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
|
D | shmem.c | 167 0 : security_vm_enough_memory_mm(current->mm, VM_ACCT(size)); in shmem_acct_size() 181 return security_vm_enough_memory_mm(current->mm, in shmem_reacct_size() 200 return security_vm_enough_memory_mm(current->mm, in shmem_acct_block()
|
D | swapfile.c | 2429 if (!security_vm_enough_memory_mm(current->mm, p->pages)) in SYSCALL_DEFINE1()
|
/linux-5.19.10/include/linux/ |
D | security.h | 288 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages); 594 static inline int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function
|
/linux-5.19.10/security/ |
D | security.c | 830 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function
|
/linux-5.19.10/kernel/ |
D | fork.c | 637 if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ in dup_mmap()
|