/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | Lockable.h | 38 static void lock(pthread_mutex_t* mutex); 39 static void unlock(pthread_mutex_t* mutex); 47 pthread_mutex_t mutex; member in class:Lockable
|
/osnet-11/usr/src/lib/libumem/common/ |
H A D | stub_stand.c | 50 cond_wait(cond_t *cv, mutex_t *mutex) argument
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | pthr_mutex.c | 32 * pthread_mutexattr_init: allocates the mutex attribute object and 52 * pthread_mutexattr_destroy: frees the mutex attribute object and 168 * pthread_mutexattr_setrobust: set the mutex robust attribute. 185 * pthread_mutexattr_getrobust: get the mutex robust attribute. 202 * pthread_mutex_init: Initializes the mutex object. It copies the 207 pthread_mutex_init(pthread_mutex_t *_RESTRICT_KYWD mutex, argument 229 return (mutex_init((mutex_t *)mutex, type, &prioceiling)); 235 * The process of locking the mutex need not 241 pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int ceil, int *oceil) argument 243 mutex_t *mp = (mutex_t *)mutex; [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nisdb_rw.h | 146 uint32_t wait; /* Blocked on mutex */ 151 mutex_t mutex; /* Exclusive access to structure */ member in struct:__anon2013 158 uint32_t reader_blocked; /* # of readers blocked on mutex */
|
H A D | ldap_op.c | 379 mutex_t mutex; /* Mutex for update of structure */ member in struct:__anon1943 380 pthread_t owner; /* Thread holding mutex */ 413 * Acquire 'mutex' 417 * release 'mutex' 424 * acquire 'mutex', and 'rcMutex' (in that order), 429 * Acquire 'mutex' 431 * Release 'mutex' 448 stat = mutex_trylock(&lc->mutex); 450 mutex_lock(&lc->mutex); 455 /* Return 1 if mutex hel [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_errmap.c | 149 static k5_mutex_t mutex = K5_MUTEX_PARTIAL_INITIALIZER; variable 159 err = k5_mutex_finish_init(&mutex); 182 k5_mutex_destroy(&mutex); 204 err = k5_mutex_lock(&mutex); 215 k5_mutex_unlock(&mutex); 244 k5_mutex_unlock(&mutex); 248 k5_mutex_unlock(&mutex); 282 err = k5_mutex_lock(&mutex); 286 k5_mutex_unlock(&mutex);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 43 k5_mutex_t mutex; member in struct:global_shared_profile_data 46 #define g_shared_trees_mutex (krb5int_profile_shared_data.mutex) 574 /* Call with mutex locked! */
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | thread.h | 27 MUTEX_UNLOCK(&(t)->mutex); \ 275 /* DETACH(t) must only be called while holding t->mutex */ 281 MUTEX_UNLOCK(&(t)->mutex); \ 399 /* ThrSTATE(t) and ThrSETSTATE(t) must only be called while holding t->mutex */ 409 perl_mutex mutex; /* Protects all other fields */ member in struct:condpair 415 #define MgMUTEXP(mg) (&((condpair_t *)(mg->mg_ptr))->mutex)
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | lock.h | 133 * Wait on mutex to wait on lock. You reference your own mutex with 134 * ID 0 and others reference your mutex with ID 1. 136 db_mutex_t mutex; member in struct:__db_lock
|
H A D | mp.h | 32 * Locking a handle mutex to provide concurrency for DB_THREAD operations. 33 * Locking the region mutex to provide mutual exclusion while reading and 104 (void)__db_mutex_lock(&(bhp)->mutex, (dbmp)->reginfo.fd) 107 (void)__db_mutex_unlock(&(bhp)->mutex, (dbmp)->reginfo.fd) 271 db_mutex_t mutex; /* Structure lock. */ member in struct:__bh
|
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | idmap_cache.c | 133 pthread_mutex_t mutex; member in struct:sid2uid_gid_cache 145 pthread_mutex_t mutex; member in struct:pid2sid_winname_cache 157 pthread_mutex_t mutex; member in struct:winname2uid_gid_cache 292 (void) pthread_mutex_init(&idmap_cache.sid2uid_gid.mutex, NULL); 304 (void) pthread_mutex_init(&idmap_cache.uid2sid_winname.mutex, NULL); 317 (void) pthread_mutex_init(&idmap_cache.gid2sid_winname.mutex, NULL); 330 (void) pthread_mutex_init(&idmap_cache.winname2uid_gid.mutex, NULL); 351 (void) pthread_mutex_lock(&idmap_cache.sid2uid_gid.mutex); 369 (void) pthread_mutex_unlock(&idmap_cache.sid2uid_gid.mutex); 372 (void) pthread_mutex_lock(&idmap_cache.uid2sid_winname.mutex); [all...] |
/osnet-11/usr/src/lib/libc/inc/ |
H A D | tdb_agent.h | 144 tdb_mutex_stats_t mutex; member in union:__anon1336::__anon1337
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_parser.c | 242 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 291 ret = pthread_mutex_lock(&mutex); 294 ret = pthread_mutex_unlock(&mutex); 314 ret = pthread_mutex_unlock(&mutex); 320 ret = pthread_mutex_unlock(&mutex);
|
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | saslint.h | 268 void *mutex; /* mutex for this data */ member in struct:mech_list 325 void *mutex; /* mutex for this data */ member in struct:cmech_list 412 /* sasl_done()/sasl_dispose() mutex */
|
H A D | common.c | 125 pthread_mutex_t *mutex = local 128 if (mutex != NULL) { 129 if (pthread_mutex_init(mutex, NULL) != 0) { 130 free(mutex); 131 mutex = NULL; 134 return (mutex); 137 static int sasl_mutex_lock(void *mutex) argument 141 if (mutex != NULL) 142 ret = pthread_mutex_lock((pthread_mutex_t *)mutex); 147 static int sasl_mutex_unlock(void *mutex) argument 1962 sasl_mutex_utils_t mutex; local [all...] |
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | os.c | 260 ** structures. Access to these hash tables must be protected by a mutex. 1703 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 1722 pthread_mutex_lock(&mutex); 1757 pthread_mutex_unlock(&mutex);
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/ |
H A D | kmsKeystoreUtil.c | 192 flock_fd(int fd, int cmd, pthread_mutex_t *mutex) argument 196 (void) pthread_mutex_lock(mutex); 204 (void) pthread_mutex_unlock(mutex); 213 pthread_mutex_t *mutex) 221 if (flock_fd(fd, cmd, mutex)) { 212 open_and_lock_file(char *filename, int cmd, mode_t mode, pthread_mutex_t *mutex) argument
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | optget.c | 2347 int mutex; local 2842 mutex = 0; 3007 mutex++; 3093 if (mutex) 3097 if (!(mutex & 1)) 3099 mutex--; 3106 mutex--; 3192 if (style <= STYLE_short && !y && !mutex || style == STYLE_posix) 3222 if (mutex & 1) 3224 mutex [all...] |
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfhdr.h | 405 #define POOLMTXLOCK(p) ( vtmtxlock(&(p)->mutex) ) 406 #define POOLMTXUNLOCK(p) ( vtmtxunlock(&(p)->mutex) ) 495 #define SF_PRIVATE 00000100 /* private stream to Sfio, no mutex */ 674 Vtmutex_t mutex; /* mutex lock object */ member in struct:_sfpool_s
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpmtok_int.h | 410 pthread_mutex_t mutex; member in struct:_LW_SHM_TYPE
|
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 205 void *mutex; member in struct:reauth_cache 2330 if (reauth_cache->mutex) utils->mutex_free(reauth_cache->mutex); 3068 if (sparams->utils->mutex_lock(text->reauth->mutex) == SASL_OK) { /* LOCK */ 3091 sparams->utils->mutex_unlock(text->reauth->mutex); /* UNLOCK */ 3519 sparams->utils->mutex_lock(text->reauth->mutex) == SASL_OK) { /* LOCK */ 3551 sparams->utils->mutex_unlock(text->reauth->mutex); /* UNLOCK */ 3757 /* mutex */ 3758 reauth_cache->mutex = utils->mutex_alloc(); 3759 if (!reauth_cache->mutex) [all...] |