Home
last modified time | relevance | path

Searched refs:md_unit_array_rw (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c63 extern md_krwlock_t md_unit_array_rw;
359 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in stripe_reset()
362 rw_exit(&md_unit_array_rw.lock); in stripe_reset()
372 rw_exit(&md_unit_array_rw.lock); in stripe_reset()
393 rw_exit(&md_unit_array_rw.lock); in stripe_reset()
461 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in stripe_grow()
672 rw_exit(&md_unit_array_rw.lock); in stripe_grow()
/titanic_41/usr/src/uts/common/io/lvm/trans/
H A Dmdtrans.c72 extern md_krwlock_t md_unit_array_rw;
1118 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in trans_close()
1120 rw_exit(&md_unit_array_rw.lock); in trans_close()
1126 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in trans_close()
1128 rw_exit(&md_unit_array_rw.lock); in trans_close()
H A Dtrans_ioctl.c63 extern md_krwlock_t md_unit_array_rw;
1422 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in trans_reset_ioctl()
1425 rw_exit(&md_unit_array_rw.lock); in trans_reset_ioctl()
1430 rw_exit(&md_unit_array_rw.lock); in trans_reset_ioctl()
1444 rw_exit(&md_unit_array_rw.lock); in trans_reset_ioctl()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd.c92 md_krwlock_t md_unit_array_rw; /* protects all unit arrays */ variable
360 rw_init(&md_unit_array_rw.lock, NULL, RW_DEFAULT, NULL); in md_global_alloc_free()
392 rw_destroy(&md_unit_array_rw.lock); in md_global_alloc_free()
1469 rw_enter(&md_unit_array_rw.lock, RW_READER); in mdopen()
1514 rw_exit(&md_unit_array_rw.lock); in mdopen()
1516 rw_enter(&md_unit_array_rw.lock, RW_READER); in mdopen()
1561 rw_exit(&md_unit_array_rw.lock); in mdopen()
H A Dmd_subr.c91 extern md_krwlock_t md_unit_array_rw;
582 rw_exit(&md_unit_array_rw.lock); in md_global_lock_exit()
864 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in md_ioctl_reacquirelocks()
866 rw_enter(&md_unit_array_rw.lock, RW_READER); in md_ioctl_reacquirelocks()
908 rw_exit(&md_unit_array_rw.lock); in md_ioctl_droplocks()
917 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in md_array_writer()
925 rw_enter(&md_unit_array_rw.lock, RW_READER); in md_array_reader()
1767 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in md_halt()
2855 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in md_create_unit_incore()
2857 rw_exit(&md_unit_array_rw.lock); in md_create_unit_incore()
H A Dmd_mddb.c102 extern md_krwlock_t md_unit_array_rw; /* md.c */
10331 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in release_set()
10343 rw_exit(&md_unit_array_rw.lock); in release_set()
10352 rw_exit(&md_unit_array_rw.lock); in release_set()
12947 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in md_imp_snarf_set()
12949 rw_exit(&md_unit_array_rw.lock); in md_imp_snarf_set()
/titanic_41/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c93 extern md_krwlock_t md_unit_array_rw;
677 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in sp_reset()
685 rw_exit(&md_unit_array_rw.lock); in sp_reset()
719 rw_exit(&md_unit_array_rw.lock); in sp_reset()
796 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in sp_grow()
890 rw_exit(&md_unit_array_rw.lock); in sp_grow()
H A Dsp.c120 extern md_krwlock_t md_unit_array_rw;
1543 rw_exit(&md_unit_array_rw.lock); in sp_open()
1548 rw_enter(&md_unit_array_rw.lock, in sp_open()
/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c95 extern md_krwlock_t md_unit_array_rw;
578 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in raid_init_columns()
624 rw_exit(&md_unit_array_rw.lock); in raid_init_columns()
1994 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in raid_reset()
2001 rw_exit(&md_unit_array_rw.lock); in raid_reset()
2007 rw_exit(&md_unit_array_rw.lock); in raid_reset()
2014 rw_exit(&md_unit_array_rw.lock); in raid_reset()
2019 rw_exit(&md_unit_array_rw.lock); in raid_reset()
2039 rw_exit(&md_unit_array_rw.lock); in raid_reset()
/titanic_41/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_ioctl.c71 extern md_krwlock_t md_unit_array_rw;
378 rw_enter(&md_unit_array_rw.lock, RW_WRITER); in mirror_reset()
386 rw_exit(&md_unit_array_rw.lock); in mirror_reset()
399 rw_exit(&md_unit_array_rw.lock); in mirror_reset()
422 rw_exit(&md_unit_array_rw.lock); in mirror_reset()
H A Dmirror.c81 extern md_krwlock_t md_unit_array_rw;