/openbmc/linux/include/linux/ |
H A 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() 18 static inline int set_memory_rox(unsigned long addr, int numpages) in set_memory_rox() 70 static inline int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted() 75 static inline int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
|
H A D | mm.h | 3595 static inline void kernel_poison_pages(struct page *page, int numpages) in kernel_poison_pages() 3600 static inline void kernel_unpoison_pages(struct page *page, int numpages) in kernel_unpoison_pages() 3609 static inline void kernel_poison_pages(struct page *page, int numpages) { } in kernel_poison_pages() 3610 static inline void kernel_unpoison_pages(struct page *page, int numpages) { } in kernel_unpoison_pages() 3656 static inline void debug_pagealloc_map_pages(struct page *page, int numpages) in debug_pagealloc_map_pages() 3662 static inline void debug_pagealloc_unmap_pages(struct page *page, int numpages) in debug_pagealloc_unmap_pages() 3710 static inline void debug_pagealloc_map_pages(struct page *page, int numpages) {} in debug_pagealloc_map_pages() 3711 static inline void debug_pagealloc_unmap_pages(struct page *page, int numpages) {} in debug_pagealloc_unmap_pages()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A 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()
|
/openbmc/linux/arch/arm/include/asm/ |
H A 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()
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | set_memory.c | 48 unsigned long numpages; member 879 unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn; in __should_split_large_page() local 1782 unsigned long numpages = cpa->numpages; in __change_page_attr_set_clr() local 1833 static int change_page_attr_set_clr(unsigned long *addr, int numpages, in change_page_attr_set_clr() 1916 static inline int change_page_attr_set(unsigned long *addr, int numpages, in change_page_attr_set() 1923 static inline int change_page_attr_clear(unsigned long *addr, int numpages, in change_page_attr_clear() 1930 static inline int cpa_set_pages_array(struct page **pages, int numpages, in cpa_set_pages_array() 1937 static inline int cpa_clear_pages_array(struct page **pages, int numpages, in cpa_clear_pages_array() 1950 int __set_memory_prot(unsigned long addr, int numpages, pgprot_t prot) in __set_memory_prot() 1957 int _set_memory_uc(unsigned long addr, int numpages) in _set_memory_uc() [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A 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()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | pageattr.c | 67 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common() 125 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 132 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 139 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 146 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 153 int set_memory_valid(unsigned long addr, int numpages, int enable) in set_memory_valid() 196 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A 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()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | pageattr.c | 262 static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, in __set_memory() 349 int set_memory_rw_nx(unsigned long addr, int numpages) in set_memory_rw_nx() 355 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 361 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 367 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 372 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 406 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/openbmc/linux/arch/powerpc/mm/ |
H A 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()
|
H A D | pageattr.c | 70 int change_memory_attr(unsigned long addr, int numpages, long action) in change_memory_attr()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A 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()
|
/openbmc/qemu/util/ |
H A D | oslib-posix.c | 80 size_t numpages; member 361 size_t numpages = memset_args->numpages; in do_touch_pages() local 401 static inline int get_memset_num_threads(size_t hpagesize, size_t numpages, in get_memset_num_threads() 436 static int touch_all_pages(char *area, size_t hpagesize, size_t numpages, in touch_all_pages() 577 size_t numpages = DIV_ROUND_UP(sz, hpagesize); in qemu_prealloc_mem() local
|
/openbmc/linux/arch/s390/mm/ |
H A D | init.c | 115 int set_memory_encrypted(unsigned long vaddr, int numpages) in set_memory_encrypted() 127 int set_memory_decrypted(unsigned long vaddr, int numpages) in set_memory_decrypted()
|
H A D | pageattr.c | 376 int __set_memory(unsigned long addr, unsigned long numpages, unsigned long flags) in __set_memory() 441 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/openbmc/linux/arch/x86/coco/tdx/ |
H A D | tdx.c | 789 static bool tdx_enc_status_changed(unsigned long vaddr, int numpages, bool enc) in tdx_enc_status_changed() 815 static bool tdx_enc_status_change_prepare(unsigned long vaddr, int numpages, in tdx_enc_status_change_prepare() 827 static bool tdx_enc_status_change_finish(unsigned long vaddr, int numpages, in tdx_enc_status_change_finish()
|
/openbmc/linux/mm/ |
H A D | page_poison.c | 101 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 412 loff_t offs, uint8_t *buf, int numpages) in scan_block_fast() 456 int i, numblocks, numpages; in create_bbt() local
|
/openbmc/linux/arch/s390/kernel/ |
H A D | module.c | 508 int numpages; in module_alloc_ftrace_hotpatch_trampolines() local
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_rw.c | 812 unsigned int page_no, numpages; in svc_rdma_copy_inline_range() local
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | hwrpb.h | 143 unsigned long numpages; member
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 1343 void radix__kernel_map_pages(struct page *page, int numpages, int enable) in radix__kernel_map_pages()
|
H A D | hash_utils.c | 2168 void hash__kernel_map_pages(struct page *page, int numpages, int enable) in hash__kernel_map_pages()
|
/openbmc/linux/fs/ocfs2/ |
H A 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
|
/openbmc/linux/ipc/ |
H A D | shm.c | 712 size_t numpages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in newseg() local
|