Home
last modified time | relevance | path

Searched refs:seglen (Results 1 – 4 of 4) sorted by relevance

/drivers/net/arcnet/
Drfc1201.c517 int seglen; in continue_tx() local
535 seglen = maxsegsize; in continue_tx()
536 if (seglen > out->dataleft) in continue_tx()
537 seglen = out->dataleft; in continue_tx()
538 out->dataleft -= seglen; in continue_tx()
540 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum); in continue_tx()
/drivers/infiniband/hw/mlx4/
Dqp.c1517 unsigned uninitialized_var(seglen); in mlx4_ib_post_send()
1611 err = build_lso_seg(wqe, wr, qp, &seglen, &lso_hdr_sz); in mlx4_ib_post_send()
1617 wqe += seglen; in mlx4_ib_post_send()
1618 size += seglen / 16; in mlx4_ib_post_send()
1624 err = build_mlx_header(to_msqp(qp), wr, ctrl, &seglen); in mlx4_ib_post_send()
1629 wqe += seglen; in mlx4_ib_post_send()
1630 size += seglen / 16; in mlx4_ib_post_send()
/drivers/net/myri10ge/
Dmyri10ge.c2648 int cum_len, seglen, boundary, rdma_count; in myri10ge_xmit() local
2786 seglen = boundary - low; in myri10ge_xmit()
2787 if (seglen > len) in myri10ge_xmit()
2788 seglen = len; in myri10ge_xmit()
2790 cum_len_next = cum_len + seglen; in myri10ge_xmit()
2810 seglen = -cum_len; in myri10ge_xmit()
2822 req->length = htons(seglen); in myri10ge_xmit()
2826 low += seglen; in myri10ge_xmit()
2827 len -= seglen; in myri10ge_xmit()
2834 if (unlikely(cksum_offset > seglen)) in myri10ge_xmit()
[all …]
/drivers/scsi/
Ddc395x.c1027 u32 seglen = (u32)sg->length; in build_srb() local
1029 sgp[i].length = seglen; in build_srb()
1030 srb->total_xfer_length += seglen; in build_srb()