Home
last modified time | relevance | path

Searched refs:sm_lock (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c96 spin_lock_irqsave(&dev->sm_lock, flags); in update_sm_ah()
100 spin_unlock_irqrestore(&dev->sm_lock, flags); in update_sm_ah()
186 spin_lock_irqsave(&dev->sm_lock, flags); in forward_trap()
192 spin_unlock_irqrestore(&dev->sm_lock, flags); in forward_trap()
289 spin_lock_init(&dev->sm_lock); in mthca_create_agents()
Dmthca_dev.h357 spinlock_t sm_lock; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_main.c299 spin_lock_irqsave(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device()
301 spin_unlock_irqrestore(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device()
731 spin_lock_init(&hr_dev->sm_lock); in hns_roce_setup_hca()
Dhns_roce_device.h967 spinlock_t sm_lock; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c209 spin_lock_irqsave(&dev->sm_lock, flags); in update_sm_ah()
213 spin_unlock_irqrestore(&dev->sm_lock, flags); in update_sm_ah()
376 spin_lock_irqsave(&to_mdev(dev)->sm_lock, flags); in node_desc_override()
379 spin_unlock_irqrestore(&to_mdev(dev)->sm_lock, flags); in node_desc_override()
403 spin_lock_irqsave(&dev->sm_lock, flags); in forward_trap()
409 spin_unlock_irqrestore(&dev->sm_lock, flags); in forward_trap()
Dmcg.c215 spin_lock_irqsave(&dev->sm_lock, flags); in send_mad_to_wire()
218 spin_unlock_irqrestore(&dev->sm_lock, flags); in send_mad_to_wire()
222 spin_unlock_irqrestore(&dev->sm_lock, flags); in send_mad_to_wire()
Dmlx4_ib.h621 spinlock_t sm_lock; member
Dmain.c1012 spin_lock_irqsave(&to_mdev(ibdev)->sm_lock, flags); in mlx4_ib_modify_device()
1014 spin_unlock_irqrestore(&to_mdev(ibdev)->sm_lock, flags); in mlx4_ib_modify_device()
2797 spin_lock_init(&ibdev->sm_lock); in mlx4_ib_add()