Home
last modified time | relevance | path

Searched refs:vmci_handle (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_handle_array.h20 struct vmci_handle entries[];
30 sizeof(struct vmci_handle))
35 struct vmci_handle handle);
36 struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array,
37 struct vmci_handle
39 struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array);
40 struct vmci_handle
43 struct vmci_handle entry_handle);
44 struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array);
Dvmci_queue_pair.h30 struct vmci_handle handle;
43 struct vmci_handle handle;
79 struct vmci_handle handle;
92 struct vmci_handle handle;
142 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer,
147 int vmci_qp_broker_set_page_store(struct vmci_handle handle,
150 int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context);
154 int vmci_qp_alloc(struct vmci_handle *handle,
160 int vmci_qp_broker_map(struct vmci_handle handle,
162 int vmci_qp_broker_unmap(struct vmci_handle handle,
Dvmci_handle_array.c14 capacity * sizeof(struct vmci_handle); in handle_arr_calc_size()
45 struct vmci_handle handle) in vmci_handle_arr_append_entry()
77 struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array, in vmci_handle_arr_remove_entry()
78 struct vmci_handle entry_handle) in vmci_handle_arr_remove_entry()
80 struct vmci_handle handle = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_entry()
99 struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array) in vmci_handle_arr_remove_tail()
101 struct vmci_handle handle = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_tail()
115 struct vmci_handle
125 struct vmci_handle entry_handle) in vmci_handle_arr_has_entry()
140 struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array) in vmci_handle_arr_get_handles()
Dvmci_context.h37 struct vmci_handle handle;
147 int vmci_ctx_qp_create(struct vmci_ctx *context, struct vmci_handle handle);
148 int vmci_ctx_qp_destroy(struct vmci_ctx *context, struct vmci_handle handle);
149 bool vmci_ctx_qp_exists(struct vmci_ctx *context, struct vmci_handle handle);
154 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle);
155 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle);
157 int vmci_ctx_notify_dbell(u32 cid, struct vmci_handle handle,
Dvmci_doorbell.h21 struct vmci_handle handle;
33 struct vmci_handle handle;
37 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle);
38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
Dvmci_resource.h28 struct vmci_handle handle;
38 struct vmci_handle handle);
43 vmci_resource_by_handle(struct vmci_handle resource_handle,
49 struct vmci_handle vmci_resource_handle(struct vmci_resource *resource);
Dvmci_resource.c30 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash()
38 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup()
81 struct vmci_handle handle; in vmci_resource_find_id()
101 struct vmci_handle handle) in vmci_resource_add()
139 struct vmci_handle handle = resource->handle; in vmci_resource_remove()
161 vmci_resource_by_handle(struct vmci_handle resource_handle, in vmci_resource_by_handle()
218 struct vmci_handle vmci_resource_handle(struct vmci_resource *resource) in vmci_resource_handle()
Dvmci_doorbell.c85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags()
229 static int dbell_link(struct vmci_handle handle, u32 notify_idx) in dbell_link()
247 static int dbell_unlink(struct vmci_handle handle) in dbell_unlink()
264 static int dbell_notify_as_guest(struct vmci_handle handle, u32 priv_flags) in dbell_notify_as_guest()
292 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle) in vmci_dbell_host_context_notify()
409 int vmci_doorbell_create(struct vmci_handle *handle, in vmci_doorbell_create()
415 struct vmci_handle new_handle; in vmci_doorbell_create()
513 int vmci_doorbell_destroy(struct vmci_handle handle) in vmci_doorbell_destroy()
579 int vmci_doorbell_notify(struct vmci_handle dst, u32 priv_flags) in vmci_doorbell_notify()
583 struct vmci_handle src; in vmci_doorbell_notify()
Dvmci_context.c206 struct vmci_handle context_handle = in ctx_fire_notification()
300 struct vmci_handle dg_src; in vmci_ctx_enqueue_datagram()
428 struct vmci_handle temp_handle; in ctx_free_ctx()
669 struct vmci_handle handle; in vmci_ctx_remove_notification()
901 struct vmci_handle handle; in vmci_ctx_rcv_notifications_release()
941 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle) in vmci_ctx_dbell_create()
970 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle) in vmci_ctx_dbell_destroy()
973 struct vmci_handle removed_handle; in vmci_ctx_dbell_destroy()
1001 struct vmci_handle handle; in vmci_ctx_dbell_destroy_all()
1037 struct vmci_handle handle, in vmci_ctx_notify_dbell()
[all …]
Dvmci_route.h19 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
Dvmci_datagram.c54 void *client_data, struct vmci_handle *out_handle) in dg_create_handle()
58 struct vmci_handle handle; in dg_create_handle()
106 struct vmci_handle handle, in vmci_datagram_get_priv_flags()
408 struct vmci_handle *out_handle) in vmci_datagram_create_handle_priv()
442 struct vmci_handle *out_handle) in vmci_datagram_create_handle()
459 int vmci_datagram_destroy_handle(struct vmci_handle handle) in vmci_datagram_destroy_handle()
Dvmci_queue_pair.c146 struct vmci_handle handle;
186 struct vmci_handle handle;
805 struct vmci_handle handle) in qp_list_find()
824 qp_guest_handle_to_entry(struct vmci_handle handle) in qp_guest_handle_to_entry()
838 qp_broker_handle_to_entry(struct vmci_handle handle) in qp_broker_handle_to_entry()
852 static int qp_notify_peer_local(bool attach, struct vmci_handle handle) in qp_notify_peer_local()
878 qp_guest_endpoint_create(struct vmci_handle handle, in qp_guest_endpoint_create()
987 static int qp_detatch_hypercall(struct vmci_handle handle) in qp_detatch_hypercall()
1023 static int qp_detatch_guest_work(struct vmci_handle handle) in qp_detatch_guest_work()
1093 static int qp_alloc_guest_work(struct vmci_handle *handle, in qp_alloc_guest_work()
[all …]
Dvmci_route.c20 int vmci_route(struct vmci_handle *src, in vmci_route()
21 const struct vmci_handle *dst, in vmci_route()
Dvmci_host.c61 struct vmci_handle handle;
200 struct vmci_handle *handles; in drv_cp_harray_to_user()
444 struct vmci_handle handle; in vmci_host_do_alloc_queuepair()
/linux-6.1.9/include/linux/
Dvmw_vmci_defs.h193 struct vmci_handle { struct
199 (struct vmci_handle){ .context = _cid, .resource = _rid } argument
201 static inline bool vmci_handle_is_equal(struct vmci_handle h1, in vmci_handle_is_equal()
202 struct vmci_handle h2) in vmci_handle_is_equal()
208 static const struct vmci_handle VMCI_INVALID_HANDLE = {
213 static inline bool vmci_handle_is_invalid(struct vmci_handle h) in vmci_handle_is_invalid()
224 static const struct vmci_handle __maybe_unused VMCI_ANON_SRC_HANDLE = {
503 struct vmci_handle handle; /* Identifier. */
519 struct vmci_handle dst;
520 struct vmci_handle src;
[all …]
Dvmw_vmci_api.h27 struct vmci_handle *out_handle);
31 struct vmci_handle *out_handle);
32 int vmci_datagram_destroy_handle(struct vmci_handle handle);
34 int vmci_doorbell_create(struct vmci_handle *handle, u32 flags,
37 int vmci_doorbell_destroy(struct vmci_handle handle);
38 int vmci_doorbell_notify(struct vmci_handle handle, u32 priv_flags);
49 struct vmci_handle *handle,
/linux-6.1.9/net/vmw_vsock/
Dvmci_transport.h71 struct vmci_handle handle;
105 struct vmci_handle dg_handle;
107 struct vmci_handle qp_handle;
Dvmci_transport.c72 static struct vmci_handle vmci_transport_stream_handle = { VMCI_INVALID_ID,
120 struct vmci_handle handle) in vmci_transport_packet_init()
193 struct vmci_handle handle, in __vmci_transport_send_control_pkt()
213 struct vmci_handle handle) in vmci_transport_reply_control_pkt_fast()
237 struct vmci_handle handle) in vmci_transport_send_control_pkt_bh()
260 struct vmci_handle handle) in vmci_transport_alloc_send_control_pkt()
284 struct vmci_handle handle) in vmci_transport_send_control_pkt()
363 struct vmci_handle handle) in vmci_transport_send_qp_offer()
372 struct vmci_handle handle) in vmci_transport_send_attach()
548 struct vmci_handle *handle, in vmci_transport_queue_pair_alloc()
[all …]
/linux-6.1.9/drivers/misc/
Dvmw_balloon.c366 struct vmci_handle vmci_doorbell;