Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c157 mutex_lock(&to_mdev(dev)->cap_mask_mutex); in node_desc_override()
160 mutex_unlock(&to_mdev(dev)->cap_mask_mutex); in node_desc_override()
Dmthca_provider.c186 if (mutex_lock_interruptible(&to_mdev(ibdev)->cap_mask_mutex)) in mthca_modify_device()
190 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mthca_modify_device()
204 if (mutex_lock_interruptible(&to_mdev(ibdev)->cap_mask_mutex)) in mthca_modify_port()
221 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mthca_modify_port()
1206 mutex_init(&dev->cap_mask_mutex); in mthca_register_device()
Dmthca_dev.h320 struct mutex cap_mask_mutex; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h625 struct mutex cap_mask_mutex; member
Dmain.c1075 mutex_lock(&mdev->cap_mask_mutex); in mlx4_ib_modify_port()
1089 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mlx4_ib_modify_port()
2798 mutex_init(&ibdev->cap_mask_mutex); in mlx4_ib_add()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmain.c1544 mutex_lock(&dev->cap_mask_mutex); in mlx5_ib_modify_port()
1556 mutex_unlock(&dev->cap_mask_mutex); in mlx5_ib_modify_port()
3924 mutex_destroy(&dev->cap_mask_mutex); in mlx5_ib_stage_init_cleanup()
3979 mutex_init(&dev->cap_mask_mutex); in mlx5_ib_stage_init_init()
Dmlx5_ib.h975 struct mutex cap_mask_mutex; member