Searched refs:dm_lock (Results 1 – 2 of 2) sorted by relevance
714 rw_enter(&module->dm_lock, RW_WRITER); in dacf_module_register()716 rw_exit(&module->dm_lock); in dacf_module_register()733 rw_enter(&module->dm_lock, RW_WRITER); in dacf_module_register()737 rw_exit(&module->dm_lock); in dacf_module_register()749 ASSERT(RW_WRITE_HELD(&module->dm_lock)); in dacf_module_register()776 rw_exit(&module->dm_lock); in dacf_module_register()811 !rw_tryenter(&module->dm_lock, RW_WRITER)) { in dacf_module_unregister()818 ASSERT(RW_WRITE_HELD(&module->dm_lock)); in dacf_module_unregister()821 rw_exit(&module->dm_lock); in dacf_module_unregister()837 ASSERT(RW_WRITE_HELD(&module->dm_lock)); in dacf_destroy_opsets()[all …]
45 krwlock_t dm_lock; /* module lock */ member