Home
last modified time | relevance | path

Searched refs:usdev_lock (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c183 BUG_ON(!mutex_is_locked(&us_ibdev->usdev_lock)); in find_free_vf_and_create_qp_grp()
290 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_query_device()
330 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_query_device()
351 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_query_port()
380 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_query_port()
400 mutex_lock(&vf->pf->usdev_lock); in usnic_ib_query_qp()
415 mutex_unlock(&vf->pf->usdev_lock); in usnic_ib_query_qp()
419 mutex_unlock(&vf->pf->usdev_lock); in usnic_ib_query_qp()
433 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_query_gid()
437 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_query_gid()
[all …]
H A Dusnic_ib_main.c111 BUG_ON(!mutex_is_locked(&us_ibdev->usdev_lock)); in usnic_ib_qp_grp_modify_active_to_err()
143 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_handle_usdev_event()
218 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_handle_usdev_event()
251 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_handle_inet_event()
279 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_handle_inet_event()
329 mutex_lock(&us_ibdev->usdev_lock); in usnic_get_dev_fw_str()
331 mutex_unlock(&us_ibdev->usdev_lock); in usnic_get_dev_fw_str()
392 mutex_init(&us_ibdev->usdev_lock); in usnic_ib_device_add()
581 mutex_lock(&pf->usdev_lock); in usnic_ib_pci_probe()
594 mutex_unlock(&pf->usdev_lock); in usnic_ib_pci_probe()
[all …]
H A Dusnic_ib_sysfs.c55 mutex_lock(&us_ibdev->usdev_lock); in board_id_show()
57 mutex_unlock(&us_ibdev->usdev_lock); in board_id_show()
74 mutex_lock(&us_ibdev->usdev_lock); in config_show()
112 mutex_unlock(&us_ibdev->usdev_lock); in config_show()
H A Dusnic_ib.h81 struct mutex usdev_lock; member
/linux/drivers/infiniband/sw/rxe/
H A Drxe.c37 mutex_destroy(&rxe->usdev_lock); in rxe_dealloc()
150 mutex_init(&rxe->usdev_lock); in rxe_init()
H A Drxe_verbs.h378 struct mutex usdev_lock; member
H A Drxe_verbs.c54 mutex_lock(&rxe->usdev_lock); in rxe_query_port()
65 mutex_unlock(&rxe->usdev_lock); in rxe_query_port()