Searched refs:uarg (Results 1 – 9 of 9) sorted by relevance
| /net/core/ |
| A D | skbuff.c | 1671 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 D | br_ioctl.c | 397 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 D | br_private.h | 955 int br_ioctl_stub(struct net *net, unsigned int cmd, void __user *uarg);
|
| /net/ipv4/ |
| A D | ip_output.c | 959 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 D | tcp.c | 1012 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 D | tcp_output.c | 4033 skb_zcopy_set(syn_data, fo->uarg, NULL); in tcp_send_syn_data()
|
| /net/vmw_vsock/ |
| A D | virtio_transport_common.c | 79 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 D | ip6_output.c | 1434 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 D | socket.c | 1191 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