Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c105 static pthread_mutex_t ip_lock; /* lock for ip_xps list */ variable
247 (void) pthread_mutex_lock(&ip_lock); in ip_fmdo_recv()
255 (void) pthread_mutex_unlock(&ip_lock); in ip_fmdo_recv()
528 (void) pthread_mutex_lock(&ip_lock); in ip_xprt_create()
533 (void) pthread_mutex_unlock(&ip_lock); in ip_xprt_create()
544 (void) pthread_mutex_lock(&ip_lock); in ip_xprt_destroy()
554 (void) pthread_mutex_unlock(&ip_lock); in ip_xprt_destroy()
561 (void) pthread_mutex_unlock(&ip_lock); in ip_xprt_destroy()
966 (void) pthread_mutex_init(&ip_lock, NULL); in _fmd_init()
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c3017 kmutex_t ip_lock; member
3977 mutex_enter(&p_arg->ip_lock); in ibcm_process_get_ip_paths()
3981 mutex_exit(&p_arg->ip_lock); in ibcm_process_get_ip_paths()
4162 mutex_init(&path_tq->ip_lock, NULL, MUTEX_DEFAULT, NULL); in ibcm_get_ip_path()
4176 mutex_destroy(&path_tq->ip_lock); in ibcm_get_ip_path()
4186 mutex_enter(&path_tq->ip_lock); in ibcm_get_ip_path()
4188 cv_wait(&path_tq->ip_cv, &path_tq->ip_lock); in ibcm_get_ip_path()
4190 mutex_exit(&path_tq->ip_lock); in ibcm_get_ip_path()
4192 mutex_destroy(&path_tq->ip_lock); in ibcm_get_ip_path()