Home
last modified time | relevance | path

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

/linux-4.1.27/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.c37 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash()
45 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup()
87 struct vmci_handle handle; in vmci_resource_find_id()
107 struct vmci_handle handle) in vmci_resource_add()
145 struct vmci_handle handle = resource->handle; in vmci_resource_remove()
167 vmci_resource_by_handle(struct vmci_handle resource_handle, in vmci_resource_by_handle()
224 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()
510 int vmci_doorbell_destroy(struct vmci_handle handle) in vmci_doorbell_destroy()
576 int vmci_doorbell_notify(struct vmci_handle dst, u32 priv_flags) in vmci_doorbell_notify()
580 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.c207 struct vmci_handle context_handle = in ctx_fire_notification()
301 struct vmci_handle dg_src; in vmci_ctx_enqueue_datagram()
429 struct vmci_handle temp_handle; in ctx_free_ctx()
664 struct vmci_handle handle; in vmci_ctx_remove_notification()
899 struct vmci_handle handle; in vmci_ctx_rcv_notifications_release()
939 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle) in vmci_ctx_dbell_create()
969 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle) in vmci_ctx_dbell_destroy()
972 struct vmci_handle removed_handle; in vmci_ctx_dbell_destroy()
1000 struct vmci_handle handle; in vmci_ctx_dbell_destroy_all()
1036 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()
417 struct vmci_handle *out_handle) in vmci_datagram_create_handle_priv()
451 struct vmci_handle *out_handle) in vmci_datagram_create_handle()
468 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.c171 struct vmci_handle handle;
211 struct vmci_handle handle;
892 struct vmci_handle handle) in qp_list_find()
911 qp_guest_handle_to_entry(struct vmci_handle handle) in qp_guest_handle_to_entry()
925 qp_broker_handle_to_entry(struct vmci_handle handle) in qp_broker_handle_to_entry()
939 static int qp_notify_peer_local(bool attach, struct vmci_handle handle) in qp_notify_peer_local()
964 qp_guest_endpoint_create(struct vmci_handle handle, in qp_guest_endpoint_create()
1071 static int qp_detatch_hypercall(struct vmci_handle handle) in qp_detatch_hypercall()
1107 static int qp_detatch_guest_work(struct vmci_handle handle) in qp_detatch_guest_work()
1177 static int qp_alloc_guest_work(struct vmci_handle *handle, in qp_alloc_guest_work()
[all …]
Dvmci_host.c69 struct vmci_handle handle;
203 struct vmci_handle *handles; in drv_cp_harray_to_user()
453 struct vmci_handle handle; in vmci_host_do_alloc_queuepair()
/linux-4.1.27/include/linux/
Dvmw_vmci_defs.h135 struct vmci_handle { struct
141 (struct vmci_handle){ .context = _cid, .resource = _rid } argument
143 static inline bool vmci_handle_is_equal(struct vmci_handle h1, in vmci_handle_is_equal()
144 struct vmci_handle h2) in vmci_handle_is_equal()
150 static const struct vmci_handle VMCI_INVALID_HANDLE = {
155 static inline bool vmci_handle_is_invalid(struct vmci_handle h) in vmci_handle_is_invalid()
166 static const struct vmci_handle VMCI_ANON_SRC_HANDLE = {
445 struct vmci_handle handle; /* Identifier. */
461 struct vmci_handle dst;
462 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-4.1.27/net/vmw_vsock/
Dvmci_transport.h79 struct vmci_handle handle;
113 struct vmci_handle dg_handle;
115 struct vmci_handle qp_handle;
Dvmci_transport.c78 static struct vmci_handle vmci_transport_stream_handle = { VMCI_INVALID_ID,
143 struct vmci_handle handle) in vmci_transport_packet_init()
216 struct vmci_handle handle, in __vmci_transport_send_control_pkt()
236 struct vmci_handle handle) in vmci_transport_reply_control_pkt_fast()
260 struct vmci_handle handle) in vmci_transport_send_control_pkt_bh()
282 struct vmci_handle handle) in vmci_transport_send_control_pkt()
353 struct vmci_handle handle) in vmci_transport_send_qp_offer()
362 struct vmci_handle handle) in vmci_transport_send_attach()
538 struct vmci_handle *handle, in vmci_transport_queue_pair_alloc()
576 struct vmci_handle *out_handle) in vmci_transport_datagram_create_hnd()
[all …]