Searched refs:nw (Results 1 - 12 of 12) sorted by relevance

/linux-4.1.27/arch/powerpc/mm/
H A Dsubpage-prot.c99 size_t nw; subpage_prot_clear() local
121 nw = PTRS_PER_PTE - i; subpage_prot_clear()
122 if (addr + (nw << PAGE_SHIFT) > next) subpage_prot_clear()
123 nw = (next - addr) >> PAGE_SHIFT; subpage_prot_clear()
125 memset(spp, 0, nw * sizeof(u32)); subpage_prot_clear()
128 hpte_flush_range(mm, addr, nw); subpage_prot_clear()
194 size_t nw; sys_subpage_prot() local
246 nw = PTRS_PER_PTE - i; sys_subpage_prot()
247 if (addr + (nw << PAGE_SHIFT) > next) sys_subpage_prot()
248 nw = (next - addr) >> PAGE_SHIFT; sys_subpage_prot()
252 if (__copy_from_user(spp, map, nw * sizeof(u32))) sys_subpage_prot()
254 map += nw; sys_subpage_prot()
258 hpte_flush_range(mm, addr, nw); sys_subpage_prot()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dwa-nep.c96 struct wa_notif_work *nw = container_of(ws, struct wa_notif_work, wa_notif_dispatch() local
98 struct wahc *wa = nw->wa; wa_notif_dispatch()
111 size = nw->size; wa_notif_dispatch()
112 itr = nw->data; wa_notif_dispatch()
154 kfree(nw); wa_notif_dispatch()
185 struct wa_notif_work *nw; wa_nep_queue() local
197 nw = kzalloc(sizeof(*nw) + size, GFP_ATOMIC); wa_nep_queue()
198 if (nw == NULL) { wa_nep_queue()
203 INIT_WORK(&nw->work, wa_notif_dispatch); wa_nep_queue()
204 nw->wa = wa_get(wa); wa_nep_queue()
205 nw->size = size; wa_nep_queue()
206 memcpy(nw->data, wa->nep_buffer, size); wa_nep_queue()
208 queue_work(wusbd, &nw->work); wa_nep_queue()
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_fcu_controls.c90 int tries, nr, nw; wf_fcu_read_reg() local
97 nw = i2c_master_send(pv->i2c, buf, 1); wf_fcu_read_reg()
98 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) wf_fcu_read_reg()
103 if (nw <= 0) { wf_fcu_read_reg()
104 pr_err("Failure writing address to FCU: %d", nw); wf_fcu_read_reg()
105 nr = nw; wf_fcu_read_reg()
117 pr_err("wf_fcu: Failure reading data from FCU: %d", nw); wf_fcu_read_reg()
126 int tries, nw; wf_fcu_write_reg() local
134 nw = i2c_master_send(pv->i2c, buf, nb); wf_fcu_write_reg()
135 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) wf_fcu_write_reg()
140 if (nw < 0) wf_fcu_write_reg()
141 pr_err("wf_fcu: Failure writing to FCU: %d", nw); wf_fcu_write_reg()
142 return nw; wf_fcu_write_reg()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbtcx-risc.c129 s32 nx,nw,dx; btcx_align() local
134 nw = (win->width) & ~mask; btcx_align()
135 if (nx + nw > win->left + win->width) btcx_align()
136 nw -= mask+1; btcx_align()
139 win->width = nw; btcx_align()
147 nw = (clips[i].c.width) & ~mask; btcx_align()
148 if (nx + nw < clips[i].c.left-dx + clips[i].c.width) btcx_align()
149 nw += mask+1; btcx_align()
151 clips[i].c.width = nw; btcx_align()
/linux-4.1.27/crypto/
H A Dvmac.c111 #define nh_16(mp, kp, nw, rh, rl) \
115 for (i = 0; i < nw; i += 2) { \
122 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \
126 for (i = 0; i < nw; i += 2) { \
137 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \
141 for (i = 0; i < nw; i += 8) { \
157 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh1, rl1) \
161 for (i = 0; i < nw; i += 8) { \
216 #define nh_16(mp, kp, nw, rh, rl) \
221 for (i = 0; i < nw; i += 2) { \
303 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \
305 nh_16(mp, kp, nw, rh, rl); \
306 nh_16(mp, ((kp)+2), nw, rh2, rl2); \
310 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \
311 nh_16(mp, kp, nw, rh, rl)
314 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \
316 nh_vmac_nhbytes(mp, kp, nw, rh, rl); \
317 nh_vmac_nhbytes(mp, ((kp)+2), nw, rh2, rl2); \
/linux-4.1.27/scripts/
H A Dget_maintainer.pl2113 my @nw = split(/[^A-Za-zÀ-ÿ\'\,\.\+-]/, $name);
2114 if (@nw > 2) {
2115 my $first = $nw[@nw - 3];
2116 my $middle = $nw[@nw - 2];
2117 my $last = $nw[@nw - 1];
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_user_sdma.c406 size_t nw; ipath_user_sdma_queue_pkts() local
421 nw = len >> 2; ipath_user_sdma_queue_pkts()
462 pktnwc = nw - 1; ipath_user_sdma_queue_pkts()
/linux-4.1.27/fs/jfs/
H A Djfs_dmap.c1128 int dbitno, word, rembits, nb, nwords, wbitno, nw; dbAllocNext() local
1215 nw = BUDSIZE(l2size, BUDMIN); dbAllocNext()
1217 nwords -= nw; dbAllocNext()
1218 word += nw; dbAllocNext()
2180 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; dbAllocBits() local
2251 for (; nwords > 0; nwords -= nw) { dbAllocBits()
2275 nw = BUDSIZE(size, BUDMIN); dbAllocBits()
2276 word += nw; dbAllocBits()
2327 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; dbFreeBits() local
2399 for (; nwords > 0; nwords -= nw) { dbFreeBits()
2418 nw = BUDSIZE(size, BUDMIN); dbFreeBits()
2419 word += nw; dbFreeBits()
3749 int blkno, w, b, r, nw, nb, i; dbInitDmap() local
3794 nw = r >> L2DBWORD; dbInitDmap()
3795 memset(&dp->wmap[w], 0, nw * 4); dbInitDmap()
3796 memset(&dp->pmap[w], 0, nw * 4); dbInitDmap()
3799 nb = nw << L2DBWORD; dbInitDmap()
3800 w += nw; dbInitDmap()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c1234 unsigned long i, nb, nw; kvm_htab_read() local
1258 nw = nb; kvm_htab_read()
1304 nw = nb; kvm_htab_read()
1307 nb = nw; kvm_htab_read()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c821 size_t nw; qib_user_sdma_queue_pkts() local
837 nw = len >> 2; qib_user_sdma_queue_pkts()
862 pktnwc = nw - 1; qib_user_sdma_queue_pkts()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c330 /* find cos for nw prio and extend it with unmapped */ bnx2x_dcbx_map_nw()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dnw80x.c121 * - nw??? 06a5:d001
125 * - nw??? ????:????

Completed in 1624 milliseconds