Searched refs:ubuf_info (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/vhost/ |
A D | net.c | 121 struct ubuf_info *ubuf_info; member 274 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info() 275 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info() 288 n->vqs[i].ubuf_info = in vhost_net_set_ubuf_info() 290 sizeof(*n->vqs[i].ubuf_info), in vhost_net_set_ubuf_info() 292 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info() 385 struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback() 873 struct ubuf_info *ubuf; in handle_tx_zerocopy() 906 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy() 1328 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
|
/linux/include/linux/ |
A D | skbuff.h | 476 struct ubuf_info { struct 477 void (*callback)(struct sk_buff *, struct ubuf_info *, argument 505 struct ubuf_info *msg_zerocopy_alloc(struct sock *sk, size_t size); 506 struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size, 507 struct ubuf_info *uarg); 509 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref); 517 struct ubuf_info *uarg); 1467 static inline struct ubuf_info *skb_zcopy(struct sk_buff *skb) in skb_zcopy() 1485 static inline void net_zcopy_get(struct ubuf_info *uarg) in net_zcopy_get() 1524 static inline void net_zcopy_put(struct ubuf_info *uarg) in net_zcopy_put() [all …]
|
/linux/drivers/net/xen-netback/ |
A D | common.h | 66 struct ubuf_info callback_struct; 403 void xenvif_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *ubuf,
|
A D | netback.c | 134 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue() 1048 struct ubuf_info *uarg; in xenvif_handle_frag_list() 1231 void xenvif_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *ubuf, in xenvif_zerocopy_callback() 1244 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
|
A D | interface.c | 609 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
|
/linux/net/core/ |
A D | skbuff.c | 1169 struct ubuf_info *msg_zerocopy_alloc(struct sock *sk, size_t size) in msg_zerocopy_alloc() 1171 struct ubuf_info *uarg; in msg_zerocopy_alloc() 1202 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg() 1207 struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size, in msg_zerocopy_realloc() 1208 struct ubuf_info *uarg) in msg_zerocopy_realloc() 1271 static void __msg_zerocopy_callback(struct ubuf_info *uarg) in __msg_zerocopy_callback() 1321 void msg_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *uarg, in msg_zerocopy_callback() 1331 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in msg_zerocopy_put_abort() 1351 struct ubuf_info *uarg) in skb_zerocopy_iter_stream() 1353 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
|
/linux/drivers/net/ |
A D | tap.c | 726 struct ubuf_info *uarg = msg_control; in tap_get_user()
|
A D | tun.c | 1882 struct ubuf_info *uarg = msg_control; in tun_get_user()
|
/linux/net/ipv4/ |
A D | ip_output.c | 954 struct ubuf_info *uarg = NULL; in __ip_append_data()
|
A D | tcp.c | 1130 struct ubuf_info *uarg) in tcp_sendmsg_fastopen() 1178 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
|
/linux/net/ipv6/ |
A D | ip6_output.c | 1441 struct ubuf_info *uarg = NULL; in __ip6_append_data()
|
/linux/include/net/ |
A D | tcp.h | 1699 struct ubuf_info *uarg;
|
Completed in 57 milliseconds