Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/mm/
Dinit.c569 static int kernel_set_to_readonly __read_mostly;
573 kernel_set_to_readonly = 1; in mark_rodata_ro()
580 if (!kernel_set_to_readonly) in set_kernel_text_rw()
589 if (!kernel_set_to_readonly) in set_kernel_text_ro()
/Linux-v5.10/arch/x86/include/asm/
Dset_memory.h86 extern int kernel_set_to_readonly;
/Linux-v5.10/arch/parisc/mm/
Dinit.c347 static bool kernel_set_to_readonly; variable
414 } else if (!kernel_set_to_readonly) { in map_pages()
468 kernel_set_to_readonly = true; in free_initmem()
/Linux-v5.10/arch/x86/mm/
Dinit_32.c831 int kernel_set_to_readonly __read_mostly;
859 kernel_set_to_readonly = 1; in mark_rodata_ro()
Dinit_64.c1325 int kernel_set_to_readonly; variable
1340 kernel_set_to_readonly = 1; in mark_rodata_ro()
/Linux-v5.10/arch/x86/mm/pat/
Dset_memory.c431 if (kernel_set_to_readonly && overlaps(spfn, epfn, spfn_ro, epfn_ro)) in protect_rodata()
471 if (!kernel_set_to_readonly || !overlaps(start, end, t_start, t_end)) in protect_kernel_text_ro()