Home
last modified time | relevance | path

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

/arch/arm/include/asm/
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
/arch/riscv/include/asm/
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
/arch/powerpc/include/asm/
Dset_memory.h14 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/arch/s390/include/asm/
Dset_memory.h55 __SET_MEMORY_FUNC(set_memory_ro, SET_MEMORY_RO)
/arch/arm/mm/
Dpageattr.c73 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
Dioremap.c411 set_memory_ro((unsigned long)ptr, PAGE_ALIGN(size) / PAGE_SIZE); in __arm_iomem_set_ro()
/arch/powerpc/mm/
Dpgtable_32.c168 set_memory_ro((unsigned long)_stext, numpages); in mark_rodata_ro()
/arch/x86/realmode/
Dinit.c202 set_memory_ro((unsigned long) base, ro_size >> PAGE_SHIFT); in set_real_mode_permissions()
/arch/s390/kernel/
Dmachine_kexec.c157 set_memory_ro(crashk_res.start, size >> PAGE_SHIFT); in crash_protect_pages()
/arch/arm64/mm/
Dpageattr.c125 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
/arch/x86/kernel/
Didt.c302 set_memory_ro((unsigned long)&idt_table, 1); in idt_setup_apic_and_irq_gates()
Dftrace.c454 set_memory_ro((unsigned long)ops->trampoline, npages); in set_ftrace_ops_ro()
/arch/riscv/mm/
Dpageattr.c355 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
Dinit.c733 set_kernel_memory(__start_rodata, _data, set_memory_ro); in mark_rodata_ro()
736 set_memory_ro); in mark_rodata_ro()
/arch/x86/mm/
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()
/arch/x86/mm/pat/
Dset_memory.c2115 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() function
2341 return set_memory_ro(addr, numpages); in set_pages_ro()
/arch/arm64/net/
Dbpf_jit_comp.c2246 set_memory_ro(PAGE_MASK & ((uintptr_t)&plt->target), 1); in bpf_arch_text_poke()
/arch/
DKconfig286 # Select if arch has all set_memory_ro/rw/x/nx() functions in asm/cacheflush.h