Searched refs:sm_lock (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_mad.c94 spin_lock_irqsave(&dev->sm_lock, flags);
98 spin_unlock_irqrestore(&dev->sm_lock, flags);
184 spin_lock_irqsave(&dev->sm_lock, flags);
190 spin_unlock_irqrestore(&dev->sm_lock, flags);
299 spin_lock_init(&dev->sm_lock);
H A Dmthca_dev.h360 spinlock_t sm_lock; member in struct:mthca_dev
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c206 spin_lock_irqsave(&dev->sm_lock, flags);
210 spin_unlock_irqrestore(&dev->sm_lock, flags);
372 spin_lock_irqsave(&to_mdev(dev)->sm_lock, flags);
375 spin_unlock_irqrestore(&to_mdev(dev)->sm_lock, flags);
399 spin_lock_irqsave(&dev->sm_lock, flags);
405 spin_unlock_irqrestore(&dev->sm_lock, flags);
H A Dmlx4_ib_mcg.c215 spin_lock_irqsave(&dev->sm_lock, flags);
218 spin_unlock_irqrestore(&dev->sm_lock, flags);
222 spin_unlock_irqrestore(&dev->sm_lock, flags);
H A Dmlx4_ib.h577 spinlock_t sm_lock; member in struct:mlx4_ib_dev
H A Dmlx4_ib_main.c963 spin_lock_irqsave(&to_mdev(ibdev)->sm_lock, flags);
965 spin_unlock_irqrestore(&to_mdev(ibdev)->sm_lock, flags);
2748 spin_lock_init(&ibdev->sm_lock);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c5906 pthread_mutex_t sm_lock; /* protects the remaining fields */ member in struct:share_mount_state
6162 pthread_mutex_lock(&sms->sm_lock);
6168 pthread_mutex_unlock(&sms->sm_lock);
6293 pthread_mutex_init(&share_mount_state.sm_lock, NULL);

Completed in 115 milliseconds