Home
last modified time | relevance | path

Searched refs:spp (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/mm/book3s64/
Dsubpage_prot.c94 u32 **spm, *spp; in subpage_prot_clear() local
117 spp = spm[(addr >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_prot_clear()
118 if (!spp) in subpage_prot_clear()
120 spp += (addr >> PAGE_SHIFT) & (SBP_L1_COUNT - 1); in subpage_prot_clear()
127 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear()
189 u32 **spm, *spp; in SYSCALL_DEFINE3() local
248 spp = *spm; in SYSCALL_DEFINE3()
249 if (!spp) { in SYSCALL_DEFINE3()
250 spp = (u32 *)get_zeroed_page(GFP_KERNEL); in SYSCALL_DEFINE3()
251 if (!spp) in SYSCALL_DEFINE3()
[all …]
Dhash_utils.c1376 u32 spp = 0; in subpage_protection() local
1395 spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; in subpage_protection()
1398 spp >>= 30 - 2 * ((ea >> 12) & 0xf); in subpage_protection()
1406 spp = ((spp & 2) ? _PAGE_RWX : 0) | ((spp & 1) ? _PAGE_WRITE : 0); in subpage_protection()
1407 return spp; in subpage_protection()
1634 int spp = subpage_protection(mm, ea); in hash_page_mm() local
1635 if (access & spp) in hash_page_mm()
1639 flags, ssize, spp); in hash_page_mm()
/arch/powerpc/platforms/8xx/
Dmicropatch.c343 struct spi_pram *spp; in cpm_load_patch() local
349 spp = (struct spi_pram *)&cp->cp_dparam[PROFF_SPI]; in cpm_load_patch()
350 out_be16(&spp->rpbase, (rpbase + sizeof(iic_t) + 31) & ~31); in cpm_load_patch()