Searched refs:__set_memory (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/arch/s390/include/asm/ |
D | set_memory.h | 15 int __set_memory(unsigned long addr, int numpages, unsigned long flags); 19 return __set_memory(addr, numpages, SET_MEMORY_RO); in set_memory_ro() 24 return __set_memory(addr, numpages, SET_MEMORY_RW); in set_memory_rw() 29 return __set_memory(addr, numpages, SET_MEMORY_NX); in set_memory_nx() 34 return __set_memory(addr, numpages, SET_MEMORY_X); in set_memory_x() 39 return __set_memory(addr, numpages, SET_MEMORY_4K); in set_memory_4k()
|
/Linux-v5.15/arch/riscv/mm/ |
D | pageattr.c | 107 static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, in __set_memory() function 133 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw_nx() 139 return __set_memory(addr, numpages, __pgprot(_PAGE_READ), in set_memory_ro() 145 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw() 151 return __set_memory(addr, numpages, __pgprot(_PAGE_EXEC), __pgprot(0)); in set_memory_x() 156 return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_EXEC)); in set_memory_nx() 200 __set_memory((unsigned long)page_address(page), numpages, in __kernel_map_pages() 203 __set_memory((unsigned long)page_address(page), numpages, in __kernel_map_pages()
|
/Linux-v5.15/arch/s390/mm/ |
D | vmem.c | 575 __set_memory((unsigned long)_stext, in vmem_map_init() 578 __set_memory((unsigned long)_etext, in vmem_map_init() 581 __set_memory((unsigned long)_sinittext, in vmem_map_init() 584 __set_memory(__stext_amode31, (__etext_amode31 - __stext_amode31) >> PAGE_SHIFT, in vmem_map_init()
|
D | init.c | 218 __set_memory((unsigned long)_sinittext, in free_initmem()
|
D | pageattr.c | 320 int __set_memory(unsigned long addr, int numpages, unsigned long flags) in __set_memory() function
|
/Linux-v5.15/arch/s390/kernel/ |
D | kprobes.c | 43 __set_memory((unsigned long) page, 1, SET_MEMORY_RO | SET_MEMORY_X); in alloc_insn_page()
|