Lines Matching refs:nw
92 size_t nw; in subpage_prot_clear() local
119 nw = PTRS_PER_PTE - i; in subpage_prot_clear()
120 if (addr + (nw << PAGE_SHIFT) > next) in subpage_prot_clear()
121 nw = (next - addr) >> PAGE_SHIFT; in subpage_prot_clear()
123 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear()
126 hpte_flush_range(mm, addr, nw); in subpage_prot_clear()
195 size_t nw; in SYSCALL_DEFINE3() local
266 nw = PTRS_PER_PTE - i; in SYSCALL_DEFINE3()
267 if (addr + (nw << PAGE_SHIFT) > next) in SYSCALL_DEFINE3()
268 nw = (next - addr) >> PAGE_SHIFT; in SYSCALL_DEFINE3()
271 if (__copy_from_user(spp, map, nw * sizeof(u32))) in SYSCALL_DEFINE3()
273 map += nw; in SYSCALL_DEFINE3()
277 hpte_flush_range(mm, addr, nw); in SYSCALL_DEFINE3()