Lines Matching refs:qp_guest_endpoints
231 static struct qp_list qp_guest_endpoints = { variable
232 .head = LIST_HEAD_INIT(qp_guest_endpoints.head),
233 .mutex = __MUTEX_INITIALIZER(qp_guest_endpoints.mutex),
827 struct qp_entry *qp = qp_list_find(&qp_guest_endpoints, handle); in qp_guest_handle_to_entry()
916 qp_list_find(&qp_guest_endpoints, entry->qp.handle)) { in qp_guest_endpoint_create()
1029 mutex_lock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1033 mutex_unlock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1062 mutex_unlock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1074 qp_list_remove_entry(&qp_guest_endpoints, &entry->qp); in qp_detatch_guest_work()
1080 mutex_unlock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1114 mutex_lock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
1224 qp_list_add_entry(&qp_guest_endpoints, &queue_pair_entry->qp); in qp_alloc_guest_work()
1243 mutex_unlock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
1248 mutex_unlock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
1260 mutex_unlock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
2402 mutex_lock(&qp_guest_endpoints.mutex); in vmci_qp_guest_endpoints_exit()
2404 while ((entry = qp_list_get_head(&qp_guest_endpoints))) { in vmci_qp_guest_endpoints_exit()
2413 qp_list_remove_entry(&qp_guest_endpoints, entry); in vmci_qp_guest_endpoints_exit()
2418 mutex_unlock(&qp_guest_endpoints.mutex); in vmci_qp_guest_endpoints_exit()