Searched refs:sm_lock (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 96 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 D | mthca_dev.h | 357 spinlock_t sm_lock; member
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 209 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 D | mcg.c | 215 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 D | mlx4_ib.h | 622 spinlock_t sm_lock; member
|
H A D | main.c | 1012 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()
|