Searched refs:sm_lock (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/mthca/ |
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()
|
D | mthca_dev.h | 357 spinlock_t sm_lock; member
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 289 spin_lock_irqsave(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device() 291 spin_unlock_irqrestore(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device() 836 spin_lock_init(&hr_dev->sm_lock); in hns_roce_setup_hca()
|
D | hns_roce_device.h | 911 spinlock_t sm_lock; member
|
/drivers/infiniband/hw/mlx4/ |
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()
|
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()
|
D | mlx4_ib.h | 621 spinlock_t sm_lock; member
|
D | main.c | 1007 spin_lock_irqsave(&to_mdev(ibdev)->sm_lock, flags); in mlx4_ib_modify_device() 1009 spin_unlock_irqrestore(&to_mdev(ibdev)->sm_lock, flags); in mlx4_ib_modify_device() 2764 spin_lock_init(&ibdev->sm_lock); in mlx4_ib_add()
|