Searched refs:kernel_set_to_readonly (Results 1 – 5 of 5) sorted by relevance
90 extern int kernel_set_to_readonly;
339 static bool kernel_set_to_readonly; variable406 } else if (!kernel_set_to_readonly) { in map_pages()460 kernel_set_to_readonly = true; in free_initmem()
765 int kernel_set_to_readonly __read_mostly;793 kernel_set_to_readonly = 1; in mark_rodata_ro()
1369 int kernel_set_to_readonly; variable1384 kernel_set_to_readonly = 1; in mark_rodata_ro()
478 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()