Lines Matching refs:perms
521 static void set_section_perms(struct section_perm *perms, int n, bool set,
531 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) ||
532 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) {
534 perms[i].name, perms[i].start, perms[i].end,
539 for (addr = perms[i].start;
540 addr < perms[i].end;
542 section_update(addr, perms[i].mask,
543 set ? perms[i].prot : perms[i].clear, mm);
553 static void update_sections_early(struct section_perm perms[], int n)
562 set_section_perms(perms, n, true, s->mm);
564 set_section_perms(perms, n, true, current->active_mm);
565 set_section_perms(perms, n, true, &init_mm);