Home
last modified time | relevance | path

Searched refs:set_memory_ro (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.3-rc2/kernel/module/
A Dstrict_rwx.c103 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 Dset_memory.h10 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 Dset_memory.h11 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 Dfilter.h856 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro()
/linux-6.3-rc2/arch/riscv/include/asm/
A Dset_memory.h14 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 Dset_memory.h8 int set_memory_ro(unsigned long addr, int numpages);
/linux-6.3-rc2/arch/s390/include/asm/
A Dset_memory.h17 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 Dset_memory.h14 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/linux-6.3-rc2/arch/arm/mm/
A Dpageattr.c73 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
A Dioremap.c411 set_memory_ro((unsigned long)ptr, PAGE_ALIGN(size) / PAGE_SIZE); in __arm_iomem_set_ro()
/linux-6.3-rc2/arch/x86/realmode/
A Dinit.c199 set_memory_ro((unsigned long) base, ro_size >> PAGE_SHIFT); in set_real_mode_permissions()
/linux-6.3-rc2/arch/powerpc/mm/
A Dpgtable_32.c168 set_memory_ro((unsigned long)_stext, numpages); in mark_rodata_ro()
/linux-6.3-rc2/arch/s390/kernel/
A Dmachine_kexec.c169 set_memory_ro(crashk_res.start, size >> PAGE_SHIFT); in crash_protect_pages()
A Dftrace.c249 set_memory_ro((unsigned long)ftrace_plt, 1); in ftrace_plt_init()
A Dmodule.c492 set_memory_ro((unsigned long)start, numpages); in module_alloc_ftrace_hotpatch_trampolines()
/linux-6.3-rc2/arch/arm64/mm/
A Dpageattr.c123 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/linux-6.3-rc2/arch/s390/mm/
A Dinit.c110 set_memory_ro((unsigned long)__start_ro_after_init, size >> PAGE_SHIFT); in mark_rodata_ro()
/linux-6.3-rc2/arch/riscv/mm/
A Dpageattr.c137 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
A Dinit.c717 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 Didt.c303 set_memory_ro((unsigned long)&idt_table, 1); in idt_setup_apic_and_irq_gates()
A Dftrace.c455 set_memory_ro((unsigned long)ops->trampoline, npages); in set_ftrace_ops_ro()
/linux-6.3-rc2/arch/x86/mm/
A Dinit_64.c1382 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 Dset_memory.c2074 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 Dkasan_test.c1270 rv = set_memory_ro((unsigned long)ptr, 1); in vmalloc_helpers_tags()
/linux-6.3-rc2/kernel/power/
A Dsnapshot.c64 set_memory_ro((unsigned long)page_address, 1); in hibernate_restore_protect_page()

Completed in 39 milliseconds

12