Searched refs:keylock (Results 1 – 3 of 3) sorted by relevance
114 static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER; in ___mtctxres() local115 if (pthread_mutex_lock(&keylock) == 0) { in ___mtctxres()117 (void) pthread_mutex_unlock(&keylock); in ___mtctxres()
132 static pthread_mutex_t keylock = LIBBIND_MUTEX_INITIALIZER; in net_data_init() local136 if (pthread_mutex_lock(&keylock) != 0) in net_data_init()140 (void)pthread_mutex_unlock(&keylock); in net_data_init()145 if (pthread_mutex_unlock(&keylock) != 0) in net_data_init()
216 static mutex_t keylock; in mntfs_get_mntentbuf() local224 (void) mutex_lock(&keylock); in mntfs_get_mntentbuf()227 (void) mutex_unlock(&keylock); in mntfs_get_mntentbuf()233 (void) mutex_unlock(&keylock); in mntfs_get_mntentbuf()