Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dmremap.c619 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()
Dmmap.c1762 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()
Dmprotect.c548 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-5.19.10/include/linux/
Dsecurity.h288 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/
Dsecurity.c830 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() function
/linux-5.19.10/kernel/
Dfork.c637 if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ in dup_mmap()