Searched refs:pages (Results 1 – 5 of 5) sorted by relevance
/security/keys/ |
D | big_key.c | 27 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/ |
D | Kconfig | 136 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"
|
D | security.c | 752 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()
|
D | commoncap.c | 1302 int cap_vm_enough_memory(struct mm_struct *mm, long pages) in cap_vm_enough_memory() argument
|
/security/selinux/ |
D | hooks.c | 2251 static int selinux_vm_enough_memory(struct mm_struct *mm, long pages) in selinux_vm_enough_memory() argument
|