Searched refs:sgcn_state (Results 1 – 1 of 1) sorted by relevance
104 static sgcn_t *sgcn_state; variable198 sgcn_state = kmem_zalloc(sizeof (sgcn_t), KM_SLEEP); in _init()203 mutex_init(&sgcn_state->sgcn_lock, NULL, MUTEX_DRIVER, NULL); in _init()205 kmem_free(sgcn_state, sizeof (sgcn_t)); in _init()244 mutex_enter(&sgcn_state->sgcn_lock); in sgcn_attach()246 sgcn_state->sgcn_dip = dip; in sgcn_attach()248 mutex_exit(&sgcn_state->sgcn_lock); in sgcn_attach()270 sgcn_state->sgcn_inbuf_size = in sgcn_attach()272 sgcn_state->sgcn_inbuf = in sgcn_attach()273 kmem_alloc(sgcn_state->sgcn_inbuf_size, KM_SLEEP); in sgcn_attach()[all …]