Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
43 static inline int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted()
48 static inline int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
Dmm.h2947 static inline void kernel_poison_pages(struct page *page, int numpages, in kernel_poison_pages()
3009 kernel_map_pages(struct page *page, int numpages, int enable) in kernel_map_pages()
3018 kernel_map_pages(struct page *page, int numpages, int enable) {} in kernel_map_pages()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_set_memory.h55 static inline int ttm_set_pages_wb(struct page *page, int numpages) in ttm_set_pages_wb()
60 static inline int ttm_set_pages_wc(struct page *page, int numpages) in ttm_set_pages_wc()
67 static inline int ttm_set_pages_uc(struct page *page, int numpages) in ttm_set_pages_uc()
105 static inline int ttm_set_pages_wb(struct page *page, int numpages) in ttm_set_pages_wb()
131 static inline int ttm_set_pages_wb(struct page *page, int numpages) in ttm_set_pages_wb()
138 static inline int ttm_set_pages_wc(struct page *page, int numpages) in ttm_set_pages_wc()
143 static inline int ttm_set_pages_uc(struct page *page, int numpages) in ttm_set_pages_uc()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c41 unsigned long numpages; member
768 unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn; in __should_split_large_page() local
1643 unsigned long numpages = cpa->numpages; in __change_page_attr_set_clr() local
1687 static int change_page_attr_set_clr(unsigned long *addr, int numpages, in change_page_attr_set_clr()
1779 static inline int change_page_attr_set(unsigned long *addr, int numpages, in change_page_attr_set()
1786 static inline int change_page_attr_clear(unsigned long *addr, int numpages, in change_page_attr_clear()
1793 static inline int cpa_set_pages_array(struct page **pages, int numpages, in cpa_set_pages_array()
1800 static inline int cpa_clear_pages_array(struct page **pages, int numpages, in cpa_clear_pages_array()
1813 int __set_memory_prot(unsigned long addr, int numpages, pgprot_t prot) in __set_memory_prot()
1820 int _set_memory_uc(unsigned long addr, int numpages) in _set_memory_uc()
[all …]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dset_memory.h19 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro()
20 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw()
21 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x()
22 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx()
Dpgtable.h463 static inline void __kernel_map_pages(struct page *page, int numpages, int enable) {} in __kernel_map_pages()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dset_memory.h15 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro()
16 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw()
17 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x()
18 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dset_memory.h16 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro()
21 static inline int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw()
26 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx()
31 static inline int set_memory_x(unsigned long addr, int numpages) in set_memory_x()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dpageattr.c53 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common()
111 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro()
118 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw()
125 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx()
132 int set_memory_x(unsigned long addr, int numpages) in set_memory_x()
139 int set_memory_valid(unsigned long addr, int numpages, int enable) in set_memory_valid()
181 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
/kernel/linux/linux-5.10/arch/arm/mm/
Dpageattr.c35 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common()
63 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro()
70 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw()
77 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx()
84 int set_memory_x(unsigned long addr, int numpages) in set_memory_x()
/kernel/linux/linux-5.10/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_ro(unsigned long addr, int numpages) in set_memory_ro()
137 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw()
143 int set_memory_x(unsigned long addr, int numpages) in set_memory_x()
148 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx()
187 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dpgtable_32.c162 static int change_page_attr(struct page *page, int numpages, pgprot_t prot) in change_page_attr()
184 unsigned long numpages = PFN_UP((unsigned long)_einittext) - in mark_initmem_nx() local
197 unsigned long numpages; in mark_rodata_ro() local
226 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dsvm.c64 int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted()
74 int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
/kernel/linux/linux-5.10/mm/
Dpage_poison.c132 void kernel_poison_pages(struct page *page, int numpages, int enable) in kernel_poison_pages()
144 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
Dpage_alloc.c1201 static void kernel_init_free_pages(struct page *page, int numpages) in kernel_init_free_pages()
/kernel/linux/linux-5.10/arch/s390/mm/
Dinit.c137 int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted()
149 int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
Dpageattr.c309 int __set_memory(unsigned long addr, int numpages, unsigned long flags) in __set_memory()
336 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dhwrpb.h143 unsigned long numpages; member
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dhash_utils.c1956 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
/kernel/linux/linux-5.10/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
6937 int ret = 0, numpages; in ocfs2_zero_range_for_truncate() local
/kernel/linux/linux-5.10/ipc/
Dshm.c699 size_t numpages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in newseg() local
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h325 unsigned short numpages; member
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_64.c1906 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()