Searched refs:remote_cid (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_context.h | 87 u32 remote_cid; member 139 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid); 140 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid);
|
| H A D | vmci_context.c | 578 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid) in vmci_ctx_add_notification() argument 589 if (VMCI_CONTEXT_IS_VM(context_id) && VMCI_CONTEXT_IS_VM(remote_cid)) { in vmci_ctx_add_notification() 591 context_id, remote_cid); in vmci_ctx_add_notification() 608 notifier->handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_add_notification() 645 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid) in vmci_ctx_remove_notification() argument 655 handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_remove_notification()
|
| H A D | vmci_host.c | 679 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); in vmci_host_do_ctx_add_notify() 703 ar_info.remote_cid); in vmci_host_do_ctx_remove_notify()
|
| /linux/include/net/ |
| H A D | af_vsock.h | 147 bool (*seqpacket_allow)(struct vsock_sock *vsk, u32 remote_cid); 189 bool (*has_remote_cid)(struct vsock_sock *vsk, u32 remote_cid);
|
| /linux/net/vmw_vsock/ |
| H A D | af_vsock.c | 527 static bool vsock_use_local_transport(unsigned int remote_cid) in vsock_use_local_transport() 534 if (remote_cid == VMADDR_CID_LOCAL) in vsock_deassign_transport() 538 return remote_cid == transport_g2h->get_local_cid(); in vsock_deassign_transport() 540 return remote_cid == VMADDR_CID_HOST; 574 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport() 600 if (vsock_use_local_transport(remote_cid)) in vsock_assign_transport() 602 else if (remote_cid <= VMADDR_CID_HOST || in vsock_assign_transport() 607 transport_h2g->has_remote_cid(vsk, remote_cid))) in vsock_assign_transport() 611 transport_g2h->has_remote_cid(vsk, remote_cid)) { in vsock_assign_transport() 664 !new_transport->seqpacket_allow(vsk, remote_cid)) { in vsock_assign_transport() 513 vsock_use_local_transport(unsigned int remote_cid) vsock_use_local_transport() argument 560 unsigned int remote_cid = vsk->remote_addr.svm_cid; vsock_assign_transport() local [all...] |
| H A D | virtio_transport.c | 548 u32 remote_cid); 613 virtio_transport_seqpacket_allow(struct vsock_sock *vsk, u32 remote_cid) in virtio_transport_seqpacket_allow() 606 virtio_transport_seqpacket_allow(struct vsock_sock * vsk,u32 remote_cid) virtio_transport_seqpacket_allow() argument
|
| H A D | virtio_transport_common.c | 314 if (!info->remote_cid) { in virtio_transport_send_pkt_info() 318 dst_cid = info->remote_cid; in virtio_transport_send_pkt_info() 1494 .remote_cid = le64_to_cpu(hdr->src_cid), in virtio_transport_send_response()
|