Searched refs:mc_lock (Results 1 – 5 of 5) sorted by relevance
77 krwlock_t mc_lock; variable103 ASSERT(RW_LOCK_HELD(&mc_lock)); in mc_snapshot_destroy()117 ASSERT(RW_LOCK_HELD(&mc_lock)); in mc_snapshot_update()134 ASSERT(RW_LOCK_HELD(&mc_lock)); in mc_lookup_by_chipid()1023 rw_enter(&mc_lock, RW_READER); in mc_open()1025 rw_exit(&mc_lock); in mc_open()1028 rw_exit(&mc_lock); in mc_open()1057 ASSERT(RW_WRITE_HELD(&mc_lock)); in mc_onlinespare()1151 rw_enter(&mc_lock, RW_READER); in mc_ioctl()1154 rw_exit(&mc_lock); in mc_ioctl()[all …]
80 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()
222 extern krwlock_t mc_lock;
2360 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 …]
134 kmutex_t mc_lock; member