/linux-6.1.9/net/ |
D | compat.c | 57 kmsg->msg_controllen = msg->msg_controllen; in __get_compat_msghdr() 114 (((msg)->msg_controllen) >= sizeof(struct compat_cmsghdr) ? \ 121 ((mhdr)->msg_controllen - \ 129 msg->msg_controllen) in cmsg_compat_nxthdr() 214 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user_compat_to_kern() 233 if (cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg_compat() 261 if (kmsg->msg_controllen < cmlen) { in put_cmsg_compat() 263 cmlen = kmsg->msg_controllen; in put_cmsg_compat() 274 if (kmsg->msg_controllen < cmlen) in put_cmsg_compat() 275 cmlen = kmsg->msg_controllen; in put_cmsg_compat() [all …]
|
/linux-6.1.9/net/core/ |
D | scm.c | 220 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg() 224 if (msg->msg_controllen < cmlen) { in put_cmsg() 226 cmlen = msg->msg_controllen; in put_cmsg() 250 cmlen = min(CMSG_SPACE(len), msg->msg_controllen); in put_cmsg() 252 msg->msg_controllen -= cmlen; in put_cmsg() 292 if (msg->msg_controllen <= sizeof(struct cmsghdr)) in scm_max_fds() 294 return (msg->msg_controllen - sizeof(struct cmsghdr)) / sizeof(int); in scm_max_fds() 331 if (msg->msg_controllen < cmlen) in scm_detach_fds() 332 cmlen = msg->msg_controllen; in scm_detach_fds() 334 msg->msg_controllen -= cmlen; in scm_detach_fds()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | udpgso_bench_tx.c | 220 msg.msg_controllen = sizeof(control); in flush_errqueue_recv() 316 size_t msg_controllen = 0; in send_udp_sendmmsg() local 326 msg.msg_controllen = sizeof(control); in send_udp_sendmmsg() 329 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg() 345 if (msg_controllen) { in send_udp_sendmmsg() 347 mmsgs[i].msg_hdr.msg_controllen = msg_controllen; in send_udp_sendmmsg() 379 size_t msg_controllen; in send_udp_segment() local 390 msg.msg_controllen = sizeof(control); in send_udp_segment() 393 msg_controllen = CMSG_SPACE(sizeof(cfg_mss)); in send_udp_segment() 397 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_segment() [all …]
|
D | ipv6_flowlabel.c | 84 msg.msg_controllen = sizeof(control); in do_send() 115 msg.msg_controllen = sizeof(control); in do_recv()
|
D | so_txtime.c | 93 msg.msg_controllen = sizeof(control); in do_send_one() 171 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout() 219 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
|
D | msg_zerocopy.c | 198 msg->msg_controllen = CMSG_SPACE(sizeof(cookie)); in do_sendmsg() 220 msg->msg_controllen = 0; in do_sendmsg() 369 msg.msg_controllen = sizeof(cmsgbuf); in do_recvmsg_completion() 405 msg.msg_controllen = sizeof(control); in do_recv_completion()
|
D | timestamping.c | 171 msg->msg_controllen); in printpacket() 298 msg.msg_controllen = sizeof(control); in recvpacket()
|
D | tcp_inq.c | 154 msg.msg_controllen = sizeof(cmsgbuf); in main()
|
D | cmsg_sender.c | 310 msg->msg_controllen = cmsg_len; in cs_write_cmsg() 339 msg->msg_controllen = cbuf_sz; in cs_read_cmsg()
|
/linux-6.1.9/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 72 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 85 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 127 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 130 ((mhdr)->msg_controllen - \ 164 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/linux-6.1.9/include/linux/ |
D | socket.h | 72 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 85 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 127 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 130 ((mhdr)->msg_controllen - \ 164 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/linux-6.1.9/samples/seccomp/ |
D | user-trap.c | 45 msg.msg_controllen = sizeof(buf); in send_fd() 51 msg.msg_controllen = cmsg->cmsg_len; in send_fd() 74 msg.msg_controllen = sizeof(buf); in recv_fd()
|
/linux-6.1.9/net/rxrpc/ |
D | output.c | 204 msg.msg_controllen = 0; in rxrpc_send_ack_packet() 313 msg.msg_controllen = 0; in rxrpc_send_abort_packet() 398 msg.msg_controllen = 0; in rxrpc_send_data_packet() 576 msg.msg_controllen = 0; in rxrpc_reject_packets() 645 msg.msg_controllen = 0; in rxrpc_send_keepalive()
|
D | local_event.c | 44 msg.msg_controllen = 0; in rxrpc_send_version_request()
|
D | conn_event.c | 58 msg.msg_controllen = 0; in rxrpc_conn_retransmit_call() 219 msg.msg_controllen = 0; in rxrpc_abort_connection()
|
/linux-6.1.9/include/net/ |
D | compat.h | 16 compat_size_t msg_controllen; member
|
D | scm.h | 87 if (msg->msg_controllen <= 0) in scm_send()
|
/linux-6.1.9/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 474 .msg_controllen = sizeof(msg_buf), in do_recvmsg_cmsg() 495 if (msg.msg_controllen && !cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg() 497 (unsigned long)msg.msg_controllen); in do_recvmsg_cmsg() 499 if (msg.msg_controllen == 0 && cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg() 502 if (msg.msg_controllen) in do_recvmsg_cmsg()
|
D | mptcp_inq.c | 340 .msg_controllen = sizeof(msg_buf), in process_one_client() 376 if (msg.msg_controllen == 0) in process_one_client()
|
/linux-6.1.9/io_uring/ |
D | net.c | 341 msg.msg_controllen = 0; in io_send() 447 iomsg->controllen = msg.msg_controllen; in __io_recvmsg_copy_hdr() 500 iomsg->controllen = msg.msg_controllen; in __io_compat_recvmsg_copy_hdr() 651 kmsg->msg.msg_controllen = kmsg->controllen; in io_recvmsg_prep_multishot() 687 .controllen = kmsg->controllen - kmsg->msg.msg_controllen, in io_recvmsg_multishot() 869 msg.msg_controllen = 0; in io_recv() 1078 msg.msg_controllen = 0; in io_send_zc()
|
/linux-6.1.9/Documentation/networking/ |
D | tls.rst | 145 msg.msg_controllen = sizeof(buf); 151 msg.msg_controllen = cmsg->cmsg_len; 178 msg.msg_controllen = sizeof(cmsg);
|
/linux-6.1.9/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 99 msg.msg_controllen = sizeof(buf); in tuntap_open_tramp()
|
/linux-6.1.9/fs/afs/ |
D | rxrpc.c | 364 msg.msg_controllen = 0; in afs_make_call() 827 msg.msg_controllen = 0; in afs_send_empty_reply() 867 msg.msg_controllen = 0; in afs_send_simple_reply()
|
/linux-6.1.9/include/uapi/linux/ |
D | tcp.h | 358 __u64 msg_controllen; member
|
/linux-6.1.9/arch/um/drivers/ |
D | mconsole_user.c | 53 msg.msg_controllen = 0; in mconsole_reply_v0()
|