Lines Matching refs:perms
394 static void set_section_perms(struct section_perm *perms, int n, bool set,
404 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) ||
405 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) {
407 perms[i].name, perms[i].start, perms[i].end,
412 for (addr = perms[i].start;
413 addr < perms[i].end;
415 section_update(addr, perms[i].mask,
416 set ? perms[i].prot : perms[i].clear, mm);
426 static void update_sections_early(struct section_perm perms[], int n)
435 set_section_perms(perms, n, true, s->mm);
437 set_section_perms(perms, n, true, current->active_mm);
438 set_section_perms(perms, n, true, &init_mm);