Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/tnf/
H A Dtnf.c114 } tnf_drv_state = { 0, B_FALSE, B_FALSE, 0 }; variable
190 mutex_init(&tnf_drv_state.tnf_mtx, NULL, MUTEX_DEFAULT, NULL); in _init()
193 mutex_destroy(&tnf_drv_state.tnf_mtx); in _init()
315 mutex_enter(&tnf_drv_state.tnf_mtx); in tnf_open()
317 if (tnf_drv_state.ctldev_is_open) in tnf_open()
320 tnf_drv_state.ctldev_is_open = B_TRUE; in tnf_open()
326 ++tnf_drv_state.mapdev_open_count; in tnf_open()
328 mutex_exit(&tnf_drv_state.tnf_mtx); in tnf_open()
341 tnf_drv_state.ctldev_is_open = B_FALSE; in tnf_close()
348 tnf_drv_state.mapdev_open_count = 0; in tnf_close()
[all …]