Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/arm/include/asm/
Dset_memory.h10 int set_memory_ro(unsigned long addr, int numpages);
15 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dset_memory.h14 int set_memory_ro(unsigned long addr, int numpages);
19 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
/kernel/linux/linux-5.10/arch/arm/plat-omap/
Dsram.c79 set_memory_ro(base, pages); in omap_sram_push()
127 set_memory_ro(base, pages); in omap_map_sram()
/kernel/linux/linux-5.10/include/asm-generic/
Dset_memory.h8 int set_memory_ro(unsigned long addr, int numpages);
/kernel/linux/linux-5.10/include/linux/
Dset_memory.h11 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() function
Dfilter.h831 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro()
839 set_memory_ro((unsigned long)hdr, hdr->pages); in bpf_jit_binary_lock_ro()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dset_memory.h16 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/kernel/linux/linux-5.10/drivers/misc/
Dsram-exec.c117 ret = set_memory_ro((unsigned long)base, pages); in sram_exec_copy()
/kernel/linux/linux-5.10/arch/arm/mm/
Dpageattr.c63 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/kernel/linux/linux-5.10/arch/x86/realmode/
Dinit.c197 set_memory_ro((unsigned long) base, ro_size >> PAGE_SHIFT); in set_real_mode_permissions()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dftrace.c148 set_memory_ro(ftrace_plt, 1); in ftrace_plt_init()
Dmachine_kexec.c166 set_memory_ro(crashk_res.start, size >> PAGE_SHIFT); in crash_protect_pages()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dftrace.c430 set_memory_ro((unsigned long)trampoline, npages); in create_trampoline()
460 set_memory_ro((unsigned long)ops->trampoline, npages); in set_ftrace_ops_ro()
Didt.c311 set_memory_ro((unsigned long)&idt_table, 1); in idt_setup_apic_and_irq_gates()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dpageattr.c111 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/kernel/linux/linux-5.10/arch/riscv/mm/
Dpageattr.c131 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
Dinit.c630 set_memory_ro(text_start, (text_end - text_start) >> PAGE_SHIFT); in mark_rodata_ro()
631 set_memory_ro(rodata_start, (data_start - rodata_start) >> PAGE_SHIFT); in mark_rodata_ro()
/kernel/linux/linux-5.10/arch/s390/mm/
Dinit.c132 set_memory_ro((unsigned long)__start_ro_after_init, size >> PAGE_SHIFT); in mark_rodata_ro()
/kernel/linux/linux-5.10/kernel/
Dcfi.c209 set_memory_ro((unsigned long)next, SHADOW_PAGES); in update_shadow()
Dmodule.c2077 frob_text(&mod->core_layout, set_memory_ro); in module_enable_ro()
2079 frob_rodata(&mod->core_layout, set_memory_ro); in module_enable_ro()
2080 frob_text(&mod->init_layout, set_memory_ro); in module_enable_ro()
2081 frob_rodata(&mod->init_layout, set_memory_ro); in module_enable_ro()
2084 frob_ro_after_init(&mod->core_layout, set_memory_ro); in module_enable_ro()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_struct_ops.c453 set_memory_ro((long)st_map->image, 1); in bpf_struct_ops_map_update_elem()
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
Dcore.c443 set_memory_ro((unsigned long)page, 1); in alloc_insn_page()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_64.c1338 set_memory_ro(start, (end - start) >> PAGE_SHIFT); in mark_rodata_ro()
1364 set_memory_ro(start, (end-start) >> PAGE_SHIFT); in mark_rodata_ro()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c1933 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
2139 return set_memory_ro(addr, numpages); in set_pages_ro()
/kernel/linux/linux-5.10/kernel/power/
Dsnapshot.c64 set_memory_ro((unsigned long)page_address, 1); in hibernate_restore_protect_page()

12