Lines Matching defs:tot_len
285 * length @tot_len includes optional head- and tail-rooms.
296 static int fun_gather_pkt(struct funeth_rxq *q, unsigned int tot_len,
304 buf = get_buf(q, buf, tot_len);
317 frag_len = min_t(unsigned int, tot_len,
329 tot_len -= frag_len;
330 if (!tot_len)
368 unsigned int i, tot_len, pkt_len = be32_to_cpu(rxreq->pkt_len);
387 tot_len = pkt_len;
390 tot_len += FUN_RX_TAILROOM + headroom;
392 ref_ok = fun_gather_pkt(q, tot_len, frags);
406 skb = napi_build_skb(va, ALIGN(tot_len, FUN_EPRQ_PKT_ALIGN));