/linux-5.19.10/net/ |
D | compat.c | 48 kmsg->msg_namelen = msg.msg_namelen; in __get_compat_msghdr() 51 kmsg->msg_namelen = 0; in __get_compat_msghdr() 53 if (kmsg->msg_namelen < 0) in __get_compat_msghdr() 56 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __get_compat_msghdr() 57 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __get_compat_msghdr() 66 if (msg.msg_name && kmsg->msg_namelen) { in __get_compat_msghdr() 69 kmsg->msg_namelen, in __get_compat_msghdr() 76 kmsg->msg_namelen = 0; in __get_compat_msghdr()
|
D | socket.c | 2108 msg.msg_namelen = 0; in __sys_sendto() 2114 msg.msg_namelen = addr_len; in __sys_sendto() 2175 msg.msg_namelen, addr, addr_len); in __sys_recvfrom() 2353 #define COMPAT_NAMELEN(msg) COMPAT_MSG(msg, msg_namelen) 2378 kmsg->msg_namelen = msg.msg_namelen; in __copy_msghdr_from_user() 2380 kmsg->msg_namelen = 0; in __copy_msghdr_from_user() 2382 if (kmsg->msg_namelen < 0) in __copy_msghdr_from_user() 2385 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr_from_user() 2386 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __copy_msghdr_from_user() 2391 if (msg.msg_name && kmsg->msg_namelen) { in __copy_msghdr_from_user() [all …]
|
/linux-5.19.10/arch/arm/kernel/ |
D | sys_oabi-compat.c | 463 int msg_namelen; in sys_oabi_sendmsg() local 466 get_user(msg_namelen, &msg->msg_namelen) == 0 && in sys_oabi_sendmsg() 467 msg_namelen == 112 && in sys_oabi_sendmsg() 481 put_user(110, &msg->msg_namelen); in sys_oabi_sendmsg()
|
/linux-5.19.10/net/qrtr/ |
D | ns.c | 125 msg.msg_namelen = sizeof(*dest); in service_announce_new() 152 msg.msg_namelen = sizeof(*dest); in service_announce_del() 183 msg.msg_namelen = sizeof(*to); in lookup_notify() 319 msg.msg_namelen = sizeof(*dest); in say_hello() 403 msg.msg_namelen = sizeof(sq); in ctrl_cmd_bye() 490 msg.msg_namelen = sizeof(sq); in ctrl_cmd_del_client() 674 msg.msg_namelen = sizeof(sq); in qrtr_ns_worker()
|
/linux-5.19.10/net/rxrpc/ |
D | output.c | 202 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_ack_packet() 311 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_abort_packet() 396 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_data_packet() 603 msg.msg_namelen = srx.transport_len; in rxrpc_reject_packets() 643 msg.msg_namelen = peer->srx.transport_len; in rxrpc_send_keepalive()
|
D | local_event.c | 42 msg.msg_namelen = srx.transport_len; in rxrpc_send_version_request()
|
D | conn_event.c | 56 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_conn_retransmit_call() 217 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_abort_connection()
|
/linux-5.19.10/include/net/ |
D | compat.h | 12 compat_int_t msg_namelen; member
|
/linux-5.19.10/drivers/soc/qcom/ |
D | qmi_interface.c | 182 msg.msg_namelen = sizeof(sq); in qmi_send_new_lookup() 247 msg.msg_namelen = sizeof(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_namelen = sizeof(*sq); in qmi_send_message()
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | txtimestamp.c | 383 msg.msg_namelen = 0; in recv_errmsg() 609 msg.msg_namelen = sizeof(laddr); in do_test() 612 msg.msg_namelen = sizeof(daddr); in do_test() 615 msg.msg_namelen = sizeof(daddr6); in do_test()
|
D | tcp_inq.c | 150 msg.msg_namelen = 0; in main()
|
D | udpgso_bench_tx.c | 344 mmsgs[i].msg_hdr.msg_namelen = cfg_alen; in send_udp_sendmmsg() 402 msg.msg_namelen = cfg_alen; in send_udp_segment()
|
/linux-5.19.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 52 int msg_namelen; /* size of socket address structure */ member 76 int msg_namelen; /* size of socket address structure */ member
|
/linux-5.19.10/tools/testing/vsock/ |
D | vsock_diag_test.c | 189 .msg_namelen = sizeof(nladdr), in send_req() 218 .msg_namelen = sizeof(nladdr), in recv_resp()
|
/linux-5.19.10/include/linux/ |
D | socket.h | 52 int msg_namelen; /* size of socket address structure */ member 76 int msg_namelen; /* size of socket address structure */ member
|
/linux-5.19.10/net/mctp/ |
D | af_mctp.c | 96 int rc, addrlen = msg->msg_namelen; in mctp_sendmsg() 257 msg->msg_namelen = sizeof(*addr); in mctp_recvmsg() 262 msg->msg_namelen = sizeof(*ae); in mctp_recvmsg()
|
/linux-5.19.10/samples/bpf/ |
D | xdpsock_ctrl_proc.c | 77 msg.msg_namelen = 0; in send_xsks_map_fd()
|
/linux-5.19.10/net/phonet/ |
D | datagram.c | 86 if (msg->msg_namelen < sizeof(struct sockaddr_pn)) in pn_sendmsg()
|
/linux-5.19.10/net/can/ |
D | raw.c | 784 if (msg->msg_namelen < RAW_MIN_NAMELEN) in raw_sendmsg() 881 msg->msg_namelen = RAW_MIN_NAMELEN; in raw_recvmsg() 882 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in raw_recvmsg()
|
/linux-5.19.10/net/packet/ |
D | af_packet.c | 1968 if (msg->msg_namelen < sizeof(struct sockaddr)) in packet_sendmsg_spkt() 1970 if (msg->msg_namelen == sizeof(struct sockaddr_pkt)) in packet_sendmsg_spkt() 2746 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in tpacket_snd() 2748 if (msg->msg_namelen < (saddr->sll_halen in tpacket_snd() 2755 if (dev && msg->msg_namelen < dev->addr_len + in tpacket_snd() 2960 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in packet_snd() 2962 if (msg->msg_namelen < (saddr->sll_halen + offsetof(struct sockaddr_ll, sll_addr))) in packet_snd() 2967 if (dev && msg->msg_namelen < dev->addr_len + in packet_snd() 3494 msg->msg_namelen = sizeof(struct sockaddr_pkt); in packet_recvmsg() 3495 copy_len = msg->msg_namelen; in packet_recvmsg() [all …]
|
/linux-5.19.10/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 88 msg.msg_namelen = 0; in tuntap_open_tramp()
|
/linux-5.19.10/fs/afs/ |
D | rxrpc.c | 357 msg.msg_namelen = 0; in afs_make_call() 821 msg.msg_namelen = 0; in afs_send_empty_reply() 861 msg.msg_namelen = 0; in afs_send_simple_reply()
|
/linux-5.19.10/arch/um/drivers/ |
D | mconsole_user.c | 49 msg.msg_namelen = req->originlen; in mconsole_reply_v0()
|
/linux-5.19.10/security/tomoyo/ |
D | network.c | 773 msg->msg_namelen, &address); in tomoyo_socket_sendmsg_permission() 775 msg->msg_namelen, in tomoyo_socket_sendmsg_permission()
|
/linux-5.19.10/net/rose/ |
D | af_rose.c | 1084 …if (msg->msg_namelen != sizeof(struct sockaddr_rose) && msg->msg_namelen != sizeof(struct full_soc… in rose_sendmsg() 1087 memcpy(&srose, usrose, msg->msg_namelen); in rose_sendmsg() 1276 msg->msg_namelen = sizeof(struct full_sockaddr_rose); in rose_recvmsg()
|