Searched refs:trans_sem (Results 1 – 2 of 2) sorted by relevance
55 krwlock_t trans_sem; /* this was a semaphore */ variable62 rw_enter(&trans_sem, RW_WRITER); in rdsv3_trans_register()68 rw_exit(&trans_sem); in rdsv3_trans_register()76 rw_exit(&trans_sem); in rdsv3_trans_register()88 rw_enter(&trans_sem, RW_WRITER); in rdsv3_trans_unregister()92 rw_exit(&trans_sem); in rdsv3_trans_unregister()109 rw_enter(&trans_sem, RW_READER); in rdsv3_trans_get_preferred()117 rw_exit(&trans_sem); in rdsv3_trans_get_preferred()141 rw_enter(&trans_sem, RW_READER); in rdsv3_trans_stats_info_copy()153 rw_exit(&trans_sem); in rdsv3_trans_stats_info_copy()
1054 extern krwlock_t trans_sem;1065 rw_enter(&trans_sem, RW_READER); in rdsv3_trans_exit()1073 rw_exit(&trans_sem); in rdsv3_trans_exit()1079 rw_destroy(&trans_sem); in rdsv3_trans_exit()1089 rw_init(&trans_sem, NULL, RW_DRIVER, NULL); in rdsv3_trans_init()