Home
last modified time | relevance | path

Searched refs:ubuf_info (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/vhost/
A Dnet.c121 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 Dskbuff.h476 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 Dcommon.h66 struct ubuf_info callback_struct;
403 void xenvif_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *ubuf,
A Dnetback.c134 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 Dinterface.c609 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/linux/net/core/
A Dskbuff.c1169 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 Dtap.c726 struct ubuf_info *uarg = msg_control; in tap_get_user()
A Dtun.c1882 struct ubuf_info *uarg = msg_control; in tun_get_user()
/linux/net/ipv4/
A Dip_output.c954 struct ubuf_info *uarg = NULL; in __ip_append_data()
A Dtcp.c1130 struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1178 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
/linux/net/ipv6/
A Dip6_output.c1441 struct ubuf_info *uarg = NULL; in __ip6_append_data()
/linux/include/net/
A Dtcp.h1699 struct ubuf_info *uarg;

Completed in 57 milliseconds