Home
last modified time | relevance | path

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

/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.c196 if (mutex_lock_interruptible(&to_mdev(ibdev)->cap_mask_mutex)) in mthca_modify_device()
200 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mthca_modify_device()
214 if (mutex_lock_interruptible(&to_mdev(ibdev)->cap_mask_mutex)) in mthca_modify_port()
231 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mthca_modify_port()
1296 mutex_init(&dev->cap_mask_mutex); in mthca_register_device()
Dmthca_dev.h321 struct mutex cap_mask_mutex; member
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h598 struct mutex cap_mask_mutex; member
Dmain.c1062 mutex_lock(&mdev->cap_mask_mutex); in mlx4_ib_modify_port()
1076 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mlx4_ib_modify_port()
2804 mutex_init(&ibdev->cap_mask_mutex); in mlx4_ib_add()
/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h959 struct mutex cap_mask_mutex; member
Dmain.c1580 mutex_lock(&dev->cap_mask_mutex); in mlx5_ib_modify_port()
1592 mutex_unlock(&dev->cap_mask_mutex); in mlx5_ib_modify_port()
6200 mutex_init(&dev->cap_mask_mutex); in mlx5_ib_stage_init_init()