/Linux-v5.10/net/ |
D | compat.c | 60 kmsg->msg_control_user = compat_ptr(msg.msg_control); in __get_compat_msghdr() 118 (struct compat_cmsghdr __user *)((msg)->msg_control) : \ 131 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr() 216 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user_compat_to_kern() 230 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in put_cmsg_compat() 279 kmsg->msg_control += cmlen; in put_cmsg_compat() 294 (struct compat_cmsghdr __user *)msg->msg_control; in scm_detach_fds_compat() 318 msg->msg_control += cmlen; in scm_detach_fds_compat()
|
D | socket.c | 1979 msg.msg_control = NULL; in __sys_sendto() 2039 msg.msg_control = NULL; in __sys_recvfrom() 2239 kmsg->msg_control_user = msg.msg_control; in __copy_msghdr_from_user() 2320 ctl_buf = msg_sys->msg_control; in ____sys_sendmsg() 2333 msg_sys->msg_control = ctl_buf; in ____sys_sendmsg() 2420 if (msg->msg_control || msg->msg_controllen) in __sys_sendmsg_sock() 2564 cmsg_ptr = (unsigned long)msg_sys->msg_control; in ____sys_recvmsg() 2594 err = __put_user((unsigned long)msg_sys->msg_control - cmsg_ptr, in ____sys_recvmsg() 2597 err = __put_user((unsigned long)msg_sys->msg_control - cmsg_ptr, in ____sys_recvmsg() 2631 if (msg->msg_control || msg->msg_controllen) { in __sys_recvmsg_sock()
|
/Linux-v5.10/include/linux/ |
D | socket.h | 61 void *msg_control; member 75 void __user *msg_control; /* ancillary data */ member 118 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 122 ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 155 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/Linux-v5.10/net/core/ |
D | scm.c | 220 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg() 240 struct cmsghdr *cm = msg->msg_control; in put_cmsg() 249 msg->msg_control += cmlen; in put_cmsg() 293 (__force struct cmsghdr __user *)msg->msg_control; in scm_detach_fds() 326 msg->msg_control += cmlen; in scm_detach_fds()
|
/Linux-v5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 61 void *msg_control; member 75 void __user *msg_control; /* ancillary data */ member 118 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 122 ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 155 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 174 if (!msg->msg_control) in add_zcopy_cookie() 176 cm = (void *)msg->msg_control; in add_zcopy_cookie() 197 memset(&msg->msg_control, 0, sizeof(msg->msg_control)); in do_sendmsg() 199 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg() 219 msg->msg_control = NULL; in do_sendmsg() 368 msg.msg_control = cmsgbuf; in do_recvmsg_completion() 404 msg.msg_control = control; in do_recv_completion()
|
D | ipv6_flowlabel.c | 60 msg.msg_control = control; in do_send() 91 msg.msg_control = control; in do_recv()
|
D | udpgso_bench_tx.c | 219 msg.msg_control = control; in flush_errqueue_recv() 325 msg.msg_control = control; in send_udp_sendmmsg() 346 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg() 389 msg.msg_control = control; in send_udp_segment()
|
D | so_txtime.c | 81 msg.msg_control = &control; in do_send_one() 159 msg.msg_control = control; in do_recv_errqueue_timeout()
|
D | tcp_inq.c | 153 msg.msg_control = cmsgbuf; in main()
|
D | udpgso_bench_rx.c | 230 msg.msg_control = control; in recv_msg()
|
/Linux-v5.10/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 138 msgh.msg_control = &cmsg_b; in sendtosocket() 191 msgh.msg_control = &cmsg_b; in receivefromsocket()
|
/Linux-v5.10/net/rxrpc/ |
D | output.c | 196 msg.msg_control = NULL; in rxrpc_send_ack_packet() 308 msg.msg_control = NULL; in rxrpc_send_abort_packet() 393 msg.msg_control = NULL; in rxrpc_send_data_packet() 571 msg.msg_control = NULL; in rxrpc_reject_packets() 640 msg.msg_control = NULL; in rxrpc_send_keepalive()
|
D | local_event.c | 43 msg.msg_control = NULL; in rxrpc_send_version_request()
|
D | conn_event.c | 57 msg.msg_control = NULL; in rxrpc_conn_retransmit_call() 218 msg.msg_control = NULL; in rxrpc_abort_connection()
|
/Linux-v5.10/samples/seccomp/ |
D | user-trap.c | 44 msg.msg_control = buf; in send_fd() 73 msg.msg_control = buf; in recv_fd()
|
/Linux-v5.10/drivers/net/ |
D | tap.c | 620 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control, in tap_get_user() argument 664 if (msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) { in tap_get_user() 725 skb_shinfo(skb)->destructor_arg = msg_control; in tap_get_user() 728 } else if (msg_control) { in tap_get_user() 729 struct ubuf_info *uarg = msg_control; in tap_get_user() 1202 struct tun_msg_ctl *ctl = m->msg_control; in tap_sendmsg() 1222 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
|
/Linux-v5.10/include/net/ |
D | compat.h | 17 compat_uptr_t msg_control; /* void * */ member
|
D | scm.h | 116 if (!msg->msg_control) { in scm_recv()
|
/Linux-v5.10/drivers/vhost/ |
D | net.c | 474 msghdr->msg_control = &ctl; in vhost_tx_batch() 769 .msg_control = NULL, in handle_tx_copy() 822 msg.msg_control = NULL; in handle_tx_copy() 858 .msg_control = NULL, in handle_tx_zerocopy() 907 msg.msg_control = &ctl; in handle_tx_zerocopy() 915 msg.msg_control = NULL; in handle_tx_zerocopy() 1107 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx() 1173 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
|
/Linux-v5.10/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 98 msg.msg_control = buf; in tuntap_open_tramp()
|
/Linux-v5.10/arch/um/drivers/ |
D | mconsole_user.c | 52 msg.msg_control = NULL; in mconsole_reply_v0()
|
/Linux-v5.10/arch/um/os-Linux/ |
D | file.c | 519 msg.msg_control = buf; in os_rcv_fd() 652 .msg_control = u.control, in os_sendmsg_fds()
|
/Linux-v5.10/fs/afs/ |
D | rxrpc.c | 440 msg.msg_control = NULL; in afs_make_call() 861 msg.msg_control = NULL; in afs_send_empty_reply() 901 msg.msg_control = NULL; in afs_send_simple_reply()
|
/Linux-v5.10/Documentation/networking/ |
D | tls.rst | 144 msg.msg_control = buf; 177 msg.msg_control = cmsg;
|