| /linux/tools/testing/selftests/net/ |
| H A D | udpgso_bench_tx.c | 212 char control[CMSG_SPACE(sizeof(struct scm_timestamping)) + in flush_errqueue_recv() 213 CMSG_SPACE(sizeof(struct sock_extended_err)) + in flush_errqueue_recv() 214 CMSG_SPACE(sizeof(struct sockaddr_in6))] = {0}; in flush_errqueue_recv() 327 char control[CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_sendmmsg() 345 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg() 391 char control[CMSG_SPACE(sizeof(cfg_gso_size)) + in send_udp_segment() 392 CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_segment() 409 msg_controllen = CMSG_SPACE(sizeof(cfg_mss)); in send_udp_segment() 413 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_segment()
|
| H A D | so_rcv_listener.c | 73 char cbuf[CMSG_SPACE(sizeof(__u32))]; in main() 74 char recv_buf[CMSG_SPACE(sizeof(__u32))]; in main()
|
| H A D | cmsg_sender.c | 247 *cmsg_len += CMSG_SPACE(sizeof(__u32)); in ca_write_cmsg_u32() 293 cmsg_len += CMSG_SPACE(sizeof(txtime)); in cs_write_cmsg() 304 cmsg_len += CMSG_SPACE(sizeof(__u32)); in cs_write_cmsg() 316 cmsg_len += CMSG_SPACE(8); in cs_write_cmsg()
|
| H A D | ipv6_flowlabel.c | 55 char control[CMSG_SPACE(sizeof(flowlabel))] = {0}; in do_send() 99 char control[CMSG_SPACE(sizeof(expect))]; in do_recv()
|
| H A D | so_txtime.c | 75 char control[CMSG_SPACE(sizeof(uint64_t))]; in do_send_one() 156 char control[CMSG_SPACE(sizeof(struct sock_extended_err)) + in do_recv_errqueue_timeout() 157 CMSG_SPACE(sizeof(struct sockaddr_in6))] = {0}; in do_recv_errqueue_timeout()
|
| H A D | msg_zerocopy.c | 190 char ckbuf[CMSG_SPACE(sizeof(cookie))]; in do_sendmsg() 201 msg->msg_controllen = CMSG_SPACE(sizeof(cookie)); in do_sendmsg() 365 char cmsgbuf[CMSG_SPACE(sizeof(struct rds_zcopy_cookies))]; in do_recvmsg_completion()
|
| H A D | txtimestamp.c | 488 char control[2 * CMSG_SPACE(sizeof(uint32_t))]; in do_test() 630 msg.msg_controllen = cfg_use_cmsg * CMSG_SPACE(sizeof(uint32_t)); in do_test() 631 msg.msg_controllen += cfg_use_cmsg_opt_id * CMSG_SPACE(sizeof(uint32_t)); in do_test()
|
| H A D | udpgso_bench_rx.c | 217 char control[CMSG_SPACE(sizeof(int))] = {0}; in recv_msg()
|
| H A D | udpgso.c | 378 char control[CMSG_SPACE(sizeof(uint16_t))] = {0}; in send_one()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | siocgskns_test.c | 112 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 144 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 448 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 487 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 628 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 660 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 830 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 862 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 1040 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() 1072 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in TEST() [all …]
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_pidfd.c | 188 char control[CMSG_SPACE(sizeof(struct ucred)) + in cmsg_check() 189 CMSG_SPACE(sizeof(int))] = { 0 }; in cmsg_check() 243 char control[CMSG_SPACE(sizeof(struct ucred)) + in cmsg_check_dead() 244 CMSG_SPACE(sizeof(int))] = { 0 }; in cmsg_check_dead()
|
| H A D | scm_inq.c | 68 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in recv_chunks()
|
| H A D | scm_rights.c | 278 char cmsg_buf[CMSG_SPACE(sizeof(fds))]; in __send_fd()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 511 char buf[CMSG_SPACE(sizeof(*fds) * MAX_RCV_FDS)]; in os_rcv_fd_msg() 521 .msg_controllen = CMSG_SPACE(sizeof(*fds) * n_fds), in os_rcv_fd_msg() 651 char control[CMSG_SPACE(sizeof(*fds) * OS_SENDMSG_MAX_FDS)]; in os_sendmsg_fds() 659 .msg_controllen = CMSG_SPACE(fds_size), in os_sendmsg_fds()
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | common.h | 137 char buf[CMSG_SPACE(sizeof(fd_rx))]; in recv_fd() 171 char buf[CMSG_SPACE(sizeof(fd_tx))]; in send_fd()
|
| /linux/samples/seccomp/ |
| H A D | user-trap.c | 37 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in send_fd() 68 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in recv_fd()
|
| /linux/net/handshake/ |
| H A D | alert.c | 37 u8 buf[CMSG_SPACE(sizeof(record_type))]; in tls_alert_send()
|
| /linux/tools/testing/selftests/tty/ |
| H A D | tty_tiocsti_test.c | 253 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in send_fd_via_socket() 277 char cmsg_buf[CMSG_SPACE(sizeof(int))]; in recv_fd_via_socket()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | lwt_reroute.c | 83 char control_buf[CMSG_SPACE(sizeof(uint64_t))]; in overflow_fq()
|
| H A D | crypto_sanity.c | 53 char cbuf[CMSG_SPACE(4)] = {0}; in do_crypt_afalg()
|
| H A D | token.c | 160 char buf[CMSG_SPACE(sizeof(fds))]; in sendfd() 195 char buf[CMSG_SPACE(sizeof(fds))]; in recvfd()
|
| /linux/arch/um/os-Linux/skas/ |
| H A D | process.c | 162 char data[CMSG_SPACE(sizeof(mm_idp->syscall_fd_map))]; in wait_stub_done_seccomp() 177 msgh.msg_controllen = CMSG_SPACE(fds_size); in wait_stub_done_seccomp()
|
| /linux/tools/testing/selftests/uevent/ |
| H A D | uevent_filtering.c | 86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener()
|
| /linux/tools/perf/trace/beauty/include/linux/ |
| H A D | socket.h | 140 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len)) macro
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ncdevmem.c | 1189 char control[CMSG_SPACE(100)] = {}; in wait_compl() 1253 char ctrl_data[CMSG_SPACE(sizeof(__u32))]; in do_client()
|