Home
last modified time | relevance | path

Searched refs:asy_soft_lock (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4/sys/
H A Dsudev.h260 kmutex_t *asy_soft_lock; /* soft lock for gaurding softpend. */ member
389 if (mutex_tryenter(asy->asy_soft_lock)) { \
393 mutex_exit(asy->asy_soft_lock);\
396 mutex_exit(asy->asy_soft_lock);\
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c466 mutex_destroy(asy->asy_soft_lock); in asydetach()
467 kmem_free(asy->asy_soft_lock, sizeof (kmutex_t)); in asydetach()
637 asy->asy_soft_lock = (kmutex_t *) in asyattach()
655 mutex_init(asy->asy_soft_lock, NULL, MUTEX_DRIVER, in asyattach()
864 mutex_destroy(asy->asy_soft_lock); in asyattach()
867 kmem_free(asy->asy_soft_lock, sizeof (kmutex_t)); in asyattach()
2029 mutex_enter(asy->asy_soft_lock); in asysoftintr()
2037 mutex_exit(asy->asy_soft_lock); in asysoftintr()
/illumos-gate/usr/src/uts/common/sys/
H A Dasy.h353 kmutex_t asy_soft_lock; /* soft lock for guarding softpend. */ member
/illumos-gate/usr/src/uts/common/io/
H A Dasy.c1385 mutex_destroy(&asy->asy_soft_lock); in asydetach()
1605 mutex_init(&asy->asy_soft_lock, NULL, MUTEX_DRIVER, in asyattach()
3313 if (mutex_tryenter(&asy->asy_soft_lock) == 0) in asysetsoft()
3319 mutex_exit(&asy->asy_soft_lock); in asysetsoft()
3322 mutex_exit(&asy->asy_soft_lock); in asysetsoft()
3455 mutex_enter(&asy->asy_soft_lock); in asysoftintr()
3460 mutex_exit(&asy->asy_soft_lock); in asysoftintr()