/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 273 static mutex_t lock = DEFAULTMUTEX; local 274 (void) mutex_lock(&lock); 282 (void) mutex_unlock(&lock);
|
H A D | SLPUtils.c | 616 static mutex_t lock = DEFAULTMUTEX; local 618 (void) mutex_lock(&lock); 620 (void) mutex_unlock(&lock); 670 (void) mutex_unlock(&lock);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Hash/ |
H A D | Util.t | 229 foreach my $lock (0, 1) { 238 lock_keys ( %target, @keys ) if $lock; 245 = ($lock ? 'locked' : 'not locked') . ' keys ' . join ',', @usekeys;
|
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprivate.c | 106 { int rv, lock; local 107 lock = vd->mode&VM_LOCK; 110 vd->mode |= lock;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | errlist | 98 58 Owner of the lock died 112 72 Locked lock was unmapped
|
/osnet-11/usr/src/lib/passwdutil/ |
H A D | passwdutil.h | 56 ATTR_LOCK_ACCOUNT = 0x10000, /* Manual lock passwd -l */ 70 ATTR_INCR_FAILED_LOGINS = 0x1000000, /* increment + lock if needed */ 124 int (*lock)(void); member in struct:repops
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ep_modify.c | 140 * be atomic with the assignment back (under lock), b) want the 143 * under lock. 169 * Now we atomically modify the EP, under lock 173 dapl_os_lock(&ep1->header.lock); 182 dapl_os_unlock(&ep2->header.lock); 264 dapl_os_unlock(& ep2->header.lock); 270 dapl_os_unlock(&ep2->header.lock);
|
/osnet-11/usr/src/tools/onbld/hgext/ |
H A D | cdm.py | 969 lock = repo.lock() 1038 lock.release() 1319 lock = repo.lock() 1327 lock.release() 1361 lock = repo.lock() 1367 lock.release()
|
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_split.c | 235 (void)__BT_TLPUT(dbc, cp->lock); 246 (void)__BT_TLPUT(dbc, cp->lock); 304 * There are interesting deadlock situations here as we write-lock a 307 * is waiting on a lock for the page we just split. It will deadlock 361 (void)__BT_TLPUT(dbc, pp->lock); 363 (void)__BT_TLPUT(dbc, cp->lock); 384 (void)__BT_LPUT(dbc, pp->lock); 386 (void)__BT_TLPUT(dbc, pp->lock); 389 (void)__BT_LPUT(dbc, cp->lock); 391 (void)__BT_TLPUT(dbc, cp->lock); [all...] |
/osnet-11/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_pr.c | 65 dbmp->mp->rlayout.lock.mutex_set_wait; 67 dbmp->mp->rlayout.lock.mutex_set_nowait;
|
/osnet-11/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiInquiry.c | 109 lock(&all_hbas_lock); 111 lock(&open_handles_lock);
|
H A D | Sun_sasScsiReadCapacity.c | 105 lock(&all_hbas_lock); 107 lock(&open_handles_lock);
|
H A D | Sun_sasSendSMPPassThru.c | 114 lock(&all_hbas_lock);
|
H A D | event.c | 54 /* grab write lock */ 55 lock(&all_hbas_lock);
|
/osnet-11/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 39 mutex_t lock; member in union:__anon1481 383 * Because the old libthread_db enabled lock tracking by default, 405 * disable lock tracking when we delete the 422 * Utility function to grab the readers lock and return the prochandle, 424 * Returns non-NULL with the lock held, or NULL with the lock not held. 452 * Utility function to grab the readers lock and return the prochandle, 454 * Returns non-NULL with the lock held, or NULL with the lock not held. 467 * Utility function to grab the readers lock an [all...] |
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | vthread.h | 135 { _vtmtx_t lock; member in struct:_vtmutex_s
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_osd.h | 217 pthread_mutex_t lock; member in struct:__anon2860
|
/osnet-11/usr/src/lib/libfuse/common/ |
H A D | fuse.h | 83 * releasedir, fsyncdir, access, create, ftruncate, fgetattr, lock, 391 * For checking lock ownership, the 'fuse_file_info->owner' 395 * held locks, and if a conflicting lock is found it will return 401 * cases. If a conflicting lock is not found, this method will be 414 int (*lock) (const char *, struct fuse_file_info *, int cmd, member in struct:fuse_operations 644 struct fuse_file_info *fi, int cmd, struct flock *lock);
|
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_ctl.c | 1047 * that the lock file is left behind, we want it 1075 * lock file. If some other cfgadm process is finishing up, we 1109 struct flock lock; local 1115 CFGA_TRACE3((stdout, "syslock[%d]: trying lock: %s\n", 1118 lock.l_type = F_WRLCK; 1119 lock.l_whence = SEEK_SET; 1120 lock.l_start = 0; 1121 lock.l_len = 0; 1124 while ((rval = fcntl(fd, F_SETLKW, &lock)) == -1 && errno == EINTR) { 1143 CFGA_TRACE1((stdout, "syslock[%d]: cannot lock [all...] |
/osnet-11/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_page.c | 206 if (hcp->lock && hcp->dbc->txn == NULL) 207 (void)lock_put(hcp->dbc->dbp->dbenv->lk_info, hcp->lock); 216 hcp->lock = 0; 1509 "free_ovflpage: unable to lock meta data page %s\n", 1766 * is no lock held, then if we are locking, we should get the lock. 1767 * If there is a lock held and it's for the current bucket, we don't 1768 * need to do anything. If there is a lock, but it's for a different 1772 if (hcp->lock != 0 && hcp->lbucket != hcp->bucket) { 1774 * If this is the original lock, do [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 149 k5_mutex_assert_locked(&cred->lock); 201 * cred->name->lock. 376 k5_mutex_assert_locked(&cred->lock); 501 k5_mutex_assert_locked(&cred->lock); 1013 kerr = k5_mutex_lock(&cred->lock); 1051 k5_mutex_unlock(&cred->lock); 1070 k5_mutex_unlock(&cred->lock); 1078 k5_mutex_unlock(&cred->lock); 1466 /* get_default_cred() must be called with the krb5_mutex lock held */
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | ldapsinit.c | 1251 * db_root_hosts.lock mutex is used to ensure that the name list 1256 (void) mutex_lock(&db_root_hosts.lock); 1259 (void) mutex_unlock(&db_root_hosts.lock); 1285 (void) mutex_unlock(&db_root_hosts.lock); 1296 (void) mutex_unlock(&db_root_hosts.lock); 1304 (void) mutex_unlock(&db_root_hosts.lock);
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 160 * allowed to make an inconsistent robust lock consistent 275 * if holding at least one ceiling lock. If no ceiling locks are held at this 296 * Clear the lock byte. Retain the waiters byte and the spinners byte. 297 * Return the old value of the lock word. 315 * The mutex_ownerpid field is cleared along with the lock byte. 332 * Similar to set_lock_byte(), which only tries to set the lock byte. 333 * Here, we attempt to set the lock byte AND the mutex_ownerpid, keeping 336 * a window or vulnerability in which the lock byte had been set but the 340 * but without a process-ID to determine which process was holding the lock. 368 * Increment the spinners count in the mutex lock wor 2880 pthread_spin_init(pthread_spinlock_t *lock, int pshared) argument 2907 pthread_spin_destroy(pthread_spinlock_t *lock) argument 2914 pthread_spin_trylock(pthread_spinlock_t *lock) argument 2934 pthread_spin_lock(pthread_spinlock_t *lock) argument 2972 pthread_spin_unlock(pthread_spinlock_t *lock) argument 2992 find_lock_entry(mutex_t *lock) argument 3060 remember_lock(mutex_t *lock) argument 3070 forget_lock(mutex_t *lock) argument [all...] |
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | saslint.h | 350 sasl_mutex_lock_t *lock; member in struct:sasl_mutex_utils 486 #define sasl_MUTEX_LOCK(__mutex__) (gctx->sasl_mutex_utils.lock((__mutex__))) 499 #define sasl_MUTEX_LOCK(__mutex__) (_sasl_mutex_utils.lock((__mutex__)))
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 65 k5_mutex_t lock; /* Protect openf, version */ member in struct:_krb5_ktfile_data 75 * An advisory file lock is used while the file is open. Thus, 96 #define KTLOCK(id) k5_mutex_lock(&((krb5_ktfile_data *)(id)->data)->lock) 97 #define KTUNLOCK(id) k5_mutex_unlock(&((krb5_ktfile_data *)(id)->data)->lock) 98 #define KTCHECKLOCK(id) k5_mutex_assert_locked(&((krb5_ktfile_data *)(id)->data)->lock) 203 err = k5_mutex_init(&data->lock); 247 k5_mutex_destroy(&((krb5_ktfile_data *)id->data)->lock);
|