Home
last modified time | relevance | path

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

/linux/arch/sparc/include/asm/
H A 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);
H A Dvio.h162 u32 ncookies; member
248 u32 ncookies; member
283 int ncookies; member
/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c404 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
[all …]
H A Dsunvnet_common.h33 unsigned int ncookies; member
/linux/drivers/block/
H A Dsunvdc.c317 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_end_one()
518 desc->ncookies = err; in __send_request()
684 desc->ncookies = err; in generic_request()
717 int ncookies; in vdc_alloc_tx_ring() local
724 ncookies = VIO_MAX_RING_COOKIES; in vdc_alloc_tx_ring()
726 dr->cookies, &ncookies, in vdc_alloc_tx_ring()
738 dr->ncookies = ncookies; in vdc_alloc_tx_ring()
750 dr->cookies, dr->ncookies); in vdc_free_tx_ring()
755 dr->ncookies = 0; in vdc_free_tx_ring()
1098 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_requeue_inflight()
/linux/arch/sparc/kernel/
H A 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()
485 if (send_ctrl(vio, &pkt->tag, struct_size(pkt, cookies, dr->ncookies)) < 0) in process_dreg_info()
H A 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 …]
/linux/net/rds/
H A 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()