Home
last modified time | relevance | path

Searched refs:ncookies (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dldc.h108 struct ldc_trans_cookie *cookies, int ncookies,
113 struct ldc_trans_cookie *cookies, int ncookies,
117 int ncookies);
121 struct ldc_trans_cookie *cookies, int ncookies);
127 int ncookies) in ldc_get_dring_entry() argument
129 return ldc_copy(lp, LDC_COPY_IN, buf, len, offset, cookies, ncookies); in ldc_get_dring_entry()
136 int ncookies) in ldc_put_dring_entry() argument
138 return ldc_copy(lp, LDC_COPY_OUT, buf, len, offset, cookies, ncookies); in ldc_put_dring_entry()
143 int *ncookies, unsigned int map_perm);
147 struct ldc_trans_cookie *cookies, int ncookies);
Dvio.h162 u32 ncookies; member
248 u32 ncookies; member
283 int ncookies; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c403 desc->cookies, desc->ncookies); in vnet_rx_one()
527 dr->cookies, dr->ncookies); in get_rx_desc()
543 dr->cookies, dr->ncookies); in put_rx_desc()
569 desc->size, desc->ncookies, in vnet_walk_rx_one()
1023 port->tx_bufs[txi].ncookies); in vnet_clean_tx_ring()
1065 struct ldc_trans_cookie *cookies, int ncookies, in vnet_skb_map() argument
1078 ncookies, map_perm); in vnet_skb_map()
1087 if (nc < ncookies) { in vnet_skb_map()
1092 blen, cookies + nc, ncookies - nc, in vnet_skb_map()
1108 static inline struct sk_buff *vnet_skb_shape(struct sk_buff *skb, int ncookies) in vnet_skb_shape() argument
[all …]
Dsunvnet_common.h33 unsigned int ncookies; member
/kernel/linux/linux-5.10/drivers/block/
Dsunvdc.c315 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_end_one()
516 desc->ncookies = err; in __send_request()
682 desc->ncookies = err; in generic_request()
715 int ncookies; in vdc_alloc_tx_ring() local
722 ncookies = VIO_MAX_RING_COOKIES; in vdc_alloc_tx_ring()
724 dr->cookies, &ncookies, in vdc_alloc_tx_ring()
736 dr->ncookies = ncookies; in vdc_alloc_tx_ring()
748 dr->cookies, dr->ncookies); in vdc_free_tx_ring()
753 dr->ncookies = 0; in vdc_free_tx_ring()
1110 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_requeue_inflight()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dviohs.c187 dr->ncookies); in send_dreg()
199 u.pkt.num_cookies = dr->ncookies; in send_dreg()
206 for (i = 0; i < dr->ncookies; i++) { in send_dreg()
464 dr->ncookies = pkt->num_cookies; in process_dreg_info()
465 for (i = 0; i < dr->ncookies; i++) { in process_dreg_info()
486 (dr->ncookies * sizeof(struct ldc_trans_cookie))); in process_dreg_info()
Dldc.c2149 struct ldc_trans_cookie *cookies, int ncookies, in ldc_map_sg() argument
2167 if (err > ncookies) in ldc_map_sg()
2195 struct ldc_trans_cookie *cookies, int ncookies, in ldc_map_single() argument
2203 if ((map_perm & ~LDC_MAP_ALL) || (ncookies < 1)) in ldc_map_single()
2226 BUG_ON(state.nc > ncookies); in ldc_map_single()
2246 int ncookies) in ldc_unmap() argument
2253 for (i = 0; i < ncookies; i++) { in ldc_unmap()
2265 struct ldc_trans_cookie *cookies, int ncookies) in ldc_copy() argument
2293 for (i = 0; i < ncookies; i++) { in ldc_copy()
2354 struct ldc_trans_cookie *cookies, int *ncookies, in ldc_alloc_exp_dring() argument
[all …]
/kernel/linux/linux-5.10/net/rds/
Dmessage.c61 int ncookies = ck->num; in rds_zcookie_add() local
63 if (ncookies == RDS_MAX_ZCOOKIES) in rds_zcookie_add()
65 ck->cookies[ncookies] = cookie; in rds_zcookie_add()
66 ck->num = ++ncookies; in rds_zcookie_add()