/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_io.c | 74 size_t tlen; in ft_queue_data_in() local 146 tlen = min(mem_len, frame_len); in ft_queue_data_in() 154 page, off_in_page, tlen); in ft_queue_data_in() 155 fr_len(fp) += tlen; in ft_queue_data_in() 156 fp_skb(fp)->data_len += tlen; in ft_queue_data_in() 164 tlen = min(tlen, (size_t)(PAGE_SIZE - in ft_queue_data_in() 166 memcpy(to, from, tlen); in ft_queue_data_in() 168 to += tlen; in ft_queue_data_in() 171 mem_off += tlen; in ft_queue_data_in() 172 mem_len -= tlen; in ft_queue_data_in() [all …]
|
/linux-4.1.27/drivers/spi/ |
D | spi-sc18is602.c | 51 int tlen; /* Data queued for tx in buffer */ member 76 if (hw->tlen == 0) { in sc18is602_txrx() 79 hw->tlen = 1; in sc18is602_txrx() 88 memcpy(&hw->buffer[hw->tlen], t->tx_buf, len); in sc18is602_txrx() 89 hw->tlen += len; in sc18is602_txrx() 93 hw->rindex = hw->tlen - 1; in sc18is602_txrx() 101 hw->rindex = hw->tlen - 1; in sc18is602_txrx() 102 memset(&hw->buffer[hw->tlen], 0, len); in sc18is602_txrx() 103 hw->tlen += len; in sc18is602_txrx() 107 if (do_transfer && hw->tlen > 1) { in sc18is602_txrx() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 243 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_uc_rcv() argument 371 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 394 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 397 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 398 wc.byte_len = tlen + qp->r_rcv_len; in qib_uc_rcv() 402 qib_copy_sge(&qp->r_sge, data, tlen, 0); in qib_uc_rcv() 462 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 480 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 483 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 484 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) in qib_uc_rcv() [all …]
|
D | qib_driver.c | 310 u32 tlen = qib_hdrget_length_in_bytes(rhf_addr); in qib_rcv_hdrerr() local 319 if (tlen < 24) in qib_rcv_hdrerr() 456 u32 eflags, etype, tlen, i = 0, updegr = 0, crcs = 0; in qib_kreceive() local 481 tlen = qib_hdrget_length_in_bytes(rhf_addr); in qib_kreceive() 488 if (tlen > sizeof(*hdr) || in qib_kreceive() 491 prefetch_range(ebuf, tlen - sizeof(*hdr)); in qib_kreceive() 497 if (lrh_len != tlen) { in qib_kreceive() 504 tlen > (dd->rcvhdrentsize - 2 + 1 - in qib_kreceive() 517 qib_ib_rcv(rcd, hdr, ebuf, tlen); in qib_kreceive()
|
D | qib_ud.c | 429 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_ud_rcv() argument 456 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 459 tlen -= hdrsize + pad + 4; in qib_ud_rcv() 493 (tlen != 256 || in qib_ud_rcv() 500 if (tlen != 256 || (be16_to_cpu(hdr->lrh[0]) >> 12) != 15) in qib_ud_rcv() 518 tlen -= sizeof(u32); in qib_ud_rcv() 529 wc.byte_len = tlen + sizeof(struct ib_grh); in qib_ud_rcv()
|
D | qib_rc.c | 1399 void *data, u32 tlen, in qib_rc_rcv_resp() argument 1507 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv_resp() 1547 if (unlikely(tlen < (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1572 if (unlikely(tlen <= (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1575 tlen -= hdrsize + pad + 8; in qib_rc_rcv_resp() 1576 if (unlikely(tlen != qp->s_rdma_read_len)) in qib_rc_rcv_resp() 1579 qib_copy_sge(&qp->s_rdma_read_sge, data, tlen, 0); in qib_rc_rcv_resp() 1863 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_rc_rcv() argument 1902 qib_rc_rcv_resp(ibp, ohdr, data, tlen, qp, opcode, psn, in qib_rc_rcv() 1975 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv() [all …]
|
D | qib_verbs.c | 561 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_qp_rcv() argument 580 qib_ud_rcv(ibp, hdr, has_grh, data, tlen, qp); in qib_qp_rcv() 584 qib_rc_rcv(rcd, hdr, has_grh, data, tlen, qp); in qib_qp_rcv() 588 qib_uc_rcv(ibp, hdr, has_grh, data, tlen, qp); in qib_qp_rcv() 609 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument 622 if (unlikely(tlen < 24)) in qib_ib_rcv() 651 rcd->opstats->stats[opcode].n_bytes += tlen; in qib_ib_rcv() 668 qib_qp_rcv(rcd, hdr, 1, data, tlen, p->qp); in qib_ib_rcv() 694 qib_qp_rcv(rcd, hdr, lnh == QIB_LRH_GRH, data, tlen, qp); in qib_ib_rcv()
|
D | qib_verbs.h | 959 int has_grh, void *data, u32 tlen, struct qib_qp *qp); 962 int has_grh, void *data, u32 tlen, struct qib_qp *qp); 977 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
|
D | qib_user_sdma.c | 665 unsigned long addr, int tlen, int npages) in qib_user_sdma_pin_pages() argument 688 int flen = ((fofs + tlen) > PAGE_SIZE) ? in qib_user_sdma_pin_pages() 689 (PAGE_SIZE - fofs) : tlen; in qib_user_sdma_pin_pages() 702 tlen -= flen; in qib_user_sdma_pin_pages()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_uc.c | 241 int has_grh, void *data, u32 tlen, struct ipath_qp *qp) in ipath_uc_rcv() argument 365 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 397 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv() 403 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv() 404 wc.byte_len = tlen + qp->r_rcv_len; in ipath_uc_rcv() 412 ipath_copy_sge(&qp->r_sge, data, tlen); in ipath_uc_rcv() 471 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 499 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv() 504 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv() 505 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) { in ipath_uc_rcv() [all …]
|
D | ipath_ud.c | 410 int has_grh, void *data, u32 tlen, struct ipath_qp *qp) in ipath_ud_rcv() argument 499 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_ud_rcv() 504 tlen -= hdrsize + pad + 4; in ipath_ud_rcv() 508 (tlen != 256 || in ipath_ud_rcv() 511 (tlen != 256 || in ipath_ud_rcv() 521 wc.byte_len = tlen + sizeof(struct ib_grh); in ipath_ud_rcv()
|
D | ipath_rc.c | 1119 void *data, u32 tlen, in ipath_rc_rcv_resp() argument 1215 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv_resp() 1254 if (unlikely(tlen < (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1285 if (unlikely(tlen <= (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1288 tlen -= hdrsize + pad + 8; in ipath_rc_rcv_resp() 1289 if (unlikely(tlen != qp->s_rdma_read_len)) in ipath_rc_rcv_resp() 1297 ipath_copy_sge(&qp->s_rdma_read_sge, data, tlen); in ipath_rc_rcv_resp() 1571 int has_grh, void *data, u32 tlen, struct ipath_qp *qp) in ipath_rc_rcv() argument 1620 ipath_rc_rcv_resp(dev, ohdr, data, tlen, qp, opcode, psn, in ipath_rc_rcv() 1681 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv() [all …]
|
D | ipath_verbs.c | 542 void *data, u32 tlen, struct ipath_qp *qp) in ipath_qp_rcv() argument 557 ipath_ud_rcv(dev, hdr, has_grh, data, tlen, qp); in ipath_qp_rcv() 561 ipath_rc_rcv(dev, hdr, has_grh, data, tlen, qp); in ipath_qp_rcv() 565 ipath_uc_rcv(dev, hdr, has_grh, data, tlen, qp); in ipath_qp_rcv() 584 u32 tlen) in ipath_ib_rcv() argument 597 if (unlikely(tlen < 24)) { /* LRH+BTH+CRC */ in ipath_ib_rcv() 624 dev->opstats[opcode].n_bytes += tlen; in ipath_ib_rcv() 644 ipath_qp_rcv(dev, hdr, 1, data, tlen, p->qp); in ipath_ib_rcv() 656 tlen, qp); in ipath_ib_rcv()
|
D | ipath_verbs.h | 766 int has_grh, void *data, u32 tlen, struct ipath_qp *qp); 769 int has_grh, void *data, u32 tlen, struct ipath_qp *qp); 778 int has_grh, void *data, u32 tlen, struct ipath_qp *qp);
|
D | ipath_user_sdma.c | 277 unsigned long addr, int tlen, int npages) in ipath_user_sdma_pin_pages() argument 297 ipath_user_sdma_page_length(addr, tlen); in ipath_user_sdma_pin_pages() 314 tlen -= flen; in ipath_user_sdma_pin_pages()
|
D | ipath_driver.c | 1154 u32 eflags, i, etype, tlen, pkttot = 0, updegr = 0, reloop = 0; in ipath_kreceive() local 1179 tlen = ipath_hdrget_length_in_bytes(rhf_addr); in ipath_kreceive() 1193 if (tlen > sizeof(*hdr) || in ipath_kreceive() 1213 ipath_ib_rcv(dd->verbs_dev, (u32 *)hdr, ebuf, tlen); in ipath_kreceive() 1221 etype, opcode, qp, tlen); in ipath_kreceive() 1236 etail, tlen, l, (unsigned long long) in ipath_kreceive() 1240 if (rsize > (tlen>>2)) in ipath_kreceive() 1241 dw = tlen>>2; in ipath_kreceive()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 876 unsigned int tlen, wlen = 0, clen = 0; in carl9170_rx_stream() local 881 tlen = len; in carl9170_rx_stream() 883 while (tlen >= 4) { in carl9170_rx_stream() 904 __carl9170_rx(ar, tbuf, tlen); in carl9170_rx_stream() 908 if (ar->rx_failover_missing > tlen) { in carl9170_rx_stream() 919 memcpy(skb_put(ar->rx_failover, tlen), tbuf, tlen); in carl9170_rx_stream() 920 ar->rx_failover_missing -= tlen; in carl9170_rx_stream() 943 if (wlen > tlen - 4) { in carl9170_rx_stream() 961 memcpy(skb_put(ar->rx_failover, tlen), tbuf, tlen); in carl9170_rx_stream() 962 ar->rx_failover_missing = clen - tlen; in carl9170_rx_stream() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | aes-i586-asm_32.S | 42 #define tlen 1024 // length of each of 4 'xor' arrays (256 32-bit words) macro 98 xor table+tlen(,%tmp,4),%a2; \ 101 xor table+2*tlen(,%tmp,4),%a3; \ 102 xor table+3*tlen(,%idx,4),%a4; 115 xor table+tlen(,%tmp,4),%a2; \ 118 xor table+3*tlen(,%idx,4),%a4; \ 121 xor table+2*tlen(,%tmp,4),%a3; 134 xor table+tlen(,%tmp,4),%a2; \ 137 xor table+3*tlen(,%idx,4),%a4; \ 140 xor table+2*tlen(,%tmp,4),%a3;
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_disc.c | 398 size_t tlen; in fc_disc_gpn_ft_parse() local 412 tlen = disc->buf_len; in fc_disc_gpn_ft_parse() 414 if (tlen) { in fc_disc_gpn_ft_parse() 415 WARN_ON(tlen >= sizeof(*np)); in fc_disc_gpn_ft_parse() 416 plen = sizeof(*np) - tlen; in fc_disc_gpn_ft_parse() 422 memcpy((char *)np + tlen, bp, plen); in fc_disc_gpn_ft_parse() 428 bp -= tlen; in fc_disc_gpn_ft_parse() 429 len += tlen; in fc_disc_gpn_ft_parse() 430 plen += tlen; in fc_disc_gpn_ft_parse()
|
D | fc_fcp.c | 570 size_t tlen; in fc_fcp_send_data() local 611 tlen = 0; in fc_fcp_send_data() 625 tlen = min(t_blen, remaining); in fc_fcp_send_data() 632 if (tlen % 4) in fc_fcp_send_data() 634 fp = fc_frame_alloc(lport, using_sg ? 0 : tlen); in fc_fcp_send_data() 644 sg_bytes = min(tlen, sg->length - offset); in fc_fcp_send_data() 669 tlen -= sg_bytes; in fc_fcp_send_data() 673 (tlen)) in fc_fcp_send_data()
|
/linux-4.1.27/drivers/dma/ |
D | sa11x0-dma.c | 574 unsigned tlen = len; in sa11x0_dma_prep_slave_sg() local 582 if (tlen > DMA_MAX_SIZE) { in sa11x0_dma_prep_slave_sg() 583 unsigned mult = DIV_ROUND_UP(tlen, in sa11x0_dma_prep_slave_sg() 586 tlen = (tlen / mult) & ~DMA_ALIGN; in sa11x0_dma_prep_slave_sg() 590 txd->sg[j].len = tlen; in sa11x0_dma_prep_slave_sg() 592 addr += tlen; in sa11x0_dma_prep_slave_sg() 593 len -= tlen; in sa11x0_dma_prep_slave_sg() 637 size_t tlen, len = period; in sa11x0_dma_prep_dma_cyclic() local 640 tlen = len; in sa11x0_dma_prep_dma_cyclic() 642 if (tlen > DMA_MAX_SIZE) { in sa11x0_dma_prep_dma_cyclic() [all …]
|
/linux-4.1.27/fs/nfsd/ |
D | xdr.h | 52 unsigned int tlen; member 64 unsigned int tlen; member 72 unsigned int tlen; member
|
D | xdr3.h | 70 unsigned int tlen; member 82 unsigned int tlen; member 90 unsigned int tlen; member
|
D | nfsproc.c | 364 SVCFH_fmt(&argp->tfh), argp->tlen, argp->tname); in nfsd_proc_rename() 367 &argp->tfh, argp->tname, argp->tlen); in nfsd_proc_rename() 383 argp->tlen, in nfsd_proc_link() 386 nfserr = nfsd_link(rqstp, &argp->tfh, argp->tname, argp->tlen, in nfsd_proc_link() 402 argp->tlen, argp->tname); in nfsd_proc_symlink() 410 argp->tname[argp->tlen] = '\0'; in nfsd_proc_symlink()
|
D | nfs3proc.c | 275 argp->tlen, argp->tname); in nfsd3_proc_symlink() 374 argp->tlen, in nfsd3_proc_rename() 380 &resp->tfh, argp->tname, argp->tlen); in nfsd3_proc_rename() 394 argp->tlen, in nfsd3_proc_link() 399 nfserr = nfsd_link(rqstp, &resp->tfh, argp->tname, argp->tlen, in nfsd3_proc_link()
|
D | nfsxdr.c | 351 || !(p = decode_filename(p, &args->tname, &args->tlen))) in nfssvc_decode_renameargs() 374 || !(p = decode_filename(p, &args->tname, &args->tlen))) in nfssvc_decode_linkargs() 386 || !(p = decode_pathname(p, &args->tname, &args->tlen))) in nfssvc_decode_symlinkargs()
|
D | nfsctl.c | 548 ssize_t tlen = 0; in __write_versions() local 616 tlen += len; in __write_versions() 631 tlen += len; in __write_versions() 637 return tlen + len; in __write_versions()
|
D | nfs3xdr.c | 470 args->tlen = len; in nfs3svc_decode_symlinkargs() 526 || !(p = decode_filename(p, &args->tname, &args->tlen))) in nfs3svc_decode_renameargs() 550 || !(p = decode_filename(p, &args->tname, &args->tlen))) in nfs3svc_decode_linkargs()
|
D | vfs.c | 1677 struct svc_fh *tfhp, char *tname, int tlen) in nfsd_rename() argument 1698 if (!flen || isdotent(fname, flen) || !tlen || isdotent(tname, tlen)) in nfsd_rename() 1726 ndentry = lookup_one_len(tname, tdentry, tlen); in nfsd_rename()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | vio.c | 209 int err, tlen, clen; in vio_create_one() local 213 type = mdesc_get_property(hp, mp, "device-type", &tlen); in vio_create_one() 215 type = mdesc_get_property(hp, mp, "name", &tlen); in vio_create_one() 218 tlen = strlen(type) + 1; in vio_create_one() 221 if (tlen > VIO_MAX_TYPE_LEN) { in vio_create_one() 271 memcpy(vdev->type, type, tlen); in vio_create_one()
|
D | ioport.c | 184 int tlen; in _sparc_alloc_io() local 197 tlen = strlen(name); in _sparc_alloc_io() 198 tack = kmalloc(sizeof (struct resource) + tlen + 1, GFP_KERNEL); in _sparc_alloc_io()
|
D | ldc.c | 2020 unsigned long tlen, new = pa + PAGE_SIZE; in fill_cookies() local 2025 tlen = PAGE_SIZE; in fill_cookies() 2027 tlen = PAGE_SIZE - off; in fill_cookies() 2028 if (tlen > len) in fill_cookies() 2029 tlen = len; in fill_cookies() 2037 sp->cookies[sp->nc - 1].cookie_size += tlen; in fill_cookies() 2040 sp->cookies[sp->nc].cookie_size = tlen; in fill_cookies() 2043 sp->prev_cookie = this_cookie + tlen; in fill_cookies() 2047 len -= tlen; in fill_cookies()
|
/linux-4.1.27/net/hsr/ |
D | hsr_device.c | 269 int hlen, tlen; in send_hsr_supervision_frame() local 275 tlen = master->dev->needed_tailroom; in send_hsr_supervision_frame() 276 skb = alloc_skb(hsr_pad(sizeof(struct hsr_sup_payload)) + hlen + tlen, in send_hsr_supervision_frame()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 455 int fcoe_get_paged_crc_eof(struct sk_buff *skb, int tlen, in fcoe_get_paged_crc_eof() argument 472 fps->crc_eof_offset, tlen); in fcoe_get_paged_crc_eof() 473 skb->len += tlen; in fcoe_get_paged_crc_eof() 474 skb->data_len += tlen; in fcoe_get_paged_crc_eof() 475 skb->truesize += tlen; in fcoe_get_paged_crc_eof()
|
D | fcoe.c | 1567 static int fcoe_alloc_paged_crc_eof(struct sk_buff *skb, int tlen) in fcoe_alloc_paged_crc_eof() argument 1573 rc = fcoe_get_paged_crc_eof(skb, tlen, fps); in fcoe_alloc_paged_crc_eof() 1596 unsigned int tlen; /* trailer length */ in fcoe_xmit() local 1624 tlen = sizeof(struct fcoe_crc_eof); in fcoe_xmit() 1625 wlen = (skb->len - tlen + sizeof(crc)) / FCOE_WORD_TO_BYTE; in fcoe_xmit() 1641 if (fcoe_alloc_paged_crc_eof(skb, tlen)) { in fcoe_xmit() 1649 cp = (struct fcoe_crc_eof *)skb_put(skb, tlen); in fcoe_xmit()
|
/linux-4.1.27/net/ieee802154/ |
D | socket.c | 263 int hlen, tlen; in raw_sendmsg() local 294 tlen = dev->needed_tailroom; in raw_sendmsg() 295 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg() 625 int hlen, tlen; in dgram_sendmsg() local 658 tlen = dev->needed_tailroom; in dgram_sendmsg() 659 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | usb.c | 840 u32 fw_seqnum = 0, tlen = 0, dnld_cmd = 0; in mwifiex_prog_fw_w_helper() local 869 memcpy(&fwdata->fw_hdr, &firmware[tlen], in mwifiex_prog_fw_w_helper() 874 tlen += sizeof(struct fw_header); in mwifiex_prog_fw_w_helper() 876 memcpy(fwdata->data, &firmware[tlen], dlen); in mwifiex_prog_fw_w_helper() 879 tlen += dlen; in mwifiex_prog_fw_w_helper() 949 "info: FW download over, size %d bytes\n", tlen); in mwifiex_prog_fw_w_helper()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 2263 int tlen, status = 0; in bfa_nw_ioc_debug_fwtrc() local 2265 tlen = *trclen; in bfa_nw_ioc_debug_fwtrc() 2266 if (tlen > BNA_DBG_FWTRC_LEN) in bfa_nw_ioc_debug_fwtrc() 2267 tlen = BNA_DBG_FWTRC_LEN; in bfa_nw_ioc_debug_fwtrc() 2269 status = bfa_nw_ioc_smem_read(ioc, trcdata, loff, tlen); in bfa_nw_ioc_debug_fwtrc() 2270 *trclen = tlen; in bfa_nw_ioc_debug_fwtrc() 2278 int tlen; in bfa_nw_ioc_debug_save_ftrc() local 2283 tlen = ioc->dbg_fwsave_len; in bfa_nw_ioc_debug_save_ftrc() 2284 bfa_nw_ioc_debug_fwtrc(ioc, ioc->dbg_fwsave, &tlen); in bfa_nw_ioc_debug_save_ftrc() 2293 int tlen; in bfa_nw_ioc_debug_fwsave() local [all …]
|
/linux-4.1.27/scripts/kconfig/lxdialog/ |
D | util.c | 368 int tlen = MIN(width - 2, strlen(title)); in print_title() local 370 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' '); in print_title() 371 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen); in print_title()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_ioc.c | 2959 int tlen; in bfa_ioc_debug_fwsave() local 2964 tlen = *trclen; in bfa_ioc_debug_fwsave() 2965 if (tlen > ioc->dbg_fwsave_len) in bfa_ioc_debug_fwsave() 2966 tlen = ioc->dbg_fwsave_len; in bfa_ioc_debug_fwsave() 2968 memcpy(trcdata, ioc->dbg_fwsave, tlen); in bfa_ioc_debug_fwsave() 2969 *trclen = tlen; in bfa_ioc_debug_fwsave() 2981 int tlen; in bfa_ioc_debug_fwtrc() local 2986 tlen = *trclen; in bfa_ioc_debug_fwtrc() 2987 if (tlen > BFA_DBG_FWTRC_LEN) in bfa_ioc_debug_fwtrc() 2988 tlen = BFA_DBG_FWTRC_LEN; in bfa_ioc_debug_fwtrc() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | sun3lance.c | 134 unsigned short tlen; member 399 MEM->init.tlen = (TX_LOG_RING_SIZE << 13) | in lance_probe() 497 MEM->init.tlen = (TX_LOG_RING_SIZE << 13) | in lance_init_ring()
|
/linux-4.1.27/drivers/macintosh/ |
D | smu.c | 947 unsigned int addr, len, tlen; in smu_create_sdb_partition() local 970 tlen = sizeof(struct property) + len + 18; in smu_create_sdb_partition() 972 prop = kzalloc(tlen, GFP_KERNEL); in smu_create_sdb_partition() 976 prop->name = ((char *)prop) + tlen - 18; in smu_create_sdb_partition()
|
/linux-4.1.27/include/scsi/ |
D | libfcoe.h | 379 int fcoe_get_paged_crc_eof(struct sk_buff *skb, int tlen,
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 148 int bnx2fc_get_paged_crc_eof(struct sk_buff *skb, int tlen) in bnx2fc_get_paged_crc_eof() argument 152 rc = fcoe_get_paged_crc_eof(skb, tlen, &bnx2fc_global); in bnx2fc_get_paged_crc_eof() 258 unsigned int hlen, tlen, elen; in bnx2fc_xmit() local 316 tlen = sizeof(struct fcoe_crc_eof); in bnx2fc_xmit() 317 wlen = (skb->len - tlen + sizeof(crc)) / FCOE_WORD_TO_BYTE; in bnx2fc_xmit() 325 if (bnx2fc_get_paged_crc_eof(skb, tlen)) { in bnx2fc_xmit() 332 cp = (struct fcoe_crc_eof *)skb_put(skb, tlen); in bnx2fc_xmit()
|
D | bnx2fc.h | 516 int bnx2fc_get_paged_crc_eof(struct sk_buff *skb, int tlen);
|
/linux-4.1.27/net/ipv4/ |
D | raw.c | 350 int hlen, tlen; in raw_send_hdrinc() local 361 tlen = rt->dst.dev->needed_tailroom; in raw_send_hdrinc() 363 length + hlen + tlen + 15, in raw_send_hdrinc()
|
D | igmp.c | 331 int tlen = dev->needed_tailroom; in igmpv3_newpack() local 335 skb = alloc_skb(size + hlen + tlen, in igmpv3_newpack() 677 int hlen, tlen; in igmp_send_report() local 693 tlen = dev->needed_tailroom; in igmp_send_report() 694 skb = alloc_skb(IGMP_SIZE + hlen + tlen, GFP_ATOMIC); in igmp_send_report()
|
D | arp.c | 491 int tlen = dev->needed_tailroom; in arp_create() local 497 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
|
D | ipconfig.c | 800 int tlen = dev->needed_tailroom; in ic_bootp_send_if() local 803 skb = alloc_skb(sizeof(struct bootp_pkt) + hlen + tlen + 15, in ic_bootp_send_if()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_trace.h | 1392 xfs_agblock_t tbno, xfs_extlen_t tlen), 1393 TP_ARGS(mp, agno, agbno, len, tbno, tlen), 1400 __field(xfs_extlen_t, tlen) 1408 __entry->tlen = tlen; 1416 __entry->tlen)
|
/linux-4.1.27/net/packet/ |
D | af_packet.c | 1675 int tlen = dev->needed_tailroom; in packet_sendmsg_spkt() local 1679 skb = sock_wmalloc(sk, len + reserved + tlen, 0, GFP_KERNEL); in packet_sendmsg_spkt() 2268 int hlen, tlen; in tpacket_snd() local 2315 tlen = dev->needed_tailroom; in tpacket_snd() 2317 hlen + tlen + sizeof(struct sockaddr_ll), in tpacket_snd() 2431 int hlen, tlen; in packet_snd() local 2527 tlen = dev->needed_tailroom; in packet_snd() 2528 skb = packet_alloc_skb(sk, hlen + tlen, hlen, len, in packet_snd()
|
/linux-4.1.27/security/selinux/ss/ |
D | services.c | 722 u32 olen, nlen, tlen; in security_validtrans_handle_fail() local 728 if (context_struct_to_string(tcontext, &t, &tlen)) in security_validtrans_handle_fail() 1345 u32 slen, tlen, nlen; in compute_sid_handle_invalid_context() local 1349 if (context_struct_to_string(tcontext, &t, &tlen)) in compute_sid_handle_invalid_context()
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_alloc.c | 661 xfs_extlen_t tlen; /* length of trimmed extent */ in xfs_alloc_ag_vextent_exact() local 696 xfs_extent_busy_trim(args, fbno, flen, &tbno, &tlen); in xfs_alloc_ag_vextent_exact() 704 if (tlen < args->minlen) in xfs_alloc_ag_vextent_exact() 706 tend = tbno + tlen; in xfs_alloc_ag_vextent_exact()
|
/linux-4.1.27/fs/ |
D | dcache.c | 2102 int tlen = dentry->d_name.len; in slow_dentry_cmp() local 2109 if (parent->d_op->d_compare(parent, dentry, tlen, tname, name)) in slow_dentry_cmp() 2309 int tlen = dentry->d_name.len; in __d_lookup() local 2311 if (parent->d_op->d_compare(parent, dentry, tlen, tname, name)) in __d_lookup()
|
/linux-4.1.27/net/ipv6/ |
D | raw.c | 621 int tlen = rt->dst.dev->needed_tailroom; in rawv6_send_hdrinc() local 631 length + hlen + tlen + 15, in rawv6_send_hdrinc()
|
D | mcast.c | 1561 int tlen = dev->needed_tailroom; in mld_newpack() local 1562 unsigned int size = mtu + hlen + tlen; in mld_newpack() 1941 int tlen = dev->needed_tailroom; in igmp6_send() local 1963 skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); in igmp6_send()
|
D | ndisc.c | 382 int tlen = dev->needed_tailroom; in ndisc_alloc_skb() local 386 skb = alloc_skb(hlen + sizeof(struct ipv6hdr) + len + tlen, GFP_ATOMIC); in ndisc_alloc_skb()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 1930 struct pipe_inode_info *pipe, unsigned int tlen, in skb_splice_bits() argument 1951 if (__skb_splice_bits(skb, pipe, &offset, &tlen, &spd, sk)) in skb_splice_bits() 1953 else if (!tlen) in skb_splice_bits() 1960 if (!tlen) in skb_splice_bits() 1962 if (__skb_splice_bits(frag_iter, pipe, &offset, &tlen, &spd, sk)) in skb_splice_bits()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
D | mtip32xx.c | 1611 u64 tlba, tlen, sect_left; in mtip_send_trim() local 1638 tlen = (sect_left >= MTIP_MAX_TRIM_ENTRY_LEN ? in mtip_send_trim() 1642 buf[i].range = __force_bit2int cpu_to_le16(tlen); in mtip_send_trim() 1643 tlba += tlen; in mtip_send_trim() 1644 sect_left -= tlen; in mtip_send_trim()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 3624 short tlen = (lp->rxRingSize - lp->rx_old) * RX_BUFF_SZ; in de4x5_alloc_rx_buff() local 3625 memcpy(skb_put(p,tlen),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,tlen); in de4x5_alloc_rx_buff() 3626 memcpy(skb_put(p,len-tlen),lp->rx_bufs,len-tlen); in de4x5_alloc_rx_buff()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 6639 int prod, i, tlen; in niu_start_xmit() local 6696 tlen = len; in niu_start_xmit() 6698 while (tlen > 0) { in niu_start_xmit() 6699 tlen -= MAX_TX_DESC_LEN; in niu_start_xmit()
|