Searched refs:sm_lock (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/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
|
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 297 spin_lock_irqsave(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device() 299 spin_unlock_irqrestore(&to_hr_dev(ib_dev)->sm_lock, flags); in hns_roce_modify_device() 962 spin_lock_init(&hr_dev->sm_lock); in hns_roce_setup_hca()
|
D | hns_roce_device.h | 976 spinlock_t sm_lock; member
|
/linux-6.12.1/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 | 622 spinlock_t sm_lock; member
|
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()
|