/kernel/liteos_a/syscall/ |
D | net_syscall.c | 411 CHECK_FIELD_ASPACE(message, msg_control, message->msg_controllen); in SysSendMsg() 418 DUP_FIELD_FROM_USER(message, msg_control, message->msg_controllen, in SysSendMsg() 422 FREE_DUP_FIELD(message, msg_control); in SysSendMsg() 433 FREE_DUP_FIELD(message, msg_control); in SysSendMsg() 459 CHECK_FIELD_ASPACE(message, msg_control, message->msg_controllen); in SysRecvMsg() 466 DUP_FIELD_FROM_USER_NOCOPY(message, msg_control, message->msg_controllen, in SysRecvMsg() 470 FREE_DUP_FIELD(message, msg_control); in SysRecvMsg() 485 DUP_FIELD_TO_USER(message, msg_control, message->msg_controllen, ret = -1; goto OUT); in SysRecvMsg() 491 FREE_DUP_FIELD(message, msg_control); in SysRecvMsg()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/net/core/ |
D | scm.c | 226 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg() 246 struct cmsghdr *cm = msg->msg_control; in put_cmsg() 255 msg->msg_control += cmlen; in put_cmsg() 299 (__force struct cmsghdr __user *)msg->msg_control; in scm_detach_fds() 332 msg->msg_control += cmlen; in scm_detach_fds()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | socket.h | 56 void *msg_control; member 207 #define __MHDR_END(mhdr) ((unsigned char *)(mhdr)->msg_control + (mhdr)->msg_controllen) 213 …msg_controllen >= sizeof (struct cmsghdr) ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsgh…
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | output.c | 203 msg.msg_control = NULL; in rxrpc_send_ack_packet() 312 msg.msg_control = NULL; in rxrpc_send_abort_packet() 397 msg.msg_control = NULL; in rxrpc_send_data_packet() 575 msg.msg_control = NULL; in rxrpc_reject_packets() 644 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()
|
/kernel/linux/linux-5.10/samples/seccomp/ |
D | user-trap.c | 44 msg.msg_control = buf; in send_fd() 73 msg.msg_control = buf; in recv_fd()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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() 1201 struct tun_msg_ctl *ctl = m->msg_control; in tap_sendmsg() 1222 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | net.c | 474 msghdr->msg_control = &ctl; in vhost_tx_batch() 777 .msg_control = NULL, in handle_tx_copy() 830 msg.msg_control = NULL; in handle_tx_copy() 866 .msg_control = NULL, in handle_tx_zerocopy() 914 msg.msg_control = &ctl; in handle_tx_zerocopy() 922 msg.msg_control = NULL; in handle_tx_zerocopy() 1115 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx() 1181 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 98 msg.msg_control = buf; in tuntap_open_tramp()
|
/kernel/linux/linux-5.10/fs/afs/ |
D | rxrpc.c | 441 msg.msg_control = NULL; in afs_make_call() 858 msg.msg_control = NULL; in afs_send_empty_reply() 898 msg.msg_control = NULL; in afs_send_simple_reply()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | mconsole_user.c | 52 msg.msg_control = NULL; in mconsole_reply_v0()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | tls.rst | 144 msg.msg_control = buf; 177 msg.msg_control = cmsg;
|