Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mthca/
H A 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()
H A Dmthca_dev.h357 spinlock_t sm_lock; member
/linux/drivers/infiniband/hw/mlx4/
H A 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()
404 spin_lock_irqsave(&dev->sm_lock, flags); in forward_trap()
410 spin_unlock_irqrestore(&dev->sm_lock, flags); in forward_trap()
H A 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()
H A Dmlx4_ib.h622 spinlock_t sm_lock; member
H A 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()
2769 spin_lock_init(&ibdev->sm_lock); in mlx4_ib_probe()