Searched refs:kernel_set_to_readonly (Results 1 – 6 of 6) sorted by relevance
569 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()
86 extern int kernel_set_to_readonly;
347 static bool kernel_set_to_readonly; variable414 } else if (!kernel_set_to_readonly) { in map_pages()468 kernel_set_to_readonly = true; in free_initmem()
831 int kernel_set_to_readonly __read_mostly;859 kernel_set_to_readonly = 1; in mark_rodata_ro()
1325 int kernel_set_to_readonly; variable1340 kernel_set_to_readonly = 1; in mark_rodata_ro()
431 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()