Home
last modified time | relevance | path

Searched refs:uarg (Results 1 – 9 of 9) sorted by relevance

/net/core/
A Dskbuff.c1671 uarg = (void *)skb->cb; in msg_zerocopy_alloc()
1672 uarg->mmp.user = NULL; in msg_zerocopy_alloc()
1681 uarg->len = 1; in msg_zerocopy_alloc()
1682 uarg->bytelen = size; in msg_zerocopy_alloc()
1683 uarg->zerocopy = 1; in msg_zerocopy_alloc()
1688 return &uarg->ubuf; in msg_zerocopy_alloc()
1699 if (uarg) { in msg_zerocopy_realloc()
1738 return uarg; in msg_zerocopy_realloc()
1786 len = uarg->len; in __msg_zerocopy_callback()
1787 lo = uarg->id; in __msg_zerocopy_callback()
[all …]
/net/bridge/
A Dbr_ioctl.c397 int br_ioctl_stub(struct net *net, unsigned int cmd, void __user *uarg) in br_ioctl_stub() argument
409 if (get_user_ifreq(&ifr, &data, uarg)) in br_ioctl_stub()
423 ret = old_deviceless(net, uarg); in br_ioctl_stub()
435 if (copy_from_user(buf, uarg, IFNAMSIZ)) { in br_ioctl_stub()
A Dbr_private.h955 int br_ioctl_stub(struct net *net, unsigned int cmd, void __user *uarg);
/net/ipv4/
A Dip_output.c959 struct ubuf_info *uarg = NULL; in __ip_append_data() local
1019 uarg = msg->msg_ubuf; in __ip_append_data()
1022 uarg = msg_zerocopy_realloc(sk, length, skb_zcopy(skb), in __ip_append_data()
1024 if (!uarg) in __ip_append_data()
1032 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip_append_data()
1033 skb_zcopy_set(skb, uarg, &extra_uref); in __ip_append_data()
1191 skb_zcopy_set(skb, uarg, &extra_uref); in __ip_append_data()
1281 net_zcopy_put_abort(uarg, extra_uref); in __ip_append_data()
A Dtcp.c1012 size_t size, struct ubuf_info *uarg) in tcp_sendmsg_fastopen() argument
1033 tp->fastopen_req->uarg = uarg; in tcp_sendmsg_fastopen()
1062 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked() local
1084 uarg = msg->msg_ubuf; in tcp_sendmsg_locked()
1089 uarg = msg_zerocopy_realloc(sk, size, skb_zcopy(skb), in tcp_sendmsg_locked()
1091 if (!uarg) { in tcp_sendmsg_locked()
1098 uarg_to_msgzc(uarg)->zerocopy = 0; in tcp_sendmsg_locked()
1360 if (uarg && !msg->msg_ubuf) in tcp_sendmsg_locked()
1361 net_zcopy_put(uarg); in tcp_sendmsg_locked()
1373 if (uarg && !msg->msg_ubuf) in tcp_sendmsg_locked()
[all …]
A Dtcp_output.c4033 skb_zcopy_set(syn_data, fo->uarg, NULL); in tcp_send_syn_data()
/net/vmw_vsock/
A Dvirtio_transport_common.c79 struct ubuf_info *uarg; in virtio_transport_init_zcopy_skb() local
82 uarg = msg->msg_ubuf; in virtio_transport_init_zcopy_skb()
83 net_zcopy_get(uarg); in virtio_transport_init_zcopy_skb()
88 uarg = msg_zerocopy_realloc(sk_vsock(vsk), in virtio_transport_init_zcopy_skb()
91 if (!uarg) in virtio_transport_init_zcopy_skb()
94 uarg_zc = uarg_to_msgzc(uarg); in virtio_transport_init_zcopy_skb()
98 skb_zcopy_init(skb, uarg); in virtio_transport_init_zcopy_skb()
/net/ipv6/
A Dip6_output.c1434 struct ubuf_info *uarg = NULL; in __ip6_append_data() local
1527 uarg = msg->msg_ubuf; in __ip6_append_data()
1530 uarg = msg_zerocopy_realloc(sk, length, skb_zcopy(skb), in __ip6_append_data()
1532 if (!uarg) in __ip6_append_data()
1540 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip6_append_data()
1541 skb_zcopy_set(skb, uarg, &extra_uref); in __ip6_append_data()
1727 skb_zcopy_set(skb, uarg, &extra_uref); in __ip6_append_data()
1819 net_zcopy_put_abort(uarg, extra_uref); in __ip6_append_data()
/net/
A Dsocket.c1191 void __user *uarg);
1194 void __user *uarg)) in brioctl_set() argument
1202 int br_ioctl_call(struct net *net, unsigned int cmd, void __user *uarg) in br_ioctl_call() argument
1211 err = br_ioctl_hook(net, cmd, uarg); in br_ioctl_call()

Completed in 62 milliseconds