Home
last modified time | relevance | path

Searched refs:pages (Results 1 – 5 of 5) sorted by relevance

/security/keys/
Dbig_key.c27 struct page *pages[]; member
149 if (buf->pages[i]) in big_key_free_buffer()
150 __free_page(buf->pages[i]); in big_key_free_buffer()
173 buf->sg = (void *)(buf->pages + npg); in big_key_alloc_buffer()
177 buf->pages[i] = alloc_page(GFP_KERNEL); in big_key_alloc_buffer()
178 if (!buf->pages[i]) in big_key_alloc_buffer()
182 sg_set_page(&buf->sg[i], buf->pages[i], l, 0); in big_key_alloc_buffer()
186 buf->virt = vmap(buf->pages, buf->nr_pages, VM_MAP, PAGE_KERNEL); in big_key_alloc_buffer()
/security/
DKconfig136 from userspace allocation. Keeping a user from writing to low pages
162 separately allocated pages, are not on the process stack,
181 bool "Refuse to copy allocations that span multiple pages"
Dsecurity.c752 int security_vm_enough_memory_mm(struct mm_struct *mm, long pages) in security_vm_enough_memory_mm() argument
766 rc = hp->hook.vm_enough_memory(mm, pages); in security_vm_enough_memory_mm()
772 return __vm_enough_memory(mm, pages, cap_sys_admin); in security_vm_enough_memory_mm()
Dcommoncap.c1302 int cap_vm_enough_memory(struct mm_struct *mm, long pages) in cap_vm_enough_memory() argument
/security/selinux/
Dhooks.c2251 static int selinux_vm_enough_memory(struct mm_struct *mm, long pages) in selinux_vm_enough_memory() argument