Lines Matching refs:perms
612 void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms() argument
622 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || in set_section_perms()
623 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { in set_section_perms()
625 perms[i].name, perms[i].start, perms[i].end, in set_section_perms()
630 for (addr = perms[i].start; in set_section_perms()
631 addr < perms[i].end; in set_section_perms()
633 section_update(addr, perms[i].mask, in set_section_perms()
634 set ? perms[i].prot : perms[i].clear, mm); in set_section_perms()
644 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early() argument
653 set_section_perms(perms, n, true, s->mm); in update_sections_early()
655 set_section_perms(perms, n, true, current->active_mm); in update_sections_early()
656 set_section_perms(perms, n, true, &init_mm); in update_sections_early()