Home
last modified time | relevance | path

Searched refs:mc_lock (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c78 krwlock_t mc_lock; variable
104 ASSERT(RW_LOCK_HELD(&mc_lock)); in mc_snapshot_destroy()
118 ASSERT(RW_LOCK_HELD(&mc_lock)); in mc_snapshot_update()
135 ASSERT(RW_LOCK_HELD(&mc_lock)); in mc_lookup_by_chipid()
1024 rw_enter(&mc_lock, RW_READER); in mc_open()
1026 rw_exit(&mc_lock); in mc_open()
1029 rw_exit(&mc_lock); in mc_open()
1058 ASSERT(RW_WRITE_HELD(&mc_lock)); in mc_onlinespare()
1152 rw_enter(&mc_lock, RW_READER); in mc_ioctl()
1155 rw_exit(&mc_lock); in mc_ioctl()
[all …]
H A Dmcamd_subr.c80 ASSERT(RW_LOCK_HELD(&mc_lock)); in mcamd_mc_next()
465 rw_enter(&mc_lock, RW_READER); in mcamd_patounum_wrap()
485 rw_exit(&mc_lock); in mcamd_patounum_wrap()
557 rw_enter(&mc_lock, RW_READER); in mcamd_unumtopa_wrap()
559 rw_exit(&mc_lock); in mcamd_unumtopa_wrap()
H A Dmcamd.h222 extern krwlock_t mc_lock;
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Dmc-opl.c2360 mutex_enter(&mcp->mc_lock); in mc_polling()
2363 mutex_exit(&mcp->mc_lock); in mc_polling()
2374 mutex_exit(&mcp->mc_lock); in mc_polling()
2646 mutex_init(&mcp->mc_lock, NULL, MUTEX_DRIVER, NULL); in mc_board_add()
2818 mutex_enter(&mcp->mc_lock); in mc_board_del()
2820 mutex_exit(&mcp->mc_lock); in mc_board_del()
2821 mutex_destroy(&mcp->mc_lock); in mc_board_del()
2848 mutex_exit(&mcp->mc_lock); in mc_board_del()
2850 mutex_destroy(&mcp->mc_lock); in mc_board_del()
2858 mutex_enter(&mcp->mc_lock); in mc_suspend()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h157 kmutex_t mc_lock; member
/illumos-gate/usr/src/uts/sun4u/opl/sys/
H A Dmc-opl.h134 kmutex_t mc_lock; member
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c380 mutex_init(&mc->mc_lock, NULL, MUTEX_DEFAULT, NULL); in metaslab_class_create()
408 mutex_destroy(&mc->mc_lock); in metaslab_class_destroy()
717 mutex_enter(&mc->mc_lock); in metaslab_group_alloc_update()
767 mutex_exit(&mc->mc_lock); in metaslab_group_alloc_update()
5515 mutex_enter(&mc->mc_lock); in metaslab_class_throttle_reserve()
5534 mutex_exit(&mc->mc_lock); in metaslab_class_throttle_reserve()
5543 mutex_enter(&mc->mc_lock); in metaslab_class_throttle_unreserve()
5545 mutex_exit(&mc->mc_lock); in metaslab_class_throttle_unreserve()