Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/vhost/
H 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()
384 static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback()
876 struct ubuf_info *ubuf; in handle_tx_zerocopy()
909 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy()
1329 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/OK3568_Linux_fs/kernel/include/linux/
H A Dskbuff.h465 struct ubuf_info { struct
466 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument
487 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument
492 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size);
493 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size,
494 struct ubuf_info *uarg);
496 static inline void sock_zerocopy_get(struct ubuf_info *uarg) in sock_zerocopy_get()
501 void sock_zerocopy_put(struct ubuf_info *uarg);
502 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
504 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/xen-netback/
H A Dcommon.h65 struct ubuf_info callback_struct;
394 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
H A Dnetback.c136 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue()
1086 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1256 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1268 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
H A Dinterface.c595 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/OK3568_Linux_fs/kernel/net/core/
H A Dskbuff.c1106 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) in sock_zerocopy_alloc()
1108 struct ubuf_info *uarg; in sock_zerocopy_alloc()
1138 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg()
1143 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, in sock_zerocopy_realloc()
1144 struct ubuf_info *uarg) in sock_zerocopy_realloc()
1207 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) in sock_zerocopy_callback()
1256 void sock_zerocopy_put(struct ubuf_info *uarg) in sock_zerocopy_put()
1267 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in sock_zerocopy_put_abort()
1289 struct ubuf_info *uarg) in skb_zerocopy_iter_stream()
1291 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dtap.c729 struct ubuf_info *uarg = msg_control; in tap_get_user()
H A Dtun.c1936 struct ubuf_info *uarg = msg_control; in tun_get_user()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp.c1146 struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1195 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
H A Dip_output.c978 struct ubuf_info *uarg = NULL; in __ip_append_data()
/OK3568_Linux_fs/kernel/include/net/
H A Dtcp.h1680 struct ubuf_info *uarg;
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_output.c1467 struct ubuf_info *uarg = NULL; in __ip6_append_data()