Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/include/asm-generic/
Dset_memory.h11 int set_memory_nx(unsigned long addr, int numpages);
/Linux-v5.4/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.4/arch/s390/include/asm/
Dset_memory.h22 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.4/drivers/misc/
Dsram-exec.c107 set_memory_nx((unsigned long)base, pages); in sram_exec_copy()
/Linux-v5.4/arch/arm/mm/
Dpageattr.c78 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.4/arch/x86/realmode/
Dinit.c138 set_memory_nx((unsigned long) base, size >> PAGE_SHIFT); in set_real_mode_permissions()
/Linux-v5.4/arch/arm64/mm/
Dpageattr.c125 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.4/arch/x86/kernel/
Dmachine_kexec_32.c165 set_memory_nx((unsigned long)page_address(image->control_code_page), 1); in machine_kexec_cleanup()
/Linux-v5.4/arch/s390/kernel/
Dkprobes.c45 set_memory_nx((unsigned long) page, 1); in free_s390_insn_page()
/Linux-v5.4/arch/x86/mm/
Dinit.c819 set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
Dinit_32.c919 set_memory_nx(start, size >> PAGE_SHIFT); in mark_nxdata_nx()
Dinit_64.c1327 set_memory_nx(text_end, (all_end - text_end) >> PAGE_SHIFT); in mark_rodata_ro()
Dpageattr.c1889 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() function
/Linux-v5.4/kernel/
Dmodule.c2025 frob_rodata(&mod->core_layout, set_memory_nx); in module_enable_nx()
2026 frob_ro_after_init(&mod->core_layout, set_memory_nx); in module_enable_nx()
2027 frob_writable_data(&mod->core_layout, set_memory_nx); in module_enable_nx()
2028 frob_rodata(&mod->init_layout, set_memory_nx); in module_enable_nx()
2029 frob_writable_data(&mod->init_layout, set_memory_nx); in module_enable_nx()
/Linux-v5.4/arch/x86/platform/efi/
Defi.c583 set_memory_nx(addr, npages); in efi_set_executable()