Searched refs:svm_cid (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/net/vmw_vsock/ |
D | vsock_addr.c | 18 addr->svm_cid = cid; in vsock_addr_init() 55 return addr->svm_cid == other->svm_cid && in vsock_addr_equals_addr()
|
D | vmci_transport.c | 127 pkt->dg.dst = vmci_make_handle(dst->svm_cid, in vmci_transport_packet_init() 128 vmci_transport_peer_rid(dst->svm_cid)); in vmci_transport_packet_init() 761 vsk->local_addr.svm_cid = dst.svm_cid; in vmci_transport_recv_stream_cb() 823 if (vsk->local_addr.svm_cid == VMADDR_CID_HOST || in vmci_transport_handle_detach() 905 vsock_sk(sk)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_pkt_work() 962 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen() 1193 vpending->remote_addr.svm_cid == vpending->local_addr.svm_cid; in vmci_transport_recv_connecting_server() 1206 vpending->remote_addr.svm_cid)); in vmci_transport_recv_connecting_server() 1310 || pkt->dg.src.context != vsk->remote_addr.svm_cid in vmci_transport_recv_connecting_client() 1409 if (vsk->local_addr.svm_cid == VMADDR_CID_ANY) in vmci_transport_recv_connecting_client_negotiate() [all …]
|
D | af_vsock.c | 168 (((src)->svm_cid ^ (dst)->svm_port) % VSOCK_HASH_SIZE) 239 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket() 240 addr->svm_cid == VMADDR_CID_ANY)) in __vsock_find_bound_socket() 438 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport() 450 if (psk && vsk->local_addr.svm_cid > VMADDR_CID_HOST && in vsock_assign_transport() 451 vsk->remote_addr.svm_cid > VMADDR_CID_HOST) in vsock_assign_transport() 632 vsock_addr_init(&new_addr, addr->svm_cid, addr->svm_port); in __vsock_bind_connectible() 665 vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port); in __vsock_bind_connectible() 698 if (addr->svm_cid != VMADDR_CID_ANY && !vsock_find_cid(addr->svm_cid)) in __vsock_bind() 1160 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg() [all …]
|
D | diag.c | 37 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill() 39 rep->vdiag_dst_cid = vsk->remote_addr.svm_cid; in sk_diag_fill()
|
D | virtio_transport_common.c | 207 dst_cid = vsk->remote_addr.svm_cid; in virtio_transport_send_pkt_info() 1255 trace_virtio_transport_recv_pkt(src.svm_cid, src.svm_port, in virtio_transport_recv_pkt() 1256 dst.svm_cid, dst.svm_port, in virtio_transport_recv_pkt() 1302 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt() 1303 vsk->local_addr.svm_cid = dst.svm_cid; in virtio_transport_recv_pkt()
|
/linux-5.19.10/include/uapi/linux/ |
D | vm_sockets.h | 182 unsigned int svm_cid; member
|
/linux-5.19.10/tools/testing/vsock/ |
D | util.c | 96 .svm_cid = cid, in vsock_connect() 146 .svm_cid = cid, in vsock_accept()
|
D | vsock_test.c | 35 .svm_cid = opts->peer_cid, in test_stream_connection_reset() 71 .svm_cid = opts->peer_cid, in test_stream_bind_only_client() 113 .svm_cid = VMADDR_CID_ANY, in test_stream_bind_only_server()
|
D | vsock_diag_test.c | 346 .svm_cid = VMADDR_CID_ANY, in test_listen_socket_server()
|
/linux-5.19.10/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 661 .svm_cid = NE_IMAGE_LOAD_HEARTBEAT_CID, in ne_start_enclave_check_booted()
|
/linux-5.19.10/drivers/vhost/ |
D | vsock.c | 321 vsock = vhost_vsock_get(vsk->remote_addr.svm_cid); in vhost_transport_cancel_pkt() 721 if (vhost_vsock_get(vsk->remote_addr.svm_cid)) in vhost_vsock_reset_orphans()
|