Searched refs:vm_addr (Results 1 – 2 of 2) sorted by relevance
733 struct sockaddr_vm *vm_addr; in vsock_bind() local737 if (vsock_addr_cast(addr, addr_len, &vm_addr) != 0) in vsock_bind()741 err = __vsock_bind(sk, vm_addr); in vsock_bind()753 struct sockaddr_vm *vm_addr; in vsock_getname() local766 vm_addr = &vsk->remote_addr; in vsock_getname()768 vm_addr = &vsk->local_addr; in vsock_getname()771 if (!vm_addr) { in vsock_getname()781 BUILD_BUG_ON(sizeof(*vm_addr) > 128); in vsock_getname()782 memcpy(addr, vm_addr, sizeof(*vm_addr)); in vsock_getname()783 *addr_len = sizeof(*vm_addr); in vsock_getname()
1783 DECLARE_SOCKADDR(struct sockaddr_vm *, vm_addr, msg->msg_name); in vmci_transport_dgram_dequeue()1784 vsock_addr_init(vm_addr, dg->src.context, dg->src.resource); in vmci_transport_dgram_dequeue()1785 msg->msg_namelen = sizeof(*vm_addr); in vmci_transport_dgram_dequeue()