Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm/include/asm/
Dset_memory.h13 int set_memory_ro(unsigned long addr, int numpages);
18 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
/Linux-v4.19/arch/arm/plat-omap/
Dsram.c82 set_memory_ro(base, pages); in omap_sram_push()
130 set_memory_ro(base, pages); in omap_map_sram()
/Linux-v4.19/include/asm-generic/
Dset_memory.h8 int set_memory_ro(unsigned long addr, int numpages);
/Linux-v4.19/include/linux/
Dset_memory.h14 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
Dfilter.h693 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro()
704 set_memory_ro((unsigned long)hdr, hdr->pages); in bpf_jit_binary_lock_ro()
/Linux-v4.19/arch/s390/include/asm/
Dset_memory.h12 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/Linux-v4.19/drivers/misc/
Dsram-exec.c112 set_memory_ro((unsigned long)base, pages); in sram_exec_copy()
/Linux-v4.19/arch/arm/mm/
Dpageattr.c73 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/Linux-v4.19/arch/x86/realmode/
Dinit.c148 set_memory_ro((unsigned long) base, ro_size >> PAGE_SHIFT); in set_real_mode_permissions()
/Linux-v4.19/arch/s390/kernel/
Dftrace.c192 set_memory_ro(ftrace_plt, 1); in ftrace_plt_init()
Dmachine_kexec.c186 set_memory_ro(crashk_res.start, size >> PAGE_SHIFT); in crash_protect_pages()
/Linux-v4.19/arch/arm64/mm/
Dpageattr.c99 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/Linux-v4.19/arch/s390/mm/
Dinit.c123 set_memory_ro((unsigned long)__start_ro_after_init, size >> PAGE_SHIFT); in mark_rodata_ro()
/Linux-v4.19/arch/x86/mm/
Dinit_64.c1245 set_memory_ro(start, (end - start) >> PAGE_SHIFT); in set_kernel_text_ro()
1259 set_memory_ro(start, (end - start) >> PAGE_SHIFT); in mark_rodata_ro()
1283 set_memory_ro(start, (end-start) >> PAGE_SHIFT); in mark_rodata_ro()
Dpageattr.c1787 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
2018 return set_memory_ro(addr, numpages); in set_pages_ro()
/Linux-v4.19/kernel/
Dmodule.c1949 frob_text(&mod->core_layout, set_memory_ro); in module_enable_ro()
1950 frob_rodata(&mod->core_layout, set_memory_ro); in module_enable_ro()
1951 frob_text(&mod->init_layout, set_memory_ro); in module_enable_ro()
1952 frob_rodata(&mod->init_layout, set_memory_ro); in module_enable_ro()
1955 frob_ro_after_init(&mod->core_layout, set_memory_ro); in module_enable_ro()
2014 frob_text(&mod->core_layout, set_memory_ro); in set_all_modules_text_ro()
2015 frob_text(&mod->init_layout, set_memory_ro); in set_all_modules_text_ro()
/Linux-v4.19/arch/x86/kernel/
Dftrace.c874 set_memory_ro(ops->trampoline, npages); in arch_ftrace_update_trampoline()
/Linux-v4.19/arch/x86/kernel/kprobes/
Dcore.c435 set_memory_ro((unsigned long)page & PAGE_MASK, 1); in alloc_insn_page()
/Linux-v4.19/kernel/power/
Dsnapshot.c67 set_memory_ro((unsigned long)page_address, 1); in hibernate_restore_protect_page()
/Linux-v4.19/arch/
DKconfig247 # Select if arch has all set_memory_ro/rw/x/nx() functions in asm/cacheflush.h