Lines Matching refs:frags
2256 * more than two frags are given. Each address list has 5 addr/len pairs.
2257 * The 5th pair in each OAL is used to point to the next OAL if more frags
2258 * are coming. That is why the frags:segment count ratio is not linear.
2260 static int ql_get_seg_count(struct ql3_adapter *qdev, unsigned short frags)
2265 if (frags <= 2)
2266 return frags + 1;
2267 else if (frags <= 6)
2268 return frags + 2;
2269 else if (frags <= 10)
2270 return frags + 3;
2271 else if (frags <= 14)
2272 return frags + 4;
2273 else if (frags <= 18)
2274 return frags + 5;
2345 skb_frag_t *frag = &skb_shinfo(skb)->frags[completed_segs];
2386 "PCI mapping frags failed with error: %d\n",