Lines Matching refs:ncookies
404 desc->cookies, desc->ncookies); in vnet_rx_one()
528 dr->cookies, dr->ncookies); in get_rx_desc()
544 dr->cookies, dr->ncookies); in put_rx_desc()
570 desc->size, desc->ncookies, in vnet_walk_rx_one()
1024 port->tx_bufs[txi].ncookies); in vnet_clean_tx_ring()
1066 struct ldc_trans_cookie *cookies, int ncookies, in vnet_skb_map() argument
1079 ncookies, map_perm); in vnet_skb_map()
1088 if (nc < ncookies) { in vnet_skb_map()
1093 blen, cookies + nc, ncookies - nc, in vnet_skb_map()
1109 static inline struct sk_buff *vnet_skb_shape(struct sk_buff *skb, int ncookies) in vnet_skb_shape() argument
1124 docopy = skb_shinfo(skb)->nr_frags >= ncookies; in vnet_skb_shape()
1414 port->tx_bufs[txi].ncookies = err; in sunvnet_start_xmit_common()
1426 d->ncookies = port->tx_bufs[txi].ncookies; in sunvnet_start_xmit_common()
1427 for (i = 0; i < d->ncookies; i++) in sunvnet_start_xmit_common()
1692 port->tx_bufs[i].ncookies); in sunvnet_port_free_tx_bufs_common()
1699 dr->cookies, dr->ncookies); in sunvnet_port_free_tx_bufs_common()
1704 dr->ncookies = 0; in sunvnet_port_free_tx_bufs_common()
1722 int i, err, ncookies; in vnet_port_alloc_tx_ring() local
1733 ncookies = VIO_MAX_RING_COOKIES; in vnet_port_alloc_tx_ring()
1735 dr->cookies, &ncookies, in vnet_port_alloc_tx_ring()
1751 dr->ncookies = ncookies; in vnet_port_alloc_tx_ring()