Searched refs:kernel_set_to_readonly (Results 1 – 5 of 5) sorted by relevance
87 extern int kernel_set_to_readonly;
338 static bool kernel_set_to_readonly; variable405 } else if (!kernel_set_to_readonly) { in map_pages()459 kernel_set_to_readonly = true; in free_initmem()
778 int kernel_set_to_readonly __read_mostly;806 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()
442 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()