Home
last modified time | relevance | path

Searched refs:remote_cid (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/misc/vmw_vmci/
Dvmci_context.h87 u32 remote_cid; member
140 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid);
141 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid);
Dvmci_context.c598 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid) in vmci_ctx_add_notification() argument
609 if (VMCI_CONTEXT_IS_VM(context_id) && VMCI_CONTEXT_IS_VM(remote_cid)) { in vmci_ctx_add_notification()
611 context_id, remote_cid); in vmci_ctx_add_notification()
628 notifier->handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_add_notification()
665 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid) in vmci_ctx_remove_notification() argument
675 handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_remove_notification()
Dvmci_host.c680 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); in vmci_host_do_ctx_add_notify()
704 ar_info.remote_cid); in vmci_host_do_ctx_remove_notify()
/linux-6.12.1/net/vmw_vsock/
Dvsock_loopback.c49 static bool vsock_loopback_seqpacket_allow(u32 remote_cid);
109 static bool vsock_loopback_seqpacket_allow(u32 remote_cid) in vsock_loopback_seqpacket_allow() argument
Daf_vsock.c403 static bool vsock_use_local_transport(unsigned int remote_cid) in vsock_use_local_transport() argument
408 if (remote_cid == VMADDR_CID_LOCAL) in vsock_use_local_transport()
412 return remote_cid == transport_g2h->get_local_cid(); in vsock_use_local_transport()
414 return remote_cid == VMADDR_CID_HOST; in vsock_use_local_transport()
444 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport() local
468 if (vsock_use_local_transport(remote_cid)) in vsock_assign_transport()
470 else if (remote_cid <= VMADDR_CID_HOST || !transport_h2g || in vsock_assign_transport()
502 !new_transport->seqpacket_allow(remote_cid)) { in vsock_assign_transport()
Dvirtio_transport.c539 static bool virtio_transport_seqpacket_allow(u32 remote_cid);
596 static bool virtio_transport_seqpacket_allow(u32 remote_cid) in virtio_transport_seqpacket_allow() argument
Dvirtio_transport_common.c345 if (!info->remote_cid) { in virtio_transport_send_pkt_info()
349 dst_cid = info->remote_cid; in virtio_transport_send_pkt_info()
1462 .remote_cid = le64_to_cpu(hdr->src_cid), in virtio_transport_send_response()
/linux-6.12.1/drivers/vhost/
Dvsock.c406 static bool vhost_transport_seqpacket_allow(u32 remote_cid);
462 static bool vhost_transport_seqpacket_allow(u32 remote_cid) in vhost_transport_seqpacket_allow() argument
468 vsock = vhost_vsock_get(remote_cid); in vhost_transport_seqpacket_allow()
/linux-6.12.1/include/net/
Daf_vsock.h146 bool (*seqpacket_allow)(u32 remote_cid);
/linux-6.12.1/include/linux/
Dvirtio_vsock.h148 u32 remote_cid, remote_port; member