Home
last modified time | relevance | path

Searched refs:msg_name (Results 1 – 25 of 87) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_log.h96 #define HDCP_DDC_READ_TRACE(hdcp, msg_name, msg, msg_size) do { \ argument
100 msg_name, hdcp->buf); \
102 #define HDCP_DDC_WRITE_TRACE(hdcp, msg_name, msg, msg_size) do { \ argument
106 hdcp->config.index, msg_name,\
/linux-6.1.9/net/phonet/
Ddatagram.c75 DECLARE_SOCKADDR(struct sockaddr_pn *, target, msg->msg_name); in pn_sendmsg()
146 if (msg->msg_name != NULL) { in pn_recvmsg()
148 memcpy(msg->msg_name, &sa, sizeof(sa)); in pn_recvmsg()
/linux-6.1.9/net/
Dcompat.c45 if (!msg->msg_name) in __get_compat_msghdr()
60 *save_addr = compat_ptr(msg->msg_name); in __get_compat_msghdr()
62 if (msg->msg_name && kmsg->msg_namelen) { in __get_compat_msghdr()
64 err = move_addr_to_kernel(compat_ptr(msg->msg_name), in __get_compat_msghdr()
66 kmsg->msg_name); in __get_compat_msghdr()
71 kmsg->msg_name = NULL; in __get_compat_msghdr()
Dsocket.c2102 msg.msg_name = NULL; in __sys_sendto()
2111 msg.msg_name = (struct sockaddr *)&address; in __sys_sendto()
2153 .msg_name = addr ? (struct sockaddr *)&address : NULL, in __sys_recvfrom()
2372 if (!msg->msg_name) in __copy_msghdr()
2382 *save_addr = msg->msg_name; in __copy_msghdr()
2384 if (msg->msg_name && kmsg->msg_namelen) { in __copy_msghdr()
2386 err = move_addr_to_kernel(msg->msg_name, in __copy_msghdr()
2388 kmsg->msg_name); in __copy_msghdr()
2393 kmsg->msg_name = NULL; in __copy_msghdr()
2475 if (used_address && msg_sys->msg_name && in ____sys_sendmsg()
[all …]
/linux-6.1.9/net/mctp/
Daf_mctp.c95 DECLARE_SOCKADDR(struct sockaddr_mctp *, addr, msg->msg_name); in mctp_sendmsg()
135 extaddr, msg->msg_name); in mctp_sendmsg()
181 extaddr, msg->msg_name); in mctp_sendmsg()
208 DECLARE_SOCKADDR(struct sockaddr_mctp *, addr, msg->msg_name); in mctp_recvmsg()
248 addr = msg->msg_name; in mctp_recvmsg()
261 msg->msg_name); in mctp_recvmsg()
/linux-6.1.9/net/qrtr/
Dns.c124 msg.msg_name = (struct sockaddr *)dest; in service_announce_new()
151 msg.msg_name = (struct sockaddr *)dest; in service_announce_del()
182 msg.msg_name = (struct sockaddr *)to; in lookup_notify()
318 msg.msg_name = (struct sockaddr *)dest; in say_hello()
402 msg.msg_name = (struct sockaddr *)&sq; in ctrl_cmd_bye()
489 msg.msg_name = (struct sockaddr *)&sq; in ctrl_cmd_del_client()
673 msg.msg_name = (struct sockaddr *)&sq; in qrtr_ns_worker()
/linux-6.1.9/tools/testing/selftests/net/af_unix/
Ddiag_uid.c107 .msg_name = &nladdr, in send_request()
146 .msg_name = &nladdr, in receive_response()
/linux-6.1.9/io_uring/
Dnet.c167 if (async_msg->msg.msg_name) in io_setup_async_msg()
168 async_msg->msg.msg_name = &async_msg->addr; in io_setup_async_msg()
183 iomsg->msg.msg_name = &iomsg->addr; in io_sendmsg_copy_hdr()
339 msg.msg_name = NULL; in io_send()
349 msg.msg_name = &io->addr; in io_send()
354 msg.msg_name = (struct sockaddr *)&__address; in io_send()
520 iomsg->msg.msg_name = &iomsg->addr; in io_recvmsg_copy_hdr()
674 kmsg->msg.msg_name = &hdr.addr; in io_recvmsg_multishot()
864 msg.msg_name = NULL; in io_recv()
1076 msg.msg_name = NULL; in io_send_zc()
[all …]
/linux-6.1.9/net/rxrpc/
Doutput.c201 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_ack_packet()
310 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_abort_packet()
395 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_data_packet()
574 msg.msg_name = &srx.transport; in rxrpc_reject_packets()
642 msg.msg_name = &peer->srx.transport; in rxrpc_send_keepalive()
Dlocal_event.c41 msg.msg_name = &srx.transport; in rxrpc_send_version_request()
Daf_rxrpc.c512 if (m->msg_name) { in rxrpc_sendmsg()
513 ret = rxrpc_validate_address(rx, m->msg_name, m->msg_namelen); in rxrpc_sendmsg()
553 if (!m->msg_name && in rxrpc_sendmsg()
555 m->msg_name = &rx->connect_srx; in rxrpc_sendmsg()
Drecvmsg.c590 if (msg->msg_name && call->peer) { in rxrpc_recvmsg()
591 struct sockaddr_rxrpc *srx = msg->msg_name; in rxrpc_recvmsg()
594 memcpy(msg->msg_name, &call->peer->srx, len); in rxrpc_recvmsg()
/linux-6.1.9/net/can/j1939/
Dsocket.c835 if (msg->msg_name) { in j1939_sk_recvmsg()
836 struct sockaddr_can *paddr = msg->msg_name; in j1939_sk_recvmsg()
839 memset(msg->msg_name, 0, msg->msg_namelen); in j1939_sk_recvmsg()
889 if (msg->msg_name) { in j1939_sk_alloc_skb()
890 struct sockaddr_can *addr = msg->msg_name; in j1939_sk_alloc_skb()
1216 if (msg->msg_name) { in j1939_sk_sendmsg()
1217 struct sockaddr_can *addr = msg->msg_name; in j1939_sk_sendmsg()
/linux-6.1.9/include/net/
Dcompat.h11 compat_uptr_t msg_name; /* void * */ member
/linux-6.1.9/drivers/soc/qcom/
Dqmi_interface.c181 msg.msg_name = &sq; in qmi_send_new_lookup()
246 msg.msg_name = &sq; in qmi_send_new_server()
527 struct msghdr msg = { .msg_name = &sq, .msg_namelen = sizeof(sq) }; in qmi_data_ready_work()
758 msghdr.msg_name = sq; in qmi_send_message()
/linux-6.1.9/tools/testing/selftests/net/
Dtxtimestamp.c382 msg.msg_name = NULL; in recv_errmsg()
608 msg.msg_name = (void *)&laddr; in do_test()
611 msg.msg_name = (void *)&daddr; in do_test()
614 msg.msg_name = (void *)&daddr6; in do_test()
Dtimestamping.c156 struct sockaddr_in *from_addr = (struct sockaddr_in *)msg->msg_name; in printpacket()
295 msg.msg_name = (caddr_t)&from_addr; in recvpacket()
/linux-6.1.9/net/ipv6/
Dping.c89 if (msg->msg_name) { in ping_v6_sendmsg()
90 DECLARE_SOCKADDR(struct sockaddr_in6 *, u, msg->msg_name); in ping_v6_sendmsg()
/linux-6.1.9/net/l2tp/
Dl2tp_ip.c414 if (msg->msg_name) { in l2tp_ip_sendmsg()
415 DECLARE_SOCKADDR(struct sockaddr_l2tpip *, lip, msg->msg_name); in l2tp_ip_sendmsg()
525 DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); in l2tp_ip_recvmsg()
/linux-6.1.9/net/can/
Draw.c803 if (msg->msg_name) { in raw_sendmsg()
804 DECLARE_SOCKADDR(struct sockaddr_can *, addr, msg->msg_name); in raw_sendmsg()
909 if (msg->msg_name) { in raw_recvmsg()
912 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in raw_recvmsg()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_cm.h109 struct msghdr msg = { .msg_name = NULL, .msg_flags = flags }; in ksock_recv()
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h53 void *msg_name; /* ptr to socket address structure */ member
80 void __user *msg_name; /* ptr to socket address structure */ member
/linux-6.1.9/include/linux/
Dsocket.h53 void *msg_name; /* ptr to socket address structure */ member
80 void __user *msg_name; /* ptr to socket address structure */ member
/linux-6.1.9/tools/testing/vsock/
Dvsock_diag_test.c188 .msg_name = &nladdr, in send_req()
217 .msg_name = &nladdr, in recv_resp()
/linux-6.1.9/security/tomoyo/
Dnetwork.c765 if (!msg->msg_name || !family || in tomoyo_socket_sendmsg_permission()
772 msg->msg_name, in tomoyo_socket_sendmsg_permission()
774 return tomoyo_check_inet_address((struct sockaddr *) msg->msg_name, in tomoyo_socket_sendmsg_permission()

1234