Searched refs:mm (Results 1 – 7 of 7) sorted by relevance
44 struct mm_struct *mm = current->mm; in get_current_exe() local50 if (!mm) in get_current_exe()53 file = get_mm_exe_file(mm); in get_current_exe()
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()
926 mmap_read_lock(bprm->mm); in tomoyo_dump_page()927 ret = get_user_pages_remote(bprm->mm, pos, 1, in tomoyo_dump_page()929 mmap_read_unlock(bprm->mm); in tomoyo_dump_page()
1217 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() argument1230 rc = scall->hl->hook.vm_enough_memory(mm, pages); in security_vm_enough_memory_mm()1236 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
1443 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()
2227 static int selinux_vm_enough_memory(struct mm_struct *mm, long pages) in selinux_vm_enough_memory() argument
Completed in 38 milliseconds