Home
last modified time | relevance | path

Searched refs:pgr_lock (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c510 rw_downgrade(&pgr->pgr_lock); in sbd_pgr_meta_write()
512 if (!rw_tryupgrade(&pgr->pgr_lock)) { in sbd_pgr_meta_write()
513 rw_exit(&pgr->pgr_lock); in sbd_pgr_meta_write()
514 rw_enter(&pgr->pgr_lock, RW_WRITER); in sbd_pgr_meta_write()
607 rw_enter(&pgr->pgr_lock, RW_WRITER); in sbd_pgr_reset()
616 rw_exit(&pgr->pgr_lock); in sbd_pgr_reset()
791 rw_enter(&pgr->pgr_lock, RW_WRITER); in sbd_pgr_initialize_it()
833 rw_exit(&pgr->pgr_lock); in sbd_pgr_initialize_it()
836 rw_exit(&pgr->pgr_lock); in sbd_pgr_initialize_it()
854 rw_enter(&pgr->pgr_lock, RW_READER); in sbd_pgr_reservation_conflict()
[all …]
H A Dsbd_impl.h167 krwlock_t pgr_lock; /* Lock order pgr_lock, sl_lock */ member
H A Dsbd.c1743 rw_destroy(&sl->sl_pgr->pgr_lock); in sbd_close_delete_lu()
1823 rw_init(&sl->sl_pgr->pgr_lock, NULL, RW_DRIVER, NULL); in sbd_create_register_lu()
2213 rw_init(&sl->sl_pgr->pgr_lock, NULL, RW_DRIVER, NULL); in sbd_create_standby_lu()
2354 rw_init(&sl->sl_pgr->pgr_lock, NULL, RW_DRIVER, NULL); in sbd_import_lu()