Lines Matching refs:perms
523 static void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms() argument
533 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || in set_section_perms()
534 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { in set_section_perms()
536 perms[i].name, perms[i].start, perms[i].end, in set_section_perms()
541 for (addr = perms[i].start; in set_section_perms()
542 addr < perms[i].end; in set_section_perms()
544 section_update(addr, perms[i].mask, in set_section_perms()
545 set ? perms[i].prot : perms[i].clear, mm); in set_section_perms()
555 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early() argument
564 set_section_perms(perms, n, true, s->mm); in update_sections_early()
566 set_section_perms(perms, n, true, current->active_mm); in update_sections_early()
567 set_section_perms(perms, n, true, &init_mm); in update_sections_early()