/linux-4.4.14/net/sunrpc/ |
D | xdr.c | 443 return (unsigned int)(XDR_QUADLEN(xdr->buf->len) - xdr->nwords) << 2; in xdr_stream_pos() 795 xdr->nwords = XDR_QUADLEN(buf->len); in xdr_init_decode() 801 xdr->nwords -= p - xdr->p; in xdr_init_decode() 828 unsigned int nwords = XDR_QUADLEN(nbytes); in __xdr_inline_decode() local 830 __be32 *q = p + nwords; in __xdr_inline_decode() 832 if (unlikely(nwords > xdr->nwords || q > xdr->end || q < p)) in __xdr_inline_decode() 835 xdr->nwords -= nwords; in __xdr_inline_decode() 906 unsigned int nwords = XDR_QUADLEN(len); in xdr_align_pages() local 909 if (xdr->nwords == 0) in xdr_align_pages() 915 xdr->nwords = XDR_QUADLEN(buf->len - cur); in xdr_align_pages() [all …]
|
/linux-4.4.14/lib/ |
D | dynamic_debug.c | 215 int nwords = 0; in ddebug_tokenize() local 243 if (nwords == maxwords) { in ddebug_tokenize() 249 words[nwords++] = buf; in ddebug_tokenize() 256 for (i = 0; i < nwords; i++) in ddebug_tokenize() 261 return nwords; in ddebug_tokenize() 311 static int ddebug_parse_query(char *words[], int nwords, in ddebug_parse_query() argument 318 if (nwords % 2 != 0) { in ddebug_parse_query() 328 for (i = 0; i < nwords; i += 2) { in ddebug_parse_query() 438 int nwords, nfound; in ddebug_exec_query() local 441 nwords = ddebug_tokenize(query_string, words, MAXWORDS); in ddebug_exec_query() [all …]
|
D | bch.c | 139 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8() local 141 for (i = 0; i < nwords; i++, src += 4) in load_ecc8() 144 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8() 145 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 155 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8() local 157 for (i = 0; i < nwords; i++) { in store_ecc8() 163 pad[0] = (src[nwords] >> 24); in store_ecc8() 164 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8() 165 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8() 166 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8() [all …]
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dmap.c | 428 int word, nbits, nwords; in dbUpdatePMap() local 516 nwords = rbits >> L2DBWORD; in dbUpdatePMap() 517 nbits = nwords << L2DBWORD; in dbUpdatePMap() 524 nwords * 4); in dbUpdatePMap() 527 nwords * 4); in dbUpdatePMap() 529 word += nwords; in dbUpdatePMap() 1128 int dbitno, word, rembits, nb, nwords, wbitno, nw; in dbAllocNext() local 1195 nwords = rembits >> L2DBWORD; in dbAllocNext() 1196 nb = nwords << L2DBWORD; in dbAllocNext() 1201 while (nwords > 0) { in dbAllocNext() [all …]
|
D | jfs_imap.c | 1344 int nwords, rem, i, agno; in diAlloc() local 1488 nwords = (bitno == 0) ? SMAPSZ : SMAPSZ + 1; in diAlloc() 1501 for (i = 0; i < nwords; i++) { in diAlloc()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_ruc.c | 580 struct ib_global_route *grh, u32 hwords, u32 nwords) in ipath_make_grh() argument 586 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in ipath_make_grh() 604 u32 nwords; in ipath_make_ruc_header() local 609 nwords = (qp->s_cur_size + extra_bytes) >> 2; in ipath_make_ruc_header() 614 qp->s_hdrwords, nwords); in ipath_make_ruc_header() 620 qp->s_hdr.lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in ipath_make_ruc_header()
|
D | ipath_ud.c | 247 u32 nwords; in ipath_make_ud_req() local 314 nwords = (wqe->length + extra_bytes) >> 2; in ipath_make_ud_req() 330 qp->s_hdrwords, nwords); in ipath_make_ud_req() 353 qp->s_hdr.lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + in ipath_make_ud_req()
|
D | ipath_verbs.h | 872 struct ib_global_route *grh, u32 hwords, u32 nwords);
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | vpdma.h | 152 u32 nwords; member 167 h->nwords = sizeof(adb->regs) >> 2; \
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 655 struct ib_global_route *grh, u32 hwords, u32 nwords) in qib_make_grh() argument 661 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh() 680 u32 nwords; in qib_make_ruc_header() local 685 nwords = (qp->s_cur_size + extra_bytes) >> 2; in qib_make_ruc_header() 690 qp->s_hdrwords, nwords); in qib_make_ruc_header() 697 qp->s_hdr->lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ruc_header()
|
D | qib_ud.c | 243 u32 nwords; in qib_make_ud_req() local 312 nwords = (wqe->length + extra_bytes) >> 2; in qib_make_ud_req() 329 qp->s_hdrwords, nwords); in qib_make_ud_req() 354 qp->s_hdr->lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
|
D | qib_verbs.h | 1107 struct ib_global_route *grh, u32 hwords, u32 nwords);
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | ruc.c | 676 struct ib_global_route *grh, u32 hwords, u32 nwords) in hfi1_make_grh() argument 682 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in hfi1_make_grh() 762 u32 nwords; in hfi1_make_ruc_header() local 769 nwords = (qp->s_cur_size + extra_bytes) >> 2; in hfi1_make_ruc_header() 774 qp->s_hdrwords, nwords); in hfi1_make_ruc_header() 807 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in hfi1_make_ruc_header()
|
D | ud.c | 274 u32 nwords; in hfi1_make_ud_req() local 341 nwords = (wqe->length + extra_bytes) >> 2; in hfi1_make_ud_req() 359 qp->s_hdrwords, nwords); in hfi1_make_ud_req() 389 cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in hfi1_make_ud_req()
|
D | verbs.h | 1078 struct ib_global_route *grh, u32 hwords, u32 nwords);
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | hermes.c | 487 unsigned nwords; in hermes_read_ltv() local 520 nwords = min((unsigned)rlength - 1, bufsize / 2); in hermes_read_ltv() 521 hermes_read_words(hw, dreg, buf, nwords); in hermes_read_ltv()
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-regs.c | 234 unsigned int nwords = width * ybpp / 4; in camif_get_dma_burst() local 241 if (nwords < div) in camif_get_dma_burst() 244 rem = nwords & (div - 1); in camif_get_dma_burst()
|
/linux-4.4.14/drivers/crypto/ux500/hash/ |
D | hash_core.c | 445 int nwords = 1; in hash_hw_write_key() local 452 HASH_SET_DIN(key_word, nwords); in hash_hw_write_key() 465 HASH_SET_DIN(&word, nwords); in hash_hw_write_key() 632 int nwords = 1; in hash_messagepad() local 642 HASH_SET_DIN(message, nwords); in hash_messagepad() 648 HASH_SET_DIN(message, nwords); in hash_messagepad()
|
/linux-4.4.14/include/linux/sunrpc/ |
D | xdr.h | 207 unsigned int nwords; /* Remaining decode buffer length */ member
|
/linux-4.4.14/drivers/mmc/host/ |
D | omap.c | 669 int n, nwords; in mmc_omap_xfer_data() local 681 nwords = DIV_ROUND_UP(n, 2); in mmc_omap_xfer_data() 689 host->buffer, nwords); in mmc_omap_xfer_data() 692 host->buffer, nwords); in mmc_omap_xfer_data() 695 host->buffer += nwords; in mmc_omap_xfer_data()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 2825 unsigned int nwords, u32 *data, int byte_oriented) in t4_read_flash() argument 2829 if (addr + nwords * sizeof(u32) > adapter->params.sf_size || (addr & 3)) in t4_read_flash() 2838 for ( ; nwords; nwords--, data++) { in t4_read_flash() 2839 ret = sf1_read(adapter, 4, nwords > 1, nwords == 1, data); in t4_read_flash() 2840 if (nwords == 1) in t4_read_flash() 7522 const unsigned int nwords = CIM_IBQ_SIZE * 4; in t4_read_cim_ibq() local 7527 addr = qid * nwords; in t4_read_cim_ibq() 7528 if (n > nwords) in t4_read_cim_ibq() 7529 n = nwords; in t4_read_cim_ibq() 7563 unsigned int addr, v, nwords; in t4_read_cim_obq() local [all …]
|
D | cxgb4.h | 1246 unsigned int nwords, u32 *data, int byte_oriented);
|
/linux-4.4.14/drivers/scsi/snic/ |
D | vnic_dev.c | 623 unsigned int nwords = sizeof(struct vnic_devcmd_notify) / 4; in vnic_dev_notify_ready() local 635 for (i = 1; i < nwords; i++) in vnic_dev_notify_ready()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | vnic_dev.c | 561 unsigned int nwords = sizeof(struct vnic_devcmd_notify) / 4; in vnic_dev_notify_ready() local 573 for (i = 1; i < nwords; i++) in vnic_dev_notify_ready()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_hw.c | 486 csio_hw_read_flash(struct csio_hw *hw, uint32_t addr, uint32_t nwords, in csio_hw_read_flash() argument 491 if (addr + nwords * sizeof(uint32_t) > hw->params.sf_size || (addr & 3)) in csio_hw_read_flash() 504 for ( ; nwords; nwords--, data++) { in csio_hw_read_flash() 505 ret = csio_hw_sf1_read(hw, 4, nwords > 1, nwords == 1, data); in csio_hw_read_flash() 506 if (nwords == 1) in csio_hw_read_flash()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 895 unsigned int nwords = vdev->notify_sz / 4; in vnic_dev_notify_ready() local 906 for (i = 1; i < nwords; i++) in vnic_dev_notify_ready()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 846 unsigned int nwords, u32 *data, int byte_oriented) in t3_read_flash() argument 850 if (addr + nwords * sizeof(u32) > SF_SIZE || (addr & 3)) in t3_read_flash() 859 for (; nwords; nwords--, data++) { in t3_read_flash() 860 ret = sf1_read(adapter, 4, nwords > 1, data); in t3_read_flash()
|
/linux-4.4.14/fs/proc/ |
D | base.c | 408 unsigned int nwords = 0; in proc_pid_auxv() local 410 nwords += 2; in proc_pid_auxv() 411 } while (mm->saved_auxv[nwords - 2] != 0); /* AT_NULL */ in proc_pid_auxv() 412 seq_write(m, mm->saved_auxv, nwords * sizeof(mm->saved_auxv[0])); in proc_pid_auxv()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4xdr.c | 4203 unsigned int nwords = (xdr_stream_pos(xdr) - savep) >> 2; in verify_attr_len() local 4205 if (unlikely(attrwords != nwords)) { in verify_attr_len() 4210 (attrwords < nwords) ? '<' : '>', in verify_attr_len() 4211 nwords << 2); in verify_attr_len() 5323 if (res->acl_len > (xdr->nwords << 2) || in decode_getacl() 5327 attrlen, xdr->nwords << 2); in decode_getacl()
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 8152 int nwords; in flashputbuf() local 8161 for(nwords=0;nwords != FLASHSIZE / 2;nwords++){ in flashputbuf() 8162 OUT4500(ai,AUXDATA,ai->flash[nwords] & 0xffff); in flashputbuf()
|
/linux-4.4.14/drivers/ata/ |
D | sata_mv.c | 2240 static unsigned int mv_send_fis(struct ata_port *ap, u32 *fis, int nwords) in mv_send_fis() argument 2244 int i, timeout = 200, final_word = nwords - 1; in mv_send_fis()
|