Lines Matching refs:segs
1355 u16 segs = 1; in cake_overhead() local
1384 segs = DIV_ROUND_UP(skb->len - hdr_len, in cake_overhead()
1387 segs = shinfo->gso_segs; in cake_overhead()
1390 last_len = skb->len - shinfo->gso_size * (segs - 1); in cake_overhead()
1392 return (cake_calc_overhead(q, len, off) * (segs - 1) + in cake_overhead()
1742 struct sk_buff *segs, *nskb; in cake_enqueue() local
1746 segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK); in cake_enqueue()
1747 if (IS_ERR_OR_NULL(segs)) in cake_enqueue()
1750 skb_list_walk_safe(segs, segs, nskb) { in cake_enqueue()
1751 skb_mark_not_on_list(segs); in cake_enqueue()
1752 qdisc_skb_cb(segs)->pkt_len = segs->len; in cake_enqueue()
1753 cobalt_set_enqueue_time(segs, now); in cake_enqueue()
1754 get_cobalt_cb(segs)->adjusted_len = cake_overhead(q, in cake_enqueue()
1755 segs); in cake_enqueue()
1756 flow_queue_add(flow, segs); in cake_enqueue()
1760 slen += segs->len; in cake_enqueue()
1761 q->buffer_used += segs->truesize; in cake_enqueue()