Lines Matching refs:nw
94 size_t nw; in subpage_prot_clear() local
121 nw = PTRS_PER_PTE - i; in subpage_prot_clear()
122 if (addr + (nw << PAGE_SHIFT) > next) in subpage_prot_clear()
123 nw = (next - addr) >> PAGE_SHIFT; in subpage_prot_clear()
125 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear()
128 hpte_flush_range(mm, addr, nw); in subpage_prot_clear()
197 size_t nw; in SYSCALL_DEFINE3() local
268 nw = PTRS_PER_PTE - i; in SYSCALL_DEFINE3()
269 if (addr + (nw << PAGE_SHIFT) > next) in SYSCALL_DEFINE3()
270 nw = (next - addr) >> PAGE_SHIFT; in SYSCALL_DEFINE3()
273 if (__copy_from_user(spp, map, nw * sizeof(u32))) in SYSCALL_DEFINE3()
275 map += nw; in SYSCALL_DEFINE3()
279 hpte_flush_range(mm, addr, nw); in SYSCALL_DEFINE3()