Lines Matching refs:tnf_drv_state
114 } tnf_drv_state = { 0, B_FALSE, B_FALSE, 0 };
190 mutex_init(&tnf_drv_state.tnf_mtx, NULL, MUTEX_DEFAULT, NULL);
193 mutex_destroy(&tnf_drv_state.tnf_mtx);
315 mutex_enter(&tnf_drv_state.tnf_mtx);
317 if (tnf_drv_state.ctldev_is_open)
320 tnf_drv_state.ctldev_is_open = B_TRUE;
326 ++tnf_drv_state.mapdev_open_count;
328 mutex_exit(&tnf_drv_state.tnf_mtx);
341 tnf_drv_state.ctldev_is_open = B_FALSE;
348 tnf_drv_state.mapdev_open_count = 0;
453 tnf_drv_state.tnf_probe_count = 0;
456 ++tnf_drv_state.tnf_probe_count;
459 if (ddi_copyout((caddr_t)&tnf_drv_state.tnf_probe_count,
460 arg, sizeof (tnf_drv_state.tnf_probe_count), mode))
548 if (tnf_drv_state.tnf_pidfilter_mode)
584 tstate.pidfilter_mode = tnf_drv_state.tnf_pidfilter_mode;
647 if (tnf_drv_state.mapdev_open_count > 0 || tnf_tracing_active)
788 tnf_drv_state.tnf_pidfilter_mode = mode;