/linux-6.3-rc2/kernel/module/ |
A D | strict_rwx.c | 103 frob_text(&mod->core_layout, set_memory_ro); in module_enable_ro() 105 frob_rodata(&mod->data_layout, set_memory_ro); in module_enable_ro() 106 frob_text(&mod->init_layout, set_memory_ro); in module_enable_ro() 107 frob_rodata(&mod->init_layout, set_memory_ro); in module_enable_ro() 110 frob_ro_after_init(&mod->data_layout, set_memory_ro); in module_enable_ro()
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | set_memory.h | 10 int set_memory_ro(unsigned long addr, int numpages); 16 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
|
/linux-6.3-rc2/include/linux/ |
A D | set_memory.h | 11 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function 20 int ret = set_memory_ro(addr, numpages); in set_memory_rox()
|
A D | filter.h | 856 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro()
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | set_memory.h | 14 int set_memory_ro(unsigned long addr, int numpages); 30 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
|
/linux-6.3-rc2/include/asm-generic/ |
A D | set_memory.h | 8 int set_memory_ro(unsigned long addr, int numpages);
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | set_memory.h | 17 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | set_memory.h | 14 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | pageattr.c | 73 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
|
A D | ioremap.c | 411 set_memory_ro((unsigned long)ptr, PAGE_ALIGN(size) / PAGE_SIZE); in __arm_iomem_set_ro()
|
/linux-6.3-rc2/arch/x86/realmode/ |
A D | init.c | 199 set_memory_ro((unsigned long) base, ro_size >> PAGE_SHIFT); in set_real_mode_permissions()
|
/linux-6.3-rc2/arch/powerpc/mm/ |
A D | pgtable_32.c | 168 set_memory_ro((unsigned long)_stext, numpages); in mark_rodata_ro()
|
/linux-6.3-rc2/arch/s390/kernel/ |
A D | machine_kexec.c | 169 set_memory_ro(crashk_res.start, size >> PAGE_SHIFT); in crash_protect_pages()
|
A D | ftrace.c | 249 set_memory_ro((unsigned long)ftrace_plt, 1); in ftrace_plt_init()
|
A D | module.c | 492 set_memory_ro((unsigned long)start, numpages); in module_alloc_ftrace_hotpatch_trampolines()
|
/linux-6.3-rc2/arch/arm64/mm/ |
A D | pageattr.c | 123 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
|
/linux-6.3-rc2/arch/s390/mm/ |
A D | init.c | 110 set_memory_ro((unsigned long)__start_ro_after_init, size >> PAGE_SHIFT); in mark_rodata_ro()
|
/linux-6.3-rc2/arch/riscv/mm/ |
A D | pageattr.c | 137 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
|
A D | init.c | 717 set_kernel_memory(__start_rodata, _data, set_memory_ro); in mark_rodata_ro() 720 set_memory_ro); in mark_rodata_ro()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | idt.c | 303 set_memory_ro((unsigned long)&idt_table, 1); in idt_setup_apic_and_irq_gates()
|
A D | ftrace.c | 455 set_memory_ro((unsigned long)ops->trampoline, npages); in set_ftrace_ops_ro()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | init_64.c | 1382 set_memory_ro(start, (end - start) >> PAGE_SHIFT); in mark_rodata_ro() 1408 set_memory_ro(start, (end-start) >> PAGE_SHIFT); in mark_rodata_ro()
|
/linux-6.3-rc2/arch/x86/mm/pat/ |
A D | set_memory.c | 2074 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function 2302 return set_memory_ro(addr, numpages); in set_pages_ro()
|
/linux-6.3-rc2/mm/kasan/ |
A D | kasan_test.c | 1270 rv = set_memory_ro((unsigned long)ptr, 1); in vmalloc_helpers_tags()
|
/linux-6.3-rc2/kernel/power/ |
A D | snapshot.c | 64 set_memory_ro((unsigned long)page_address, 1); in hibernate_restore_protect_page()
|