Lines Matching refs:vmci_queue
147 struct vmci_queue *produce_q;
148 struct vmci_queue *consume_q;
203 struct vmci_queue *produce_q;
204 struct vmci_queue *consume_q;
250 struct vmci_queue *queue = q; in qp_free_queue()
274 struct vmci_queue *queue; in qp_alloc_queue()
331 static int qp_memcpy_to_queue_iter(struct vmci_queue *queue, in qp_memcpy_to_queue_iter()
380 const struct vmci_queue *queue, in qp_memcpy_from_queue_iter()
434 struct vmci_queue *produce_q = prod_q; in qp_alloc_ppn_set()
435 struct vmci_queue *consume_q = cons_q; in qp_alloc_ppn_set()
526 static struct vmci_queue *qp_host_alloc_queue(u64 size) in qp_host_alloc_queue()
528 struct vmci_queue *queue; in qp_host_alloc_queue()
566 static void qp_host_free_queue(struct vmci_queue *queue, u64 queue_size) in qp_host_free_queue()
578 static void qp_init_queue_mutex(struct vmci_queue *produce_q, in qp_init_queue_mutex()
579 struct vmci_queue *consume_q) in qp_init_queue_mutex()
596 static void qp_cleanup_queue_mutex(struct vmci_queue *produce_q, in qp_cleanup_queue_mutex()
597 struct vmci_queue *consume_q) in qp_cleanup_queue_mutex()
610 static void qp_acquire_queue_mutex(struct vmci_queue *queue) in qp_acquire_queue_mutex()
621 static void qp_release_queue_mutex(struct vmci_queue *queue) in qp_release_queue_mutex()
652 struct vmci_queue *produce_q, in qp_host_get_user_memory()
653 struct vmci_queue *consume_q) in qp_host_get_user_memory()
697 struct vmci_queue *produce_q, in qp_host_register_user_memory()
698 struct vmci_queue *consume_q) in qp_host_register_user_memory()
720 static void qp_host_unregister_user_memory(struct vmci_queue *produce_q, in qp_host_unregister_user_memory()
721 struct vmci_queue *consume_q) in qp_host_unregister_user_memory()
743 static int qp_host_map_queues(struct vmci_queue *produce_q, in qp_host_map_queues()
744 struct vmci_queue *consume_q) in qp_host_map_queues()
784 struct vmci_queue *produce_q, in qp_host_unmap_queues()
785 struct vmci_queue *consume_q) in qp_host_unmap_queues()
1094 struct vmci_queue **produce_q, in qp_alloc_guest_work()
1096 struct vmci_queue **consume_q, in qp_alloc_guest_work()
1221 qp_init_queue_mutex((struct vmci_queue *)my_produce_q, in qp_alloc_guest_work()
1222 (struct vmci_queue *)my_consume_q); in qp_alloc_guest_work()
1229 *produce_q = (struct vmci_queue *)my_produce_q; in qp_alloc_guest_work()
1230 *consume_q = (struct vmci_queue *)my_consume_q; in qp_alloc_guest_work()
1771 struct vmci_queue **produce_q, in qp_alloc_host_work()
1773 struct vmci_queue **consume_q, in qp_alloc_host_work()
1830 struct vmci_queue **produce_q, in vmci_qp_alloc()
1832 struct vmci_queue **consume_q, in vmci_qp_alloc()
2447 static int qp_map_queue_headers(struct vmci_queue *produce_q, in qp_map_queue_headers()
2448 struct vmci_queue *consume_q) in qp_map_queue_headers()
2540 static ssize_t qp_enqueue_locked(struct vmci_queue *produce_q, in qp_enqueue_locked()
2541 struct vmci_queue *consume_q, in qp_enqueue_locked()
2606 static ssize_t qp_dequeue_locked(struct vmci_queue *produce_q, in qp_dequeue_locked()
2607 struct vmci_queue *consume_q, in qp_dequeue_locked()