Lines Matching refs:context_id

925 	u32 context_id = vmci_get_context_id();
928 ev.msg.hdr.dst = vmci_make_handle(context_id, VMCI_EVENT_HANDLER);
934 ev.payload.peer_id = context_id;
963 u32 context_id = vmci_get_context_id();
965 handle = vmci_make_handle(context_id, VMCI_INVALID_ID);
1259 u32 context_id = vmci_get_context_id();
1270 if (queue_pair_entry->qp.handle.context != context_id ||
1272 queue_pair_entry->qp.peer != context_id)) {
1362 const u32 context_id = vmci_ctx_get_id(context);
1376 if (handle.context != context_id && handle.context != peer)
1379 if (VMCI_CONTEXT_IS_VM(context_id) && VMCI_CONTEXT_IS_VM(peer))
1386 if (is_local && peer != VMCI_INVALID_ID && context_id != peer)
1415 entry->create_id = context_id;
1590 const u32 context_id = vmci_ctx_get_id(context);
1600 context_id != entry->create_id) {
1603 } else if (context_id == entry->create_id ||
1604 context_id == entry->attach_id) {
1608 if (VMCI_CONTEXT_IS_VM(context_id) &&
1632 if (entry->qp.peer != VMCI_INVALID_ID && entry->qp.peer != context_id)
1644 } else if (context_id == VMCI_HOST_CONTEXT_ID) {
1664 if (context_id != VMCI_HOST_CONTEXT_ID) {
1680 if (context_id != VMCI_HOST_CONTEXT_ID) {
1731 qp_notify_peer(true, entry->qp.handle, context_id,
1739 entry->attach_id = context_id;
1776 const u32 context_id = vmci_ctx_get_id(context);
1785 !context || context_id == VMCI_INVALID_ID ||
1802 context_id, handle.context, handle.resource);
1827 *swap = (context_id == VMCI_HOST_CONTEXT_ID) &&
2034 const u32 context_id = vmci_ctx_get_id(context);
2037 context_id == VMCI_INVALID_ID)
2052 context_id, handle.context, handle.resource);
2069 if (entry->create_id != context_id &&
2071 entry->attach_id != context_id)) {
2103 qp_notify_peer(true, handle, context_id, entry->create_id);
2149 const u32 context_id = vmci_ctx_get_id(context);
2155 context_id == VMCI_INVALID_ID) {
2163 context_id, handle.context, handle.resource);
2171 context_id, handle.context, handle.resource);
2176 if (context_id != entry->create_id && context_id != entry->attach_id) {
2181 if (context_id == entry->create_id) {
2192 if (context_id != VMCI_HOST_CONTEXT_ID) {
2258 qp_notify_peer(false, handle, context_id, peer_id);
2259 if (context_id == VMCI_HOST_CONTEXT_ID &&
2287 const u32 context_id = vmci_ctx_get_id(context);
2292 context_id == VMCI_INVALID_ID)
2299 context_id, handle.context, handle.resource);
2307 context_id, handle.context, handle.resource);
2312 if (context_id != entry->create_id && context_id != entry->attach_id) {
2320 if (context_id != VMCI_HOST_CONTEXT_ID) {
2398 const u32 context_id = vmci_ctx_get_id(context);
2403 context_id == VMCI_INVALID_ID)
2410 context_id, handle.context, handle.resource);
2418 context_id, handle.context, handle.resource);
2423 if (context_id != entry->create_id && context_id != entry->attach_id) {
2430 if (context_id != VMCI_HOST_CONTEXT_ID) {