Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/asm/
Dset_memory.h87 extern int kernel_set_to_readonly;
/linux-6.1.9/arch/parisc/mm/
Dinit.c338 static bool kernel_set_to_readonly; variable
405 } else if (!kernel_set_to_readonly) { in map_pages()
459 kernel_set_to_readonly = true; in free_initmem()
/linux-6.1.9/arch/x86/mm/
Dinit_32.c778 int kernel_set_to_readonly __read_mostly;
806 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.1.9/arch/x86/mm/pat/
Dset_memory.c442 if (kernel_set_to_readonly && overlaps(spfn, epfn, spfn_ro, epfn_ro)) in protect_rodata()
482 if (!kernel_set_to_readonly || !overlaps(start, end, t_start, t_end)) in protect_kernel_text_ro()