Searched refs:mm (Results 1 - 12 of 12) sorted by relevance

/security/
H A Dmin_addr.c2 #include <linux/mm.h>
H A Dcommoncap.c17 #include <linux/mm.h>
955 * @mm: The VM space in which the new mapping is to be made
961 int cap_vm_enough_memory(struct mm_struct *mm, long pages) argument
968 return __vm_enough_memory(mm, pages, cap_sys_admin);
H A Dsecurity.c229 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) argument
231 return security_ops->vm_enough_memory(mm, pages);
/security/apparmor/
H A Dlib.c15 #include <linux/mm.h>
H A Dmatch.c17 #include <linux/mm.h>
H A Dlsm.c17 #include <linux/mm.h>
/security/selinux/ss/
H A Dstatus.c14 #include <linux/mm.h>
/security/tomoyo/
H A Dutil.c81 * tomoyo_convert_time - Convert time_t to YYYY/MM/DD hh/mm/ss.
951 struct mm_struct *mm = current->mm; local
954 if (!mm)
956 down_read(&mm->mmap_sem);
957 if (mm->exe_file)
958 cp = tomoyo_realpath_from_path(&mm->exe_file->f_path);
959 up_read(&mm->mmap_sem);
H A Ddomain.c877 if (get_user_pages(current, bprm->mm, pos, 1, 0, 1, &page, NULL) <= 0)
H A Dcommon.h14 #include <linux/mm.h>
886 /* Structure for representing YYYY/MM/DD hh/mm/ss. */
/security/keys/
H A Dkeyctl.c1525 if (parent->pid <= 1 || !parent->mm)
/security/selinux/
H A Dhooks.c36 #include <linux/mm.h>
2137 static int selinux_vm_enough_memory(struct mm_struct *mm, long pages) argument
2146 return __vm_enough_memory(mm, pages, cap_sys_admin);

Completed in 88 milliseconds