Home
last modified time | relevance | path

Searched refs:kernel_set_to_readonly (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/arch/x86/include/asm/
Dset_memory.h90 extern int kernel_set_to_readonly;
/linux-6.6.21/arch/parisc/mm/
Dinit.c339 static bool kernel_set_to_readonly; variable
406 } else if (!kernel_set_to_readonly) { in map_pages()
460 kernel_set_to_readonly = true; in free_initmem()
/linux-6.6.21/arch/x86/mm/
Dinit_32.c765 int kernel_set_to_readonly __read_mostly;
793 kernel_set_to_readonly = 1; in mark_rodata_ro()
Dinit_64.c1369 int kernel_set_to_readonly; variable
1384 kernel_set_to_readonly = 1; in mark_rodata_ro()
/linux-6.6.21/arch/x86/mm/pat/
Dset_memory.c478 if (kernel_set_to_readonly && overlaps(spfn, epfn, spfn_ro, epfn_ro)) in protect_rodata()
518 if (!kernel_set_to_readonly || !overlaps(start, end, t_start, t_end)) in protect_kernel_text_ro()