Home
last modified time | relevance | path

Searched refs:security_vm_enough_memory_mm (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/mm/
Dmremap.c634 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()
Dmmap.c1941 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()
Dmprotect.c622 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
Dshmem.c167 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()
Dswapfile.c2429 if (!security_vm_enough_memory_mm(current->mm, p->pages)) in SYSCALL_DEFINE1()
/linux-6.6.21/include/linux/
Dsecurity.h291 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/
Dfork.c706 if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ in dup_mmap()
/linux-6.6.21/security/
Dsecurity.c1021 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function