Home
last modified time | relevance | path

Searched refs:VMCI_INVALID_ID (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/misc/vmw_vmci/
H A Dvmci_route.c42 if (VMCI_INVALID_ID == dst->context) in vmci_route()
75 if (VMCI_INVALID_ID == src->context && in vmci_route()
76 VMCI_INVALID_ID != src->resource) in vmci_route()
113 if (VMCI_INVALID_ID == src->context) in vmci_route()
130 if (VMCI_INVALID_ID == src->context) { in vmci_route()
154 if (VMCI_INVALID_ID == src->context) { in vmci_route()
209 if (VMCI_INVALID_ID == src->context) in vmci_route()
H A Dvmci_resource.c52 (cid == handle.context || cid == VMCI_INVALID_ID || in vmci_resource_lookup()
53 handle.context == VMCI_INVALID_ID)) { in vmci_resource_lookup()
85 if (unlikely(resource_id == VMCI_INVALID_ID)) { in vmci_resource_find_id()
95 return VMCI_INVALID_ID; in vmci_resource_find_id()
109 if (handle.resource == VMCI_INVALID_ID) { in vmci_resource_add()
112 if (handle.resource == VMCI_INVALID_ID) { in vmci_resource_add()
H A Dvmci_datagram.c65 context_id = VMCI_INVALID_ID; in dg_create_handle()
68 if (context_id == VMCI_INVALID_ID) in dg_create_handle()
109 if (context_id == VMCI_INVALID_ID) in vmci_datagram_get_priv_flags()
338 if (VMCI_INVALID_ID == context_id) in vmci_datagram_dispatch()
494 return vmci_datagram_dispatch(VMCI_INVALID_ID, msg, false); in vmci_datagram_send()
H A Dvmci_doorbell.c87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags()
431 if (context_id == VMCI_INVALID_ID) { in vmci_doorbell_create()
438 new_handle = vmci_make_handle(context_id, VMCI_INVALID_ID); in vmci_doorbell_create()
455 if (!valid_context || handle->resource == VMCI_INVALID_ID) { in vmci_doorbell_create()
H A Dvmci_queue_pair.c895 handle = vmci_make_handle(context_id, VMCI_INVALID_ID); in qp_guest_endpoint_create()
1203 (queue_pair_entry->qp.peer != VMCI_INVALID_ID && in qp_alloc_guest_work()
1318 if (is_local && peer != VMCI_INVALID_ID && context_id != peer) in qp_broker_create()
1348 entry->attach_id = VMCI_INVALID_ID; in qp_broker_create()
1459 if (vmci_handle_is_invalid(handle) || my_id == VMCI_INVALID_ID || in qp_notify_peer()
1460 peer_id == VMCI_INVALID_ID) in qp_notify_peer()
1565 if (entry->qp.peer != VMCI_INVALID_ID && entry->qp.peer != context_id) in qp_broker_attach()
1718 !context || context_id == VMCI_INVALID_ID || in qp_broker_alloc()
1719 handle.context == VMCI_INVALID_ID) { in qp_broker_alloc()
1740 if (handle.resource != VMCI_INVALID_ID) in qp_broker_alloc()
[all …]
H A Dvmci_context.c88 if (cid == VMCI_INVALID_ID) { in vmci_ctx_create()
165 if (cid == VMCI_INVALID_ID) in vmci_ctx_create()
395 if (cid == VMCI_INVALID_ID) in vmci_ctx_get()
946 if (context_id == VMCI_INVALID_ID || vmci_handle_is_invalid(handle)) in vmci_ctx_dbell_create()
975 if (context_id == VMCI_INVALID_ID || vmci_handle_is_invalid(handle)) in vmci_ctx_dbell_destroy()
1003 if (context_id == VMCI_INVALID_ID) in vmci_ctx_dbell_destroy_all()
H A Dvmci_driver.c48 return VMCI_INVALID_ID; in vmci_get_context_id()
H A Dvmci_context.h170 return VMCI_INVALID_ID; in vmci_ctx_get_id()
/linux/include/linux/
H A Dvmw_vmci_defs.h207 #define VMCI_INVALID_ID ~0 macro
209 .context = VMCI_INVALID_ID,
210 .resource = VMCI_INVALID_ID
222 #define VMCI_ANON_SRC_CONTEXT_ID VMCI_INVALID_ID
223 #define VMCI_ANON_SRC_RESOURCE_ID VMCI_INVALID_ID
249 #define VMCI_CONTEXT_IS_VM(_cid) (VMCI_INVALID_ID != (_cid) && \
/linux/net/vmw_vsock/
H A Dvmci_transport.c72 static struct vmci_handle vmci_transport_stream_handle = { VMCI_INVALID_ID,
73 VMCI_INVALID_ID };
74 static u32 vmci_transport_qp_resumed_sub_id = VMCI_INVALID_ID;
1144 detach_sub_id = VMCI_INVALID_ID; in vmci_transport_recv_connecting_server()
1316 || vmci_trans(vsk)->detach_sub_id != VMCI_INVALID_ID) { in vmci_transport_recv_connecting_client()
1392 detach_sub_id = VMCI_INVALID_ID; in vmci_transport_recv_connecting_client_negotiate()
1487 if (detach_sub_id != VMCI_INVALID_ID) in vmci_transport_recv_connecting_client_negotiate()
1586 vmci_trans(vsk)->detach_sub_id = VMCI_INVALID_ID; in vmci_transport_socket_init()
1603 if (transport->detach_sub_id != VMCI_INVALID_ID) { in vmci_transport_free_resources()
1605 transport->detach_sub_id = VMCI_INVALID_ID; in vmci_transport_free_resources()
[all …]
/linux/drivers/misc/
H A Dvmw_balloon.c1343 VMCI_INVALID_ID, VMCI_INVALID_ID); in vmballoon_vmci_cleanup()