/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 87 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);
|
H A D | vmci_context.c | 595 * Add remote_cid to list of contexts current contexts wants 598 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() 662 * Remove remote_cid from current context's list of contexts it is 665 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid) in vmci_ctx_remove_notification() argument 676 handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_remove_notification()
|
H A D | vmci_host.c | 678 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); in vmci_host_do_ctx_add_notify() 702 ar_info.remote_cid); in vmci_host_do_ctx_remove_notify()
|
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 87 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);
|
H A D | vmci_context.c | 595 * Add remote_cid to list of contexts current contexts wants 598 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() 662 * Remove remote_cid from current context's list of contexts it is 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()
|
H A D | vmci_host.c | 680 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()
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | device_node.h | 38 uint8_t remote_cid[HMDFS_CID_SIZE]; member 55 uint8_t remote_cid[HMDFS_CID_SIZE]; member
|
H A D | transport.c | 1039 memcpy(param.remote_cid, peer->cid, HMDFS_CID_SIZE); in hmdfs_get_connection() 1055 memcpy(param.remote_cid, peer->cid, HMDFS_CID_SIZE); in connection_notify_to_close()
|
H A D | socket_adapter.c | 155 memcpy(param.remote_cid, node->cid, in hmdfs_sendmessage()
|
H A D | connection.c | 575 memcpy(param.remote_cid, node->cid, HMDFS_CID_SIZE); in connection_handshake_notify()
|
H A D | device_node.c | 114 node = hmdfs_lookup_from_cid(sbi, cmd.remote_cid); in ctrl_cmd_off_line_handler()
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | device_node.h | 38 uint8_t remote_cid[HMDFS_CID_SIZE]; member 55 uint8_t remote_cid[HMDFS_CID_SIZE]; member
|
H A D | transport.c | 1039 memcpy(param.remote_cid, peer->cid, HMDFS_CID_SIZE); in hmdfs_get_connection() 1055 memcpy(param.remote_cid, peer->cid, HMDFS_CID_SIZE); in connection_notify_to_close()
|
H A D | socket_adapter.c | 155 memcpy(param.remote_cid, node->cid, in hmdfs_sendmessage()
|
H A D | connection.c | 575 memcpy(param.remote_cid, node->cid, HMDFS_CID_SIZE); in connection_handshake_notify()
|
/kernel/linux/linux-6.6/net/vmw_vsock/ |
H A D | vsock_loopback.c | 49 static bool vsock_loopback_seqpacket_allow(u32 remote_cid); 101 static bool vsock_loopback_seqpacket_allow(u32 remote_cid) in vsock_loopback_seqpacket_allow() argument
|
H A D | af_vsock.c | 402 static bool vsock_use_local_transport(unsigned int remote_cid) in vsock_use_local_transport() argument 407 if (remote_cid == VMADDR_CID_LOCAL) in vsock_use_local_transport() 411 return remote_cid == transport_g2h->get_local_cid(); in vsock_use_local_transport() 413 return remote_cid == VMADDR_CID_HOST; in vsock_use_local_transport() 443 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport() local 467 if (vsock_use_local_transport(remote_cid)) in vsock_assign_transport() 469 else if (remote_cid <= VMADDR_CID_HOST || !transport_h2g || in vsock_assign_transport() 501 !new_transport->seqpacket_allow(remote_cid)) { in vsock_assign_transport()
|
H A D | virtio_transport.c | 416 static bool virtio_transport_seqpacket_allow(u32 remote_cid); 468 static bool virtio_transport_seqpacket_allow(u32 remote_cid) in virtio_transport_seqpacket_allow() argument
|
H A D | virtio_transport_common.c | 217 if (!info->remote_cid) { in virtio_transport_send_pkt_info() 221 dst_cid = info->remote_cid; in virtio_transport_send_pkt_info() 1261 .remote_cid = le64_to_cpu(hdr->src_cid), in virtio_transport_send_response()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | virtio_vsock.h | 55 u32 remote_cid, remote_port; member
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
H A D | af_vsock.c | 396 static bool vsock_use_local_transport(unsigned int remote_cid) in vsock_use_local_transport() argument 401 if (remote_cid == VMADDR_CID_LOCAL) in vsock_use_local_transport() 405 return remote_cid == transport_g2h->get_local_cid(); in vsock_use_local_transport() 407 return remote_cid == VMADDR_CID_HOST; in vsock_use_local_transport() 436 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport() local 444 if (vsock_use_local_transport(remote_cid)) in vsock_assign_transport() 446 else if (remote_cid <= VMADDR_CID_HOST || !transport_h2g) in vsock_assign_transport()
|
H A D | virtio_transport_common.c | 188 if (!info->remote_cid) { in virtio_transport_send_pkt_info() 192 dst_cid = info->remote_cid; in virtio_transport_send_pkt_info() 1011 .remote_cid = le64_to_cpu(pkt->hdr.src_cid), in virtio_transport_send_response()
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vsock.c | 397 static bool vhost_transport_seqpacket_allow(u32 remote_cid); 449 static bool vhost_transport_seqpacket_allow(u32 remote_cid) in vhost_transport_seqpacket_allow() argument 455 vsock = vhost_vsock_get(remote_cid); in vhost_transport_seqpacket_allow()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | virtio_vsock.h | 146 u32 remote_cid, remote_port; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | af_vsock.h | 146 bool (*seqpacket_allow)(u32 remote_cid);
|