Lines Matching defs:spt
28 struct subpage_prot_table *spt = &mm->context.spt;
33 if (spt->low_prot[i]) {
34 free_page((unsigned long)spt->low_prot[i]);
35 spt->low_prot[i] = NULL;
40 p = spt->protptrs[i];
43 spt->protptrs[i] = NULL;
44 for (j = 0; j < SBP_L2_COUNT && addr < spt->maxaddr;
50 spt->maxaddr = 0;
55 struct subpage_prot_table *spt = &mm->context.spt;
57 memset(spt, 0, sizeof(*spt));
96 struct subpage_prot_table *spt = &mm->context.spt;
103 if (limit > spt->maxaddr)
104 limit = spt->maxaddr;
108 spm = spt->low_prot;
110 spm = spt->protptrs[addr >> SBP_L3_SHIFT];
145 struct subpage_prot_table *spt = &mm->context.spt;
173 spm = spt->low_prot;
175 spm = spt->protptrs[addr >> SBP_L3_SHIFT];
180 spt->protptrs[addr >> SBP_L3_SHIFT] = spm;
212 if (limit > spt->maxaddr)
213 spt->maxaddr = limit;