Searched refs:lock (Results 76 - 100 of 219) sorted by relevance

123456789

/osnet-11/usr/src/lib/sun_fc/common/
H A DHandlePort.cc61 lock();
79 lock();
201 lock();
H A DHBAList.h70 using Lockable::lock;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_memory.c117 k5_cc_mutex lock; member in struct:_krb5_mcc_data
159 ret = k5_cc_mutex_lock(context, &d->lock);
170 k5_cc_mutex_unlock(context, &d->lock);
237 err = k5_cc_mutex_lock(context, &d->lock);
243 k5_cc_mutex_unlock(context, &d->lock);
244 k5_cc_mutex_destroy(&d->lock);
330 err = k5_cc_mutex_lock(context, &d->lock);
334 k5_cc_mutex_unlock(context, &d->lock);
405 Call with the global list lock held. */
417 err = k5_cc_mutex_init(&d->lock);
[all...]
/osnet-11/usr/src/lib/libldap4/include/
H A Dthq.h24 pthread_mutex_t lock; /* queue mutex */ member in struct:__anon1917
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_mem.h36 k5_mutex_t lock; member in struct:global_rcache
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_cred.c135 code = k5_mutex_lock(&cred->lock);
152 k5_mutex_unlock(&cred->lock);
172 k5_mutex_unlock(&cred->lock);
198 k5_mutex_unlock(&cred->lock);
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dlock.h7 * @(#)lock.h 10.17 (Sleepycat) 1/3/99
19 * The locker id space is divided between the transaction manager and the lock
32 * The lock region consists of:
42 u_int32_t magic; /* lock magic number */
47 SH_TAILQ_HEAD(lock_header) free_locks; /* free lock header */
51 u_int32_t nmodes; /* number of lock modes */
58 u_int32_t nconflicts; /* number of lock conflicts */
59 u_int32_t nrequests; /* number of lock gets */
60 u_int32_t nreleases; /* number of lock puts */
64 /* Macros to lock/unloc
[all...]
H A Dtxn.h37 size_t last_lock; /* offset in lock region of last lock
68 * references to the log and lock managers as well as the state that keeps
103 u_int32_t locktype; /* lock type */
118 /* Macros to lock/unlock the region and threads. */
127 (void)__db_mutex_lock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
129 (void)__db_mutex_unlock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
/osnet-11/usr/src/lib/libc/sparc/sys/
H A D_lwp_mutex_unlock.s37 clr %o3 ! clear lock/get waiter field
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasLoadLibrary.c56 /* Initialize the read-write lock */
59 "Unable to initialize lock in LoadLibrary for reason \"%s\"",
63 /* grab write lock */
64 lock(&all_hbas_lock);
H A DSun_sasGetAdapterPortAttributes.c48 lock(&all_hbas_lock);
50 lock(&open_handles_lock);
H A DSun_sasRefreshAdapterConfiguration.c93 * lock them.
95 lock(&all_hbas_lock);
96 lock(&open_handles_lock);
H A DSun_sasRefreshInformation.c96 /* take a lock for hbas and handles during rerfresh. */
97 lock(&all_hbas_lock);
98 lock(&open_handles_lock);
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cr_accept.c149 * We do all verification and state change under lock, at which
152 dapl_os_lock(&ep_ptr->header.lock);
164 dapl_os_unlock(&ep_ptr->header.lock);
181 dapl_os_unlock(&ep_ptr->header.lock);
205 dapl_os_unlock(&ep_ptr->header.lock);
H A Ddapl_cr_util.c87 dapl_os_lock_init(&cr_ptr->header.lock);
H A Ddapl_lmr_util.c75 dapl_os_lock_init(&lmr->header.lock);
97 dapl_os_lock_destroy(&lmr->header.lock);
H A Ddapl_rmr_util.c59 dapl_os_lock_init(&rmr->header.lock);
85 dapl_os_lock_destroy(&rmr->header.lock);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c284 retval = k5_mutex_init(&data->lock);
390 retval = k5_mutex_lock(&data->lock);
394 retval2 = k5_mutex_unlock(&data->lock);
495 retval = k5_mutex_lock(&data->lock);
499 k5_mutex_unlock(&data->lock);
510 retval = k5_mutex_lock(&data->lock);
515 k5_mutex_unlock(&data->lock);
520 k5_mutex_unlock(&data->lock);
531 retval = k5_mutex_lock(&data->lock);
535 k5_mutex_unlock(&data->lock);
[all...]
/osnet-11/usr/src/lib/libc/port/threads/
H A Ddoor_calls.c469 * shared lock. This could cause a little contention but it is a one-off
489 pthread_mutex_t lock; member in struct:door_xsync_shared
541 (void) pthread_mutex_lock(&xssp->lock);
555 (void) pthread_mutex_unlock(&xssp->lock);
560 (void) pthread_cond_wait(&xssp->cv_m2s, &xssp->lock);
569 (void) pthread_mutex_unlock(&xssp->lock); /* xssp/xsp can be freed */
629 (void) pthread_mutex_init(&xssp->lock, NULL);
635 (void) pthread_mutex_lock(&xssp->lock);
695 (void) pthread_cond_wait(&xssp->cv_s2m, &xssp->lock);
703 goto out; /* lock hel
[all...]
/osnet-11/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c142 (void) pthread_rwlock_destroy(&cp->lock);
157 if (pthread_rwlock_init(&cp->lock, NULL) != 0) {
319 * config, grab the write lock and
322 (void) pthread_rwlock_wrlock(&cp->lock);
324 (void) pthread_rwlock_unlock(&cp->lock);
328 (void) pthread_rwlock_unlock(&cp->lock);
332 (void) pthread_rwlock_rdlock(&cp->lock);
347 (void) pthread_rwlock_rdlock(&cp->lock);
358 if (pthread_rwlock_trywrlock(&lru->lock) == 0) {
366 (void) pthread_rwlock_unlock(&lru->lock);
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dnis_hashitem.h43 pthread_cond_t lock; member in struct:__nis_item_item
56 pthread_mutex_t lock; member in struct:__anon1983
/osnet-11/usr/src/lib/libadutils/common/
H A Dadutils_impl.h69 pthread_mutex_t lock; member in struct:adutils_ad
100 pthread_mutex_t lock; member in struct:adutils_host
/osnet-11/usr/src/lib/passwdutil/
H A D__set_authtoken_attr.c81 if (rops[i]->lock && (err = rops[i]->lock())) {
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_cursor.c27 #include "lock.h"
46 /* Discard the current page/lock held by a cursor. */
53 if ((cp)->lock != LOCK_INVALID) { \
54 (void)__BT_TLPUT((dbc), (cp)->lock); \
55 (cp)->lock = LOCK_INVALID; \
109 cp->lock = LOCK_INVALID;
195 if (cp->lock != LOCK_INVALID) {
196 (void)__BT_TLPUT(dbc, cp->lock);
197 cp->lock = LOCK_INVALID;
237 DB_LOCK lock; local
1399 DB_LOCK lock; local
1638 DB_LOCK lock; local
[all...]
H A Dbt_page.c133 * The standard lock put call.
138 __bam_lput(dbc, lock)
140 DB_LOCK lock;
142 return (__BT_LPUT(dbc, lock));
168 * the free list. If either the lock get or page get routines
256 * The standard lock get call.
280 dbc->lock.pgno = pgno;
283 * If the object not currently locked, acquire the lock and return,
284 * otherwise, lock couple. If we fail and it's not a system error,
292 couple[1].lock
[all...]

Completed in 99 milliseconds

123456789