Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mthca/
H A 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()
H A Dmthca_provider.c178 if (mutex_lock_interruptible(&to_mdev(ibdev)->cap_mask_mutex)) in mthca_modify_device()
182 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mthca_modify_device()
196 if (mutex_lock_interruptible(&to_mdev(ibdev)->cap_mask_mutex)) in mthca_modify_port()
213 mutex_unlock(&to_mdev(ibdev)->cap_mask_mutex); in mthca_modify_port()
1164 mutex_init(&dev->cap_mask_mutex); in mthca_register_device()
H A Dmthca_dev.h320 struct mutex cap_mask_mutex; member
/linux/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h626 struct mutex cap_mask_mutex; member
H A 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()
2770 mutex_init(&ibdev->cap_mask_mutex); in mlx4_ib_probe()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c1656 mutex_lock(&dev->cap_mask_mutex); in mlx5_ib_modify_port()
1668 mutex_unlock(&dev->cap_mask_mutex); in mlx5_ib_modify_port()
4001 mutex_destroy(&dev->cap_mask_mutex); in mlx5_ib_stage_init_cleanup()
4049 mutex_init(&dev->cap_mask_mutex); in mlx5_ib_stage_init_init()
H A Dmlx5_ib.h1143 struct mutex cap_mask_mutex; member