Home
last modified time | relevance | path

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

1234

/linux-5.19.10/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-5.19.10/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-5.19.10/net/
Dcompat.c50 if (!msg.msg_name) in __get_compat_msghdr()
64 *save_addr = compat_ptr(msg.msg_name); in __get_compat_msghdr()
66 if (msg.msg_name && kmsg->msg_namelen) { in __get_compat_msghdr()
68 err = move_addr_to_kernel(compat_ptr(msg.msg_name), in __get_compat_msghdr()
70 kmsg->msg_name); in __get_compat_msghdr()
75 kmsg->msg_name = NULL; in __get_compat_msghdr()
Dsocket.c2105 msg.msg_name = NULL; in __sys_sendto()
2113 msg.msg_name = (struct sockaddr *)&address; in __sys_sendto()
2155 .msg_name = addr ? (struct sockaddr *)&address : NULL, in __sys_recvfrom()
2379 if (!msg.msg_name) in __copy_msghdr_from_user()
2389 *save_addr = msg.msg_name; in __copy_msghdr_from_user()
2391 if (msg.msg_name && kmsg->msg_namelen) { in __copy_msghdr_from_user()
2393 err = move_addr_to_kernel(msg.msg_name, in __copy_msghdr_from_user()
2395 kmsg->msg_name); in __copy_msghdr_from_user()
2400 kmsg->msg_name = NULL; in __copy_msghdr_from_user()
2481 if (used_address && msg_sys->msg_name && in ____sys_sendmsg()
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/include/net/
Dcompat.h11 compat_uptr_t msg_name; /* void * */ member
/linux-5.19.10/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()
757 msghdr.msg_name = sq; in qmi_send_message()
/linux-5.19.10/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-5.19.10/net/ipv6/
Dping.c72 if (msg->msg_name) { in ping_v6_sendmsg()
73 DECLARE_SOCKADDR(struct sockaddr_in6 *, u, msg->msg_name); in ping_v6_sendmsg()
/linux-5.19.10/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-5.19.10/net/can/
Draw.c781 if (msg->msg_name) { in raw_sendmsg()
782 DECLARE_SOCKADDR(struct sockaddr_can *, addr, msg->msg_name); in raw_sendmsg()
879 if (msg->msg_name) { in raw_recvmsg()
882 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in raw_recvmsg()
/linux-5.19.10/net/ieee802154/
Dsocket.c615 if (!ro->connected && !msg->msg_name) in dgram_sendmsg()
617 else if (ro->connected && msg->msg_name) in dgram_sendmsg()
655 if (msg->msg_name) { in dgram_sendmsg()
657 daddr, msg->msg_name); in dgram_sendmsg()
704 DECLARE_SOCKADDR(struct sockaddr_ieee802154 *, saddr, msg->msg_name); in dgram_recvmsg()
/linux-5.19.10/drivers/infiniband/sw/siw/
Dsiw_cm.h109 struct msghdr msg = { .msg_name = NULL, .msg_flags = flags }; in ksock_recv()
/linux-5.19.10/tools/perf/trace/beauty/include/linux/
Dsocket.h51 void *msg_name; /* ptr to socket address structure */ member
75 void __user *msg_name; /* ptr to socket address structure */ member
/linux-5.19.10/tools/testing/vsock/
Dvsock_diag_test.c188 .msg_name = &nladdr, in send_req()
217 .msg_name = &nladdr, in recv_resp()
/linux-5.19.10/include/linux/
Dsocket.h51 void *msg_name; /* ptr to socket address structure */ member
75 void __user *msg_name; /* ptr to socket address structure */ member
/linux-5.19.10/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()
/linux-5.19.10/samples/bpf/
Dxdpsock_ctrl_proc.c76 msg.msg_name = NULL; in send_xsks_map_fd()

1234