Searched refs:cs_globals (Results 1 – 2 of 2) sorted by relevance
238 static cs_globals_t cs_globals; variable265 bzero((caddr_t)&cs_globals, sizeof (cs_globals_t)); in cs_init()267 mutex_init(&cs_globals.global_lock, NULL, MUTEX_DRIVER, NULL); in cs_init()268 mutex_init(&cs_globals.window_lock, NULL, MUTEX_DRIVER, NULL); in cs_init()270 cs_globals.init_state = GLOBAL_INIT_STATE_MUTEX; in cs_init()334 mutex_enter(&cs_globals.global_lock); in cs_deinit()335 cs_globals.init_state |= GLOBAL_INIT_STATE_NO_CLIENTS; in cs_deinit()336 mutex_exit(&cs_globals.global_lock); in cs_deinit()343 for (sn = 0; sn < cs_globals.max_socket_num; sn++) { in cs_deinit()376 mutex_enter(&cs_globals.global_lock); in cs_deinit()[all …]
258 cs_globals.max_socket_num)