Home
last modified time | relevance | path

Searched refs:bank_mutex (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_cq.c65 mutex_lock(&cq_table->bank_mutex); in alloc_cqn()
71 mutex_unlock(&cq_table->bank_mutex); in alloc_cqn()
78 mutex_unlock(&cq_table->bank_mutex); in alloc_cqn()
98 mutex_lock(&cq_table->bank_mutex); in free_cqn()
100 mutex_unlock(&cq_table->bank_mutex); in free_cqn()
512 mutex_init(&cq_table->bank_mutex); in hns_roce_init_cq_table()
H A Dhns_roce_qp.c238 mutex_lock(&qp_table->bank_mutex); in alloc_qpn()
246 mutex_unlock(&qp_table->bank_mutex); in alloc_qpn()
251 mutex_unlock(&qp_table->bank_mutex); in alloc_qpn()
415 mutex_lock(&hr_dev->qp_table.bank_mutex); in free_qpn()
417 mutex_unlock(&hr_dev->qp_table.bank_mutex); in free_qpn()
1474 mutex_init(&qp_table->bank_mutex); in hns_roce_init_qp_table()
H A Dhns_roce_device.h489 struct mutex bank_mutex; member
497 struct mutex bank_mutex; member