Searched refs:cap_mask_mutex (Results 1 – 5 of 5) sorted by relevance
157 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()
178 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()
320 struct mutex cap_mask_mutex; member
626 struct mutex cap_mask_mutex; member
1075 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()