Lines Matching refs:spt
28 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_free() local
33 if (spt->low_prot[i]) { in subpage_prot_free()
34 free_page((unsigned long)spt->low_prot[i]); in subpage_prot_free()
35 spt->low_prot[i] = NULL; in subpage_prot_free()
40 p = spt->protptrs[i]; in subpage_prot_free()
43 spt->protptrs[i] = NULL; in subpage_prot_free()
44 for (j = 0; j < SBP_L2_COUNT && addr < spt->maxaddr; in subpage_prot_free()
50 spt->maxaddr = 0; in subpage_prot_free()
55 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_init_new_context() local
57 memset(spt, 0, sizeof(*spt)); in subpage_prot_init_new_context()
96 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_clear() local
104 if (limit > spt->maxaddr) in subpage_prot_clear()
105 limit = spt->maxaddr; in subpage_prot_clear()
109 spm = spt->low_prot; in subpage_prot_clear()
111 spm = spt->protptrs[addr >> SBP_L3_SHIFT]; in subpage_prot_clear()
191 struct subpage_prot_table *spt = &mm->context.spt; in sys_subpage_prot() local
221 spm = spt->low_prot; in sys_subpage_prot()
223 spm = spt->protptrs[addr >> SBP_L3_SHIFT]; in sys_subpage_prot()
228 spt->protptrs[addr >> SBP_L3_SHIFT] = spm; in sys_subpage_prot()
260 if (limit > spt->maxaddr) in sys_subpage_prot()
261 spt->maxaddr = limit; in sys_subpage_prot()