Searched refs:security_vm_enough_memory_mm (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/mm/ |
D | mremap.c | 634 if (security_vm_enough_memory_mm(mm, to_account >> PAGE_SHIFT)) in move_vma() 1042 if (security_vm_enough_memory_mm(mm, pages)) { in SYSCALL_DEFINE5()
|
D | mmap.c | 1941 if (security_vm_enough_memory_mm(mm, grow)) in acct_stack_growth() 2701 if (security_vm_enough_memory_mm(mm, charged)) in mmap_region() 3086 if (security_vm_enough_memory_mm(mm, len >> PAGE_SHIFT)) in do_brk_flags() 3280 security_vm_enough_memory_mm(mm, charged)) in insert_vm_struct()
|
D | mprotect.c | 622 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-6.6.21/include/linux/ |
D | security.h | 291 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages); 607 static inline int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function
|
/linux-6.6.21/kernel/ |
D | fork.c | 706 if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ in dup_mmap()
|
/linux-6.6.21/security/ |
D | security.c | 1021 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function
|