Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/include/asm/
Dset_memory.h13 int set_memory_nx(unsigned long addr, int numpages);
18 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() function
/Linux-v5.10/arch/riscv/include/asm/
Dset_memory.h17 int set_memory_nx(unsigned long addr, int numpages);
22 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() function
/Linux-v5.10/include/asm-generic/
Dset_memory.h11 int set_memory_nx(unsigned long addr, int numpages);
/Linux-v5.10/include/linux/
Dset_memory.h14 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() function
/Linux-v5.10/arch/s390/include/asm/
Dset_memory.h26 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.10/drivers/misc/
Dsram-exec.c108 ret = set_memory_nx((unsigned long)base, pages); in sram_exec_copy()
/Linux-v5.10/arch/arm/mm/
Dpageattr.c77 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.10/arch/x86/realmode/
Dinit.c160 set_memory_nx((unsigned long) base, size >> PAGE_SHIFT); in set_real_mode_permissions()
/Linux-v5.10/arch/riscv/mm/
Dpageattr.c148 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
Dinit.c631 set_memory_nx(rodata_start, (data_start - rodata_start) >> PAGE_SHIFT); in mark_rodata_ro()
632 set_memory_nx(data_start, (max_low - data_start) >> PAGE_SHIFT); in mark_rodata_ro()
/Linux-v5.10/arch/arm64/mm/
Dpageattr.c125 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.10/arch/x86/kernel/
Dmachine_kexec_32.c164 set_memory_nx((unsigned long)page_address(image->control_code_page), 1); in machine_kexec_cleanup()
/Linux-v5.10/kernel/bpf/
Dbpf_struct_ops.c468 set_memory_nx((long)st_map->image, 1); in bpf_struct_ops_map_update_elem()
/Linux-v5.10/arch/x86/mm/
Dinit_32.c847 set_memory_nx(start, size >> PAGE_SHIFT); in mark_nxdata_nx()
Dinit.c876 set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
Dinit_64.c1355 set_memory_nx(text_end, (all_end - text_end) >> PAGE_SHIFT); in mark_rodata_ro()
/Linux-v5.10/kernel/
Dmodule.c2087 frob_rodata(&mod->core_layout, set_memory_nx); in module_enable_nx()
2088 frob_ro_after_init(&mod->core_layout, set_memory_nx); in module_enable_nx()
2089 frob_writable_data(&mod->core_layout, set_memory_nx); in module_enable_nx()
2090 frob_rodata(&mod->init_layout, set_memory_nx); in module_enable_nx()
2091 frob_writable_data(&mod->init_layout, set_memory_nx); in module_enable_nx()
/Linux-v5.10/arch/x86/mm/pat/
Dset_memory.c1925 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function