Home
last modified time | relevance | path

Searched defs:numpages (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/arch/powerpc/include/asm/
Dset_memory.h14 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/
Dset_memory.c46 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/
Dset_memory.h11 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()
Dmm.h3134 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/
Dset_memory.h17 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/
Dpageattr.c54 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/
Dpageattr.c64 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/
Dset_memory.h16 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/
Dset_memory.h30 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/
Dpageattr.c107 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/
Dpgtable_32.c135 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()
Dpageattr.c70 int change_memory_attr(unsigned long addr, int numpages, long action) in change_memory_attr()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dsvm.c40 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/
Dinit.c143 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()
Dpageattr.c320 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/
Dpage_poison.c102 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
/linux-6.1.9/arch/x86/include/asm/
Dmshyperv.h244 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/
Dmodule.c484 int numpages; in module_alloc_ftrace_hotpatch_trampolines() local
/linux-6.1.9/arch/x86/coco/tdx/
Dtdx.c710 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/
Dsvc_rdma_rw.c808 unsigned int page_no, numpages; in svc_rdma_copy_inline_range() local
/linux-6.1.9/arch/alpha/include/asm/
Dhwrpb.h143 unsigned long numpages; member
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dradix_pgtable.c905 void radix__kernel_map_pages(struct page *page, int numpages, int enable) in radix__kernel_map_pages()
Dhash_utils.c2038 void hash__kernel_map_pages(struct page *page, int numpages, int enable) in hash__kernel_map_pages()
/linux-6.1.9/fs/ocfs2/
Dalloc.c6844 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/
Dshm.c712 size_t numpages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in newseg() local

12