Searched refs:refreshq_lock (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | snmplib.c | 122 static mutex_t refreshq_lock; variable 170 (void) mutex_init(&refreshq_lock, USYNC_THREAD, NULL); in libpiclsnmp_init() 1357 (void) mutex_lock(&refreshq_lock); in refreshq_add_job() 1365 (void) mutex_unlock(&refreshq_lock); in refreshq_add_job() 1381 (void) mutex_unlock(&refreshq_lock); in refreshq_add_job() 1397 (void) mutex_unlock(&refreshq_lock); in refreshq_add_job() 1421 (void) mutex_unlock(&refreshq_lock); in refreshq_add_job() 1436 (void) mutex_lock(&refreshq_lock); in snmp_refresh_init() 1440 (void) mutex_unlock(&refreshq_lock); in snmp_refresh_init() 1452 (void) mutex_lock(&refreshq_lock); in snmp_refresh_fini() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_auth.c | 145 kmutex_t refreshq_lock; member 217 mutex_init(&nag->refreshq_lock, NULL, MUTEX_DEFAULT, NULL); in nfsauth_zone_init() 233 mutex_enter(&nag->refreshq_lock); in nfsauth_zone_shutdown() 240 cv_wait(&nag->refreshq_cv, &nag->refreshq_lock); in nfsauth_zone_shutdown() 242 mutex_exit(&nag->refreshq_lock); in nfsauth_zone_shutdown() 274 mutex_destroy(&nag->refreshq_lock); in nfsauth_zone_fini() 635 CALLB_CPR_INIT(&cprinfo, &nag->refreshq_lock, callb_generic_cpr, in nfsauth_refresh_thread() 639 mutex_enter(&nag->refreshq_lock); in nfsauth_refresh_thread() 648 cv_wait(&nag->refreshq_cv, &nag->refreshq_lock); in nfsauth_refresh_thread() 649 CALLB_CPR_SAFE_END(&cprinfo, &nag->refreshq_lock); in nfsauth_refresh_thread() [all …]
|