Lines Matching refs:perms
439 static void set_section_perms(struct section_perm *perms, int n, bool set, in set_section_perms() argument
449 if (!IS_ALIGNED(perms[i].start, SECTION_SIZE) || in set_section_perms()
450 !IS_ALIGNED(perms[i].end, SECTION_SIZE)) { in set_section_perms()
452 perms[i].name, perms[i].start, perms[i].end, in set_section_perms()
457 for (addr = perms[i].start; in set_section_perms()
458 addr < perms[i].end; in set_section_perms()
460 section_update(addr, perms[i].mask, in set_section_perms()
461 set ? perms[i].prot : perms[i].clear, mm); in set_section_perms()
471 static void update_sections_early(struct section_perm perms[], int n) in update_sections_early() argument
480 set_section_perms(perms, n, true, s->mm); in update_sections_early()
482 set_section_perms(perms, n, true, current->active_mm); in update_sections_early()
483 set_section_perms(perms, n, true, &init_mm); in update_sections_early()