Lines Matching refs:perms
658 void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms() argument
668 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || in set_section_perms()
669 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { in set_section_perms()
671 perms[i].start, perms[i].end, in set_section_perms()
676 for (addr = perms[i].start; in set_section_perms()
677 addr < perms[i].end; in set_section_perms()
679 section_update(addr, perms[i].mask, in set_section_perms()
680 set ? perms[i].prot : perms[i].clear, mm); in set_section_perms()
685 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early() argument
694 set_section_perms(perms, n, true, s->mm); in update_sections_early()
697 set_section_perms(perms, n, true, current->active_mm); in update_sections_early()
698 set_section_perms(perms, n, true, &init_mm); in update_sections_early()