Home
last modified time | relevance | path

Searched refs:qp_list_lock (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Dsecurity.c208 spin_lock(&pkey->qp_list_lock); in check_pkey_qps()
221 spin_unlock(&pkey->qp_list_lock); in check_pkey_qps()
282 spin_lock_init(&pkey->qp_list_lock); in port_pkey_list_insert()
290 spin_lock(&pkey->qp_list_lock); in port_pkey_list_insert()
292 spin_unlock(&pkey->qp_list_lock); in port_pkey_list_insert()
311 spin_lock(&pkey->qp_list_lock); in port_pkey_list_remove()
313 spin_unlock(&pkey->qp_list_lock); in port_pkey_list_remove()
H A Dcore_priv.h56 spinlock_t qp_list_lock; member
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c992 spin_lock_irqsave(&hr_dev->qp_list_lock, flags); in hns_roce_handle_device_err()
1008 spin_unlock_irqrestore(&hr_dev->qp_list_lock, flags); in hns_roce_handle_device_err()
1073 spin_lock_init(&hr_dev->qp_list_lock); in hns_roce_init()
H A Dhns_roce_qp.c269 spin_lock_irqsave(&hr_dev->qp_list_lock, flags); in add_qp_to_list()
279 spin_unlock_irqrestore(&hr_dev->qp_list_lock, flags); in add_qp_to_list()
H A Dhns_roce_device.h938 spinlock_t qp_list_lock; /* protect qp_list */ member
H A Dhns_roce_hw_v2.c5453 spin_lock_irqsave(&hr_dev->qp_list_lock, flags); in hns_roce_v2_destroy_qp_common()
5470 spin_unlock_irqrestore(&hr_dev->qp_list_lock, flags); in hns_roce_v2_destroy_qp_common()