Lines Matching refs:msg_namelen
731 int save_len = msg->msg_namelen; in sock_sendmsg()
735 memcpy(&address, msg->msg_name, msg->msg_namelen); in sock_sendmsg()
741 msg->msg_namelen = save_len; in sock_sendmsg()
2059 msg.msg_namelen = 0; in __sys_sendto()
2065 msg.msg_namelen = addr_len; in __sys_sendto()
2122 msg.msg_namelen = 0; in __sys_recvfrom()
2131 msg.msg_namelen, addr, addr_len); in __sys_recvfrom()
2309 #define COMPAT_NAMELEN(msg) COMPAT_MSG(msg, msg_namelen)
2333 kmsg->msg_namelen = msg.msg_namelen; in __copy_msghdr_from_user()
2335 kmsg->msg_namelen = 0; in __copy_msghdr_from_user()
2337 if (kmsg->msg_namelen < 0) in __copy_msghdr_from_user()
2340 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr_from_user()
2341 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __copy_msghdr_from_user()
2346 if (msg.msg_name && kmsg->msg_namelen) { in __copy_msghdr_from_user()
2349 kmsg->msg_namelen, in __copy_msghdr_from_user()
2356 kmsg->msg_namelen = 0; in __copy_msghdr_from_user()
2437 used_address->name_len == msg_sys->msg_namelen && in ____sys_sendmsg()
2449 used_address->name_len = msg_sys->msg_namelen; in ____sys_sendmsg()
2654 msg_sys->msg_namelen = 0; in ____sys_recvmsg()
2670 msg_sys->msg_namelen, uaddr, in ____sys_recvmsg()