CMSG_DATA 123 arch/um/os-Linux/drivers/tuntap_user.c *fd_out = ((int *) CMSG_DATA(cmsg))[0]; CMSG_DATA 538 arch/um/os-Linux/file.c new = ((int *) CMSG_DATA(cmsg))[0]; CMSG_DATA 661 arch/um/os-Linux/file.c memcpy(CMSG_DATA(cmsg), fds, fds_size); CMSG_DATA 454 crypto/af_alg.c con->iv = (void *)CMSG_DATA(cmsg); CMSG_DATA 463 crypto/af_alg.c con->op = *(u32 *)CMSG_DATA(cmsg); CMSG_DATA 469 crypto/af_alg.c con->aead_assoclen = *(u32 *)CMSG_DATA(cmsg); CMSG_DATA 180 net/compat.c copy_from_user(CMSG_DATA(kcmsg), CMSG_DATA 67 net/core/scm.c int *fdp = (int*)CMSG_DATA(cmsg); CMSG_DATA 169 net/core/scm.c memcpy(&creds, CMSG_DATA(cmsg), sizeof(struct ucred)); CMSG_DATA 239 net/core/scm.c if (copy_to_user(CMSG_DATA(cm), data, cmlen - sizeof(struct cmsghdr))) CMSG_DATA 301 net/core/scm.c for (i=0, cmfptr=(__force int __user *)CMSG_DATA(cm); i<fdmax; CMSG_DATA 2279 net/core/sock.c sockc->mark = *(u32 *)CMSG_DATA(cmsg); CMSG_DATA 2285 net/core/sock.c tsflags = *(u32 *)CMSG_DATA(cmsg); CMSG_DATA 2297 net/core/sock.c sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); CMSG_DATA 743 net/dccp/proto.c skb->priority = *(__u32 *)CMSG_DATA(cmsg); CMSG_DATA 260 net/ipv4/ip_sockglue.c src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); CMSG_DATA 283 net/ipv4/ip_sockglue.c err = ip_options_get(net, &ipc->opt, CMSG_DATA(cmsg), CMSG_DATA 293 net/ipv4/ip_sockglue.c info = (struct in_pktinfo *)CMSG_DATA(cmsg); CMSG_DATA 302 net/ipv4/ip_sockglue.c val = *(int *)CMSG_DATA(cmsg); CMSG_DATA 309 net/ipv4/ip_sockglue.c val = *(int *)CMSG_DATA(cmsg); CMSG_DATA 311 net/ipv4/ip_sockglue.c val = *(u8 *)CMSG_DATA(cmsg); CMSG_DATA 934 net/ipv4/udp.c *gso_size = *(__u16 *)CMSG_DATA(cmsg); CMSG_DATA 779 net/ipv6/datagram.c src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); CMSG_DATA 833 net/ipv6/datagram.c if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { CMSG_DATA 838 net/ipv6/datagram.c fl6->flowlabel = IPV6_FLOWINFO_MASK & *(__be32 *)CMSG_DATA(cmsg); CMSG_DATA 848 net/ipv6/datagram.c hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); CMSG_DATA 868 net/ipv6/datagram.c hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); CMSG_DATA 893 net/ipv6/datagram.c hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); CMSG_DATA 919 net/ipv6/datagram.c rthdr = (struct ipv6_rt_hdr *)CMSG_DATA(cmsg); CMSG_DATA 970 net/ipv6/datagram.c ipc6->hlimit = *(int *)CMSG_DATA(cmsg); CMSG_DATA 986 net/ipv6/datagram.c tc = *(int *)CMSG_DATA(cmsg); CMSG_DATA 1004 net/ipv6/datagram.c df = *(int *)CMSG_DATA(cmsg); CMSG_DATA 1130 net/iucv/af_iucv.c (void *) CMSG_DATA(cmsg), TRGCLS_SIZE); CMSG_DATA 589 net/rds/rdma.c args = CMSG_DATA(cmsg); CMSG_DATA 742 net/rds/rdma.c memcpy(&rm->m_rdma_cookie, CMSG_DATA(cmsg), sizeof(rm->m_rdma_cookie)); CMSG_DATA 779 net/rds/rdma.c return __rds_rdma_map(rs, CMSG_DATA(cmsg), &rm->m_rdma_cookie, CMSG_DATA 797 net/rds/rdma.c args = CMSG_DATA(cmsg); CMSG_DATA 928 net/rds/send.c retval = rds_rdma_extra_size(CMSG_DATA(cmsg), iov); CMSG_DATA 979 net/rds/send.c cookie = CMSG_DATA(cmsg); CMSG_DATA 1094 net/rds/send.c args = CMSG_DATA(cmsg); CMSG_DATA 514 net/rxrpc/sendmsg.c p->call.user_call_ID = *(u32 *)CMSG_DATA(cmsg); CMSG_DATA 519 net/rxrpc/sendmsg.c CMSG_DATA(cmsg); CMSG_DATA 530 net/rxrpc/sendmsg.c p->abort_code = *(unsigned int *)CMSG_DATA(cmsg); CMSG_DATA 558 net/rxrpc/sendmsg.c p->call.tx_total_len = *(__s64 *)CMSG_DATA(cmsg); CMSG_DATA 566 net/rxrpc/sendmsg.c memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); CMSG_DATA 1728 net/sctp/socket.c memcpy(&daddr->v4.sin_addr, CMSG_DATA(cmsg), dlen); CMSG_DATA 1739 net/sctp/socket.c memcpy(&daddr->v6.sin6_addr, CMSG_DATA(cmsg), dlen); CMSG_DATA 8676 net/sctp/socket.c cmsgs->init = CMSG_DATA(cmsg); CMSG_DATA 8694 net/sctp/socket.c cmsgs->srinfo = CMSG_DATA(cmsg); CMSG_DATA 8718 net/sctp/socket.c cmsgs->sinfo = CMSG_DATA(cmsg); CMSG_DATA 8739 net/sctp/socket.c cmsgs->prinfo = CMSG_DATA(cmsg); CMSG_DATA 8759 net/sctp/socket.c cmsgs->authinfo = CMSG_DATA(cmsg); CMSG_DATA 152 net/sunrpc/svcsock.c struct in_pktinfo *pki = CMSG_DATA(cmh); CMSG_DATA 164 net/sunrpc/svcsock.c struct in6_pktinfo *pki = CMSG_DATA(cmh); CMSG_DATA 443 net/sunrpc/svcsock.c struct in_pktinfo *pki = CMSG_DATA(cmh); CMSG_DATA 460 net/sunrpc/svcsock.c struct in6_pktinfo *pki = CMSG_DATA(cmh); CMSG_DATA 188 net/tls/tls_main.c *record_type = *(unsigned char *)CMSG_DATA(cmsg); CMSG_DATA 50 samples/seccomp/user-trap.c *((int *)CMSG_DATA(cmsg)) = fd; CMSG_DATA 83 samples/seccomp/user-trap.c return *((int *)CMSG_DATA(cmsg)); CMSG_DATA 148 tools/testing/selftests/android/ion/ipcsocket.c memcpy(CMSG_DATA(cmsg), &buffd, len); CMSG_DATA 209 tools/testing/selftests/android/ion/ipcsocket.c memcpy(&buffd, CMSG_DATA(cmsg), len); CMSG_DATA 1220 tools/testing/selftests/bpf/test_sock_addr.c pktinfo4 = (struct in_pktinfo *)CMSG_DATA(cmsg); CMSG_DATA 1229 tools/testing/selftests/bpf/test_sock_addr.c pktinfo6 = (struct in6_pktinfo *)CMSG_DATA(cmsg); CMSG_DATA 58 tools/testing/selftests/net/ipv6_flowlabel.c *(uint32_t *)CMSG_DATA(cm) = htonl(flowlabel); CMSG_DATA 114 tools/testing/selftests/net/ipv6_flowlabel.c flowlabel = ntohl(*(uint32_t *)CMSG_DATA(cm)); CMSG_DATA 181 tools/testing/selftests/net/msg_zerocopy.c memcpy(CMSG_DATA(cm), &cookie, sizeof(cookie)); CMSG_DATA 382 tools/testing/selftests/net/msg_zerocopy.c ck = (struct rds_zcopy_cookies *)CMSG_DATA(cmsg); CMSG_DATA 425 tools/testing/selftests/net/msg_zerocopy.c serr = (void *) CMSG_DATA(cm); CMSG_DATA 596 tools/testing/selftests/net/nettest.c pi = (struct in_pktinfo *)(CMSG_DATA(cm)); CMSG_DATA 603 tools/testing/selftests/net/nettest.c pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); CMSG_DATA 663 tools/testing/selftests/net/nettest.c pi = (struct in_pktinfo *)(CMSG_DATA(cm)); CMSG_DATA 675 tools/testing/selftests/net/nettest.c pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); CMSG_DATA 89 tools/testing/selftests/net/so_txtime.c memcpy(CMSG_DATA(cm), &tdeliver, sizeof(tdeliver)); CMSG_DATA 176 tools/testing/selftests/net/so_txtime.c err = (struct sock_extended_err *)CMSG_DATA(cm); CMSG_DATA 168 tools/testing/selftests/net/tcp_inq.c inq = *((int *) CMSG_DATA(cm)); CMSG_DATA 1064 tools/testing/selftests/net/tls.c *CMSG_DATA(cmsg) = record_type; CMSG_DATA 1078 tools/testing/selftests/net/tls.c record_type = *((unsigned char *)CMSG_DATA(cmsg)); CMSG_DATA 1091 tools/testing/selftests/net/tls.c record_type = *((unsigned char *)CMSG_DATA(cmsg)); CMSG_DATA 476 tools/testing/selftests/net/udpgso.c *((uint16_t *) CMSG_DATA(cm)) = gso_len; CMSG_DATA 237 tools/testing/selftests/net/udpgso_bench_rx.c gsosizeptr = (uint16_t *) CMSG_DATA(cmsg); CMSG_DATA 150 tools/testing/selftests/net/udpgso_bench_tx.c tss = (struct scm_timestamping *)CMSG_DATA(cmsg); CMSG_DATA 164 tools/testing/selftests/net/udpgso_bench_tx.c err = (struct sock_extended_err *)CMSG_DATA(cmsg); CMSG_DATA 305 tools/testing/selftests/net/udpgso_bench_tx.c valp = (void *)CMSG_DATA(cm); CMSG_DATA 369 tools/testing/selftests/net/udpgso_bench_tx.c valp = (void *)CMSG_DATA(cm); CMSG_DATA 216 tools/testing/selftests/networking/timestamping/rxtimestamp.c ts = (struct scm_timestamping *)CMSG_DATA(cmsg); CMSG_DATA 163 tools/testing/selftests/networking/timestamping/timestamping.c (struct timeval *)CMSG_DATA(cmsg); CMSG_DATA 171 tools/testing/selftests/networking/timestamping/timestamping.c (struct timespec *)CMSG_DATA(cmsg); CMSG_DATA 179 tools/testing/selftests/networking/timestamping/timestamping.c (struct timespec *)CMSG_DATA(cmsg); CMSG_DATA 202 tools/testing/selftests/networking/timestamping/timestamping.c (struct sock_extended_err *)CMSG_DATA(cmsg); CMSG_DATA 222 tools/testing/selftests/networking/timestamping/timestamping.c (struct in_pktinfo *)CMSG_DATA(cmsg); CMSG_DATA 225 tools/testing/selftests/networking/timestamping/txtimestamp.c tss = (void *) CMSG_DATA(cm); CMSG_DATA 232 tools/testing/selftests/networking/timestamping/txtimestamp.c serr = (void *) CMSG_DATA(cm); CMSG_DATA 242 tools/testing/selftests/networking/timestamping/txtimestamp.c struct in_pktinfo *info = (void *) CMSG_DATA(cm); CMSG_DATA 247 tools/testing/selftests/networking/timestamping/txtimestamp.c struct in6_pktinfo *info6 = (void *) CMSG_DATA(cm); CMSG_DATA 520 tools/testing/selftests/networking/timestamping/txtimestamp.c *((uint32_t *) CMSG_DATA(cmsg)) = report_opt;