Home
last modified time | relevance | path

Searched refs:cap_mask_mutex (Results 1 – 5 of 5) 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()