Lines Matching refs:qp_guest_endpoints
239 static struct qp_list qp_guest_endpoints = { variable
240 .head = LIST_HEAD_INIT(qp_guest_endpoints.head),
241 .mutex = __MUTEX_INITIALIZER(qp_guest_endpoints.mutex),
838 struct qp_entry *qp = qp_list_find(&qp_guest_endpoints, handle); in qp_guest_handle_to_entry()
927 qp_list_find(&qp_guest_endpoints, entry->qp.handle)) { in qp_guest_endpoint_create()
1038 mutex_lock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1042 mutex_unlock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1071 mutex_unlock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1083 qp_list_remove_entry(&qp_guest_endpoints, &entry->qp); in qp_detatch_guest_work()
1089 mutex_unlock(&qp_guest_endpoints.mutex); in qp_detatch_guest_work()
1123 mutex_lock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
1233 qp_list_add_entry(&qp_guest_endpoints, &queue_pair_entry->qp); in qp_alloc_guest_work()
1252 mutex_unlock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
1257 mutex_unlock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
1269 mutex_unlock(&qp_guest_endpoints.mutex); in qp_alloc_guest_work()
2408 mutex_lock(&qp_guest_endpoints.mutex); in vmci_qp_guest_endpoints_exit()
2410 while ((entry = qp_list_get_head(&qp_guest_endpoints))) { in vmci_qp_guest_endpoints_exit()
2419 qp_list_remove_entry(&qp_guest_endpoints, entry); in vmci_qp_guest_endpoints_exit()
2424 mutex_unlock(&qp_guest_endpoints.mutex); in vmci_qp_guest_endpoints_exit()