Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dsubpage-prot.c97 u32 **spm, *spp; in subpage_prot_clear() local
115 spp = spm[(addr >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_prot_clear()
116 if (!spp) in subpage_prot_clear()
118 spp += (addr >> PAGE_SHIFT) & (SBP_L1_COUNT - 1); in subpage_prot_clear()
125 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear()
194 u32 **spm, *spp; in sys_subpage_prot() local
234 spp = *spm; in sys_subpage_prot()
235 if (!spp) { in sys_subpage_prot()
236 spp = (u32 *)get_zeroed_page(GFP_KERNEL); in sys_subpage_prot()
237 if (!spp) in sys_subpage_prot()
[all …]
Dhash_utils_64.c925 u32 spp = 0; in subpage_protection() local
941 spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; in subpage_protection()
944 spp >>= 30 - 2 * ((ea >> 12) & 0xf); in subpage_protection()
947 spp = ((spp & 2) ? _PAGE_USER : 0) | ((spp & 1) ? _PAGE_RW : 0); in subpage_protection()
948 return spp; in subpage_protection()
1156 int spp = subpage_protection(mm, ea); in hash_page_mm() local
1157 if (access & spp) in hash_page_mm()
1161 local, ssize, spp); in hash_page_mm()
/arch/powerpc/sysdev/
Dmicropatch.c631 volatile struct spi_pram *spp; in cpm_load_patch() local
676 spp = (struct spi_pram *)&commproc->cp_dparam[PROFF_SPI]; in cpm_load_patch()
677 spp->rpbase = i; in cpm_load_patch()