Searched refs:mm (Results 1 – 6 of 6) sorted by relevance
970 struct mm_struct *mm = current->mm; in tomoyo_get_exe() local972 if (!mm) in tomoyo_get_exe()974 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe()
917 mmap_read_lock(bprm->mm); in tomoyo_dump_page()918 ret = get_user_pages_remote(bprm->mm, pos, 1, in tomoyo_dump_page()920 mmap_read_unlock(bprm->mm); in tomoyo_dump_page()
831 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() argument845 rc = hp->hook.vm_enough_memory(mm, pages); in security_vm_enough_memory_mm()851 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
1408 int cap_vm_enough_memory(struct mm_struct *mm, long pages) in cap_vm_enough_memory() argument
1663 if (parent->pid <= 1 || !parent->mm) in keyctl_session_to_parent()
2269 static int selinux_vm_enough_memory(struct mm_struct *mm, long pages) in selinux_vm_enough_memory() argument