Lines Matching defs:handle
120 struct vmci_handle handle)
122 /* We register the stream control handler as an any cid handle so we
149 pkt->u.handle = handle;
193 struct vmci_handle handle,
199 proto, handle);
213 struct vmci_handle handle)
226 handle, true);
237 struct vmci_handle handle)
248 VSOCK_PROTO_INVALID, handle,
260 struct vmci_handle handle)
270 mode, wait, proto, handle,
284 struct vmci_handle handle)
299 wait, proto, handle);
363 struct vmci_handle handle)
368 VSOCK_PROTO_INVALID, handle);
372 struct vmci_handle handle)
377 handle);
548 struct vmci_handle *handle,
560 err = vmci_qpair_alloc(qpair, handle, produce_size,
569 err = vmci_qpair_alloc(qpair, handle, produce_size, consume_size,
699 /* Find the socket that should handle this packet. First we look for a
857 if (vmci_handle_is_invalid(e_payload->handle) ||
858 !vmci_handle_is_equal(trans->qp_handle, e_payload->handle))
1137 struct vmci_handle handle;
1150 if (vmci_handle_is_invalid(pkt->u.handle)) {
1189 handle = pkt->u.handle;
1201 &handle,
1215 vmci_trans(vpending)->qp_handle = handle;
1218 /* When we send the attach message, we must be ready to handle incoming
1239 err = vmci_transport_send_attach(pending, handle);
1266 /* As long as we drop our reference, all necessary cleanup will handle
1290 if (vmci_handle_is_invalid(pkt->u.handle) ||
1291 !vmci_handle_is_equal(pkt->u.handle,
1383 struct vmci_handle handle;
1393 handle = VMCI_INVALID_HANDLE;
1442 * subscribe once and add a way to lookup sockets by queue pair handle.
1452 /* Make VMCI select the handle for us. */
1453 handle = VMCI_INVALID_HANDLE;
1458 &handle,
1470 err = vmci_transport_send_qp_offer(sk, handle);
1476 vmci_trans(vsk)->qp_handle = handle;
1492 if (!vmci_handle_is_invalid(handle))
2080 /* Create the datagram handle that we will use to send and receive all
2089 pr_err("Unable to create datagram handle. (%d)\n", err);
2133 pr_err("Couldn't destroy datagram handle\n");