Home
last modified time | relevance | path

Searched refs:vm_addr (Results 1 – 2 of 2) sorted by relevance

/net/vmw_vsock/
Daf_vsock.c914 struct sockaddr_vm *vm_addr; in vsock_bind() local
918 if (vsock_addr_cast(addr, addr_len, &vm_addr) != 0) in vsock_bind()
922 err = __vsock_bind(sk, vm_addr); in vsock_bind()
934 struct sockaddr_vm *vm_addr; in vsock_getname() local
947 vm_addr = &vsk->remote_addr; in vsock_getname()
949 vm_addr = &vsk->local_addr; in vsock_getname()
952 if (!vm_addr) { in vsock_getname()
962 BUILD_BUG_ON(sizeof(*vm_addr) > 128); in vsock_getname()
963 memcpy(addr, vm_addr, sizeof(*vm_addr)); in vsock_getname()
964 err = sizeof(*vm_addr); in vsock_getname()
Dvmci_transport.c1776 DECLARE_SOCKADDR(struct sockaddr_vm *, vm_addr, msg->msg_name); in vmci_transport_dgram_dequeue()
1777 vsock_addr_init(vm_addr, dg->src.context, dg->src.resource); in vmci_transport_dgram_dequeue()
1778 msg->msg_namelen = sizeof(*vm_addr); in vmci_transport_dgram_dequeue()