Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/misc/vmw_vmci/
Dvmci_handle_array.h28 struct vmci_handle entries[];
34 struct vmci_handle handle);
35 struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array,
36 struct vmci_handle
38 struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array);
39 struct vmci_handle
42 struct vmci_handle entry_handle);
43 struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array);
Dvmci_queue_pair.h38 struct vmci_handle handle;
51 struct vmci_handle handle;
87 struct vmci_handle handle;
100 struct vmci_handle handle;
150 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer,
155 int vmci_qp_broker_set_page_store(struct vmci_handle handle,
158 int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context);
162 int vmci_qp_alloc(struct vmci_handle *handle,
168 int vmci_qp_broker_map(struct vmci_handle handle,
170 int vmci_qp_broker_unmap(struct vmci_handle handle,
Dvmci_handle_array.c22 capacity * sizeof(struct vmci_handle); in handle_arr_calc_size()
48 struct vmci_handle handle) in vmci_handle_arr_append_entry()
73 struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array, in vmci_handle_arr_remove_entry()
74 struct vmci_handle entry_handle) in vmci_handle_arr_remove_entry()
76 struct vmci_handle handle = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_entry()
95 struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array) in vmci_handle_arr_remove_tail()
97 struct vmci_handle handle = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_tail()
111 struct vmci_handle
121 struct vmci_handle entry_handle) in vmci_handle_arr_has_entry()
136 struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array) in vmci_handle_arr_get_handles()
Dvmci_doorbell.h29 struct vmci_handle handle;
41 struct vmci_handle handle;
45 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle);
46 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
Dvmci_context.h45 struct vmci_handle handle;
155 int vmci_ctx_qp_create(struct vmci_ctx *context, struct vmci_handle handle);
156 int vmci_ctx_qp_destroy(struct vmci_ctx *context, struct vmci_handle handle);
157 bool vmci_ctx_qp_exists(struct vmci_ctx *context, struct vmci_handle handle);
162 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle);
163 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle);
165 int vmci_ctx_notify_dbell(u32 cid, struct vmci_handle handle,
Dvmci_resource.h36 struct vmci_handle handle;
46 struct vmci_handle handle);
51 vmci_resource_by_handle(struct vmci_handle resource_handle,
57 struct vmci_handle vmci_resource_handle(struct vmci_resource *resource);
Dvmci_resource.c38 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash()
46 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup()
88 struct vmci_handle handle; in vmci_resource_find_id()
108 struct vmci_handle handle) in vmci_resource_add()
146 struct vmci_handle handle = resource->handle; in vmci_resource_remove()
168 vmci_resource_by_handle(struct vmci_handle resource_handle, in vmci_resource_by_handle()
225 struct vmci_handle vmci_resource_handle(struct vmci_resource *resource) in vmci_resource_handle()
Dvmci_doorbell.c93 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags()
237 static int dbell_link(struct vmci_handle handle, u32 notify_idx) in dbell_link()
255 static int dbell_unlink(struct vmci_handle handle) in dbell_unlink()
272 static int dbell_notify_as_guest(struct vmci_handle handle, u32 priv_flags) in dbell_notify_as_guest()
300 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle) in vmci_dbell_host_context_notify()
412 int vmci_doorbell_create(struct vmci_handle *handle, in vmci_doorbell_create()
418 struct vmci_handle new_handle; in vmci_doorbell_create()
516 int vmci_doorbell_destroy(struct vmci_handle handle) in vmci_doorbell_destroy()
582 int vmci_doorbell_notify(struct vmci_handle dst, u32 priv_flags) in vmci_doorbell_notify()
586 struct vmci_handle src; in vmci_doorbell_notify()
Dvmci_route.h27 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
Dvmci_context.c208 struct vmci_handle context_handle = in ctx_fire_notification()
302 struct vmci_handle dg_src; in vmci_ctx_enqueue_datagram()
430 struct vmci_handle temp_handle; in ctx_free_ctx()
665 struct vmci_handle handle; in vmci_ctx_remove_notification()
900 struct vmci_handle handle; in vmci_ctx_rcv_notifications_release()
940 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_datagram.c62 void *client_data, struct vmci_handle *out_handle) in dg_create_handle()
66 struct vmci_handle handle; in dg_create_handle()
114 struct vmci_handle handle, in vmci_datagram_get_priv_flags()
416 struct vmci_handle *out_handle) in vmci_datagram_create_handle_priv()
450 struct vmci_handle *out_handle) in vmci_datagram_create_handle()
467 int vmci_datagram_destroy_handle(struct vmci_handle handle) in vmci_datagram_destroy_handle()
Dvmci_route.c28 int vmci_route(struct vmci_handle *src, in vmci_route()
29 const struct vmci_handle *dst, in vmci_route()
Dvmci_queue_pair.c154 struct vmci_handle handle;
194 struct vmci_handle handle;
811 struct vmci_handle handle) in qp_list_find()
830 qp_guest_handle_to_entry(struct vmci_handle handle) in qp_guest_handle_to_entry()
844 qp_broker_handle_to_entry(struct vmci_handle handle) in qp_broker_handle_to_entry()
858 static int qp_notify_peer_local(bool attach, struct vmci_handle handle) in qp_notify_peer_local()
883 qp_guest_endpoint_create(struct vmci_handle handle, in qp_guest_endpoint_create()
990 static int qp_detatch_hypercall(struct vmci_handle handle) in qp_detatch_hypercall()
1026 static int qp_detatch_guest_work(struct vmci_handle handle) in qp_detatch_guest_work()
1096 static int qp_alloc_guest_work(struct vmci_handle *handle, in qp_alloc_guest_work()
[all …]
Dvmci_host.c70 struct vmci_handle handle;
204 struct vmci_handle *handles; in drv_cp_harray_to_user()
448 struct vmci_handle handle; in vmci_host_do_alloc_queuepair()
/Linux-v4.19/include/linux/
Dvmw_vmci_defs.h128 struct vmci_handle { struct
134 (struct vmci_handle){ .context = _cid, .resource = _rid } argument
136 static inline bool vmci_handle_is_equal(struct vmci_handle h1, in vmci_handle_is_equal()
137 struct vmci_handle h2) in vmci_handle_is_equal()
143 static const struct vmci_handle VMCI_INVALID_HANDLE = {
148 static inline bool vmci_handle_is_invalid(struct vmci_handle h) in vmci_handle_is_invalid()
159 static const struct vmci_handle VMCI_ANON_SRC_HANDLE = {
438 struct vmci_handle handle; /* Identifier. */
454 struct vmci_handle dst;
455 struct vmci_handle src;
[all …]
Dvmw_vmci_api.h34 struct vmci_handle *out_handle);
38 struct vmci_handle *out_handle);
39 int vmci_datagram_destroy_handle(struct vmci_handle handle);
41 int vmci_doorbell_create(struct vmci_handle *handle, u32 flags,
44 int vmci_doorbell_destroy(struct vmci_handle handle);
45 int vmci_doorbell_notify(struct vmci_handle handle, u32 priv_flags);
55 struct vmci_handle *handle,
/Linux-v4.19/net/vmw_vsock/
Dvmci_transport.h79 struct vmci_handle handle;
113 struct vmci_handle dg_handle;
115 struct vmci_handle qp_handle;
Dvmci_transport.c79 static struct vmci_handle vmci_transport_stream_handle = { VMCI_INVALID_ID,
134 struct vmci_handle handle) in vmci_transport_packet_init()
207 struct vmci_handle handle, in __vmci_transport_send_control_pkt()
227 struct vmci_handle handle) in vmci_transport_reply_control_pkt_fast()
251 struct vmci_handle handle) in vmci_transport_send_control_pkt_bh()
273 struct vmci_handle handle) in vmci_transport_send_control_pkt()
344 struct vmci_handle handle) in vmci_transport_send_qp_offer()
353 struct vmci_handle handle) in vmci_transport_send_attach()
529 struct vmci_handle *handle, in vmci_transport_queue_pair_alloc()
567 struct vmci_handle *out_handle) in vmci_transport_datagram_create_hnd()
[all …]
/Linux-v4.19/drivers/misc/
Dvmw_balloon.c270 struct vmci_handle vmci_doorbell;