Lines Matching refs:spm
92 u32 **spm, *spp; in subpage_prot_clear() local
109 spm = spt->low_prot; in subpage_prot_clear()
111 spm = spt->protptrs[addr >> SBP_L3_SHIFT]; in subpage_prot_clear()
112 if (!spm) in subpage_prot_clear()
115 spp = spm[(addr >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_prot_clear()
186 u32 **spm, *spp; in SYSCALL_DEFINE3() local
234 spm = spt->low_prot; in SYSCALL_DEFINE3()
236 spm = spt->protptrs[addr >> SBP_L3_SHIFT]; in SYSCALL_DEFINE3()
237 if (!spm) { in SYSCALL_DEFINE3()
238 spm = (u32 **)get_zeroed_page(GFP_KERNEL); in SYSCALL_DEFINE3()
239 if (!spm) in SYSCALL_DEFINE3()
241 spt->protptrs[addr >> SBP_L3_SHIFT] = spm; in SYSCALL_DEFINE3()
244 spm += (addr >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1); in SYSCALL_DEFINE3()
245 spp = *spm; in SYSCALL_DEFINE3()
250 *spm = spp; in SYSCALL_DEFINE3()