/linux-6.1.9/arch/powerpc/include/asm/ |
D | set_memory.h | 14 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 19 static inline int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 24 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 29 static inline int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 34 static inline int set_memory_np(unsigned long addr, int numpages) in set_memory_np() 39 static inline int set_memory_p(unsigned long addr, int numpages) in set_memory_p()
|
/linux-6.1.9/arch/x86/mm/pat/ |
D | set_memory.c | 46 unsigned long numpages; member 812 unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn; in __should_split_large_page() local 1692 unsigned long numpages = cpa->numpages; in __change_page_attr_set_clr() local 1736 static int change_page_attr_set_clr(unsigned long *addr, int numpages, in change_page_attr_set_clr() 1828 static inline int change_page_attr_set(unsigned long *addr, int numpages, in change_page_attr_set() 1835 static inline int change_page_attr_clear(unsigned long *addr, int numpages, in change_page_attr_clear() 1842 static inline int cpa_set_pages_array(struct page **pages, int numpages, in cpa_set_pages_array() 1849 static inline int cpa_clear_pages_array(struct page **pages, int numpages, in cpa_clear_pages_array() 1862 int __set_memory_prot(unsigned long addr, int numpages, pgprot_t prot) in __set_memory_prot() 1869 int _set_memory_uc(unsigned long addr, int numpages) in _set_memory_uc() [all …]
|
/linux-6.1.9/include/linux/ |
D | set_memory.h | 11 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() 12 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw() 13 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x() 14 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() 60 static inline int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted() 65 static inline int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
|
D | mm.h | 3134 static inline void kernel_poison_pages(struct page *page, int numpages) in kernel_poison_pages() 3139 static inline void kernel_unpoison_pages(struct page *page, int numpages) in kernel_unpoison_pages() 3148 static inline void kernel_poison_pages(struct page *page, int numpages) { } in kernel_poison_pages() 3149 static inline void kernel_unpoison_pages(struct page *page, int numpages) { } in kernel_unpoison_pages() 3196 static inline void debug_pagealloc_map_pages(struct page *page, int numpages) in debug_pagealloc_map_pages() 3202 static inline void debug_pagealloc_unmap_pages(struct page *page, int numpages) in debug_pagealloc_unmap_pages() 3208 static inline void debug_pagealloc_map_pages(struct page *page, int numpages) {} in debug_pagealloc_map_pages() 3209 static inline void debug_pagealloc_unmap_pages(struct page *page, int numpages) {} in debug_pagealloc_unmap_pages()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | set_memory.h | 17 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 22 static inline int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 27 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 32 static inline int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 37 static inline int set_memory_4k(unsigned long addr, int numpages) in set_memory_4k()
|
/linux-6.1.9/arch/arm/mm/ |
D | pageattr.c | 54 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common() 73 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 80 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 87 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 94 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 101 int set_memory_valid(unsigned long addr, int numpages, int enable) in set_memory_valid()
|
/linux-6.1.9/arch/arm64/mm/ |
D | pageattr.c | 64 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common() 123 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 130 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 137 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 144 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 151 int set_memory_valid(unsigned long addr, int numpages, int enable) in set_memory_valid() 194 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | set_memory.h | 16 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() 17 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw() 18 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x() 19 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx()
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | set_memory.h | 30 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() 31 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw() 32 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x() 33 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() 34 static inline int set_memory_rw_nx(unsigned long addr, int numpages) { return 0; } in set_memory_rw_nx()
|
/linux-6.1.9/arch/riscv/mm/ |
D | pageattr.c | 107 static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, in __set_memory() 131 int set_memory_rw_nx(unsigned long addr, int numpages) in set_memory_rw_nx() 137 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 143 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 149 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 154 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 194 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | pgtable_32.c | 135 unsigned long numpages = PFN_UP((unsigned long)_einittext) - in mark_initmem_nx() local 149 unsigned long numpages; in mark_rodata_ro() local 176 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
D | pageattr.c | 70 int change_memory_attr(unsigned long addr, int numpages, long action) in change_memory_attr()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | svm.c | 40 int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted() 53 int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
|
/linux-6.1.9/arch/s390/mm/ |
D | init.c | 143 int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted() 155 int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
|
D | pageattr.c | 320 int __set_memory(unsigned long addr, int numpages, unsigned long flags) in __set_memory() 347 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/linux-6.1.9/mm/ |
D | page_poison.c | 102 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | mshyperv.h | 244 static inline int hv_set_mem_host_visibility(unsigned long addr, int numpages, in hv_set_mem_host_visibility()
|
/linux-6.1.9/arch/s390/kernel/ |
D | module.c | 484 int numpages; in module_alloc_ftrace_hotpatch_trampolines() local
|
/linux-6.1.9/arch/x86/coco/tdx/ |
D | tdx.c | 710 static bool tdx_enc_status_changed(unsigned long vaddr, int numpages, bool enc) in tdx_enc_status_changed()
|
/linux-6.1.9/net/sunrpc/xprtrdma/ |
D | svc_rdma_rw.c | 808 unsigned int page_no, numpages; in svc_rdma_copy_inline_range() local
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | hwrpb.h | 143 unsigned long numpages; member
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 905 void radix__kernel_map_pages(struct page *page, int numpages, int enable) in radix__kernel_map_pages()
|
D | hash_utils.c | 2038 void hash__kernel_map_pages(struct page *page, int numpages, int enable) in hash__kernel_map_pages()
|
/linux-6.1.9/fs/ocfs2/ |
D | alloc.c | 6844 int numpages, u64 phys, handle_t *handle) in ocfs2_zero_cluster_pages() 6880 int numpages, ret = 0; in ocfs2_grab_pages() local 6936 int ret = 0, numpages; in ocfs2_zero_range_for_truncate() local
|
/linux-6.1.9/ipc/ |
D | shm.c | 712 size_t numpages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in newseg() local
|