Searched refs:lock (Results 151 - 175 of 642) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_base.c44 retval = k5_mutex_finish_init(&grcache.lock);
58 k5_mutex_destroy(&grcache.lock);
127 return k5_mutex_init(&(*id)->lock);
171 k5_mutex_destroy(&(*id)->lock);
208 k5_mutex_destroy(&(*id)->lock);
H A Drc-int.h42 k5_mutex_t lock; member in struct:krb5_rc_st
H A Drc_mem.h36 k5_mutex_t lock; member in struct:global_rcache
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_cred.c134 code = k5_mutex_lock(&cred->lock);
150 k5_mutex_unlock(&cred->lock);
169 k5_mutex_unlock(&cred->lock);
179 k5_mutex_unlock(&cred->lock);
200 k5_mutex_unlock(&cred->lock);
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_lrp.c61 rw_enter(&oplmsu_uinst->lock, RW_READER);
87 rw_exit(&oplmsu_uinst->lock);
150 rw_exit(&oplmsu_uinst->lock);
159 rw_exit(&oplmsu_uinst->lock);
237 rw_exit(&oplmsu_uinst->lock);
276 rw_exit(&oplmsu_uinst->lock);
296 rw_exit(&oplmsu_uinst->lock);
303 rw_exit(&oplmsu_uinst->lock);
332 rw_exit(&oplmsu_uinst->lock);
357 rw_exit(&oplmsu_uinst->lock);
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c163 * lock manager can work with. nlm_netconfigs table
351 mutex_enter(&g->lock);
357 (void) cv_timedwait(&g->nlm_gc_sched_cv, &g->lock,
393 * the global lock held.
418 * Drop global lock while doing expensive work
421 * lock.
423 mutex_exit(&g->lock);
427 * nlm_globals lock was dropped earlier because
435 mutex_enter(&g->lock);
474 mutex_exit(&g->lock);
1944 nlm_slock_register( struct nlm_globals *g, struct nlm_host *host, struct nlm4_lock *lock, struct vnode *vp) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc.c418 mutex_init(&ldcssp->lock, NULL, MUTEX_DRIVER, NULL);
420 mutex_enter(&ldcssp->lock);
427 mutex_exit(&ldcssp->lock);
436 mutex_exit(&ldcssp->lock);
449 mutex_exit(&ldcssp->lock);
521 mutex_destroy(&ldcssp->lock);
587 ASSERT(MUTEX_HELD(&ldcp->lock));
619 ASSERT(MUTEX_HELD(&ldcp->lock));
656 ASSERT(MUTEX_HELD(&ldcp->lock));
695 ASSERT(MUTEX_HELD(&ldcp->lock));
[all...]
H A Dds_common.c70 * a mutex lock. The reader lock must be held when looking up service
71 * information in the table. The writer lock must be held when any
246 ASSERT(MUTEX_HELD(&port->lock));
268 mutex_enter(&ds_svcs.lock);
269 mutex_enter(&port->lock);
281 mutex_exit(&port->lock);
282 mutex_exit(&ds_svcs.lock);
297 mutex_enter(&port->lock);
301 mutex_exit(&port->lock);
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Danon.h285 * A reader/writer lock per anon_amp and an array of system-wide hash
287 * anonmap lock. The writer lock is held when we want to singlethreaD
289 * anon_map's members, whereas reader lock and anon_array_lock are
331 #define ANON_LOCK_ENTER(lock, type) rw_enter((lock), (type))
332 #define ANON_LOCK_EXIT(lock) rw_exit((lock))
333 #define ANON_LOCK_HELD(lock) RW_LOCK_HELD((lock))
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_locking.c471 struct lock_info *lock = &lock_table[index]; local
475 if (lock->arg == RETURN_VAL) {
477 } else if (lock->arg == NO_ARG) {
478 return alloc_string(get_lock_name(lock->type));
480 arg = get_argument_from_call_expr(expr->args, lock->arg);
751 struct lock_info *lock = &lock_table[index]; local
755 if (lock->arg == NO_ARG) {
757 } else if (lock->arg == RETURN_VAL) {
766 do_lock(lock_name, sym, lock);
774 struct lock_info *lock local
797 struct lock_info *lock = &lock_table[index]; local
812 struct lock_info *lock = &lock_table[index]; local
1080 struct lock_info *lock = &lock_table[index]; local
1230 struct expression *lock, *ctx; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c275 k5_mutex_t lock; member in struct:_krb5_fcc_data
325 k5_assert_locked(&((krb5_fcc_data *)(ID)->data)->lock); \
330 k5_mutex_unlock(&((krb5_fcc_data *)(ID)->data)->lock); \
370 k5_assert_locked(&((krb5_fcc_data *) id->data)->lock);
382 k5_assert_locked(&data->lock);
455 k5_assert_locked(&((krb5_fcc_data *) id->data)->lock);
530 k5_assert_locked(&((krb5_fcc_data *) id->data)->lock);
579 k5_assert_locked(&((krb5_fcc_data *) id->data)->lock);
628 k5_assert_locked(&((krb5_fcc_data *) id->data)->lock);
670 k5_assert_locked(&((krb5_fcc_data *) id->data)->lock);
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c79 kmutex_t lock; member in struct:logd_s
211 logd_log_write(kmutex_t *lock, log_buf_t *lbp) argument
235 * exit the logd lock while doing the i/o as to not block
238 mutex_exit(lock);
269 mutex_enter(lock);
278 mutex_exit(lock);
344 mutex_enter(lock);
353 * After acquiring the lock still need logbuf(s),
374 kmutex_t *lock = &logdp->lock; local
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Dutils.c47 rwlock_t lock; member in struct:idmap_handle
53 DEFAULTRWLOCK, /* lock */
200 * Concurrency is managed through the rw lock "lock". Only the writer is
205 * lock. Once "failed" has been set to "true", all requests (including
206 * the retry of the failing request) will attempt to gain the writer lock.
230 (void) rw_rdlock(&idmap_handle.lock);
234 (void) rw_unlock(&idmap_handle.lock);
236 (void) rw_wrlock(&idmap_handle.lock);
257 (void) rw_unlock(&idmap_handle.lock);
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dppm_plat.c212 mutex_init(&domp->lock, NULL, MUTEX_DRIVER, NULL);
213 mutex_enter(&domp->lock);
234 mutex_exit(&domp->lock);
241 mutex_enter(&domp->lock);
251 mutex_exit(&domp->lock);
285 mutex_enter(&domp->lock);
295 mutex_exit(&domp->lock);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHandlePort.cc61 lock();
79 lock();
201 lock();
H A DHBAList.h70 using Lockable::lock;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c71 /* Create the log mutex lock */
72 mutex_init(&log->lock, NULL, MUTEX_DRIVER, (void *)iblock);
76 /* Create the temporary log mutex lock */
77 mutex_init(&log->lock, NULL, MUTEX_DRIVER, NULL);
100 /* Destroy the temporary lock */
101 mutex_destroy(&log->lock);
103 /* Re-create the log mutex lock */
104 mutex_init(&log->lock, NULL, MUTEX_DRIVER, DDI_INTR_PRI(hba->intr_arg));
125 /* Destroy the lock */
126 mutex_destroy(&log->lock);
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h95 kmutex_t lock; member in struct:port_info
206 kmutex_t lock; /* Rx access lock */ member in struct:sge_iq
242 kmutex_t lock; member in struct:sge_eq
273 kmutex_t lock; member in struct:sge_fl
555 kmutex_t lock; member in struct:adapter
576 #define ADAPTER_LOCK(sc) mutex_enter(&(sc)->lock)
577 #define ADAPTER_UNLOCK(sc) mutex_exit(&(sc)->lock)
578 #define ADAPTER_LOCK_ASSERT_OWNED(sc) ASSERT(mutex_owned(&(sc)->lock))
579 #define ADAPTER_LOCK_ASSERT_NOTOWNED(sc) ASSERT(!mutex_owned(&(sc)->lock))
638 t4_os_lock(t4_os_lock_t *lock) argument
642 t4_os_unlock(t4_os_lock_t *lock) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpshot.c558 mutex_init(&pshot->lock, NULL, MUTEX_DRIVER, NULL);
663 mutex_enter(&pshot->lock);
669 mutex_exit(&pshot->lock);
707 mutex_enter(&pshot->lock);
709 mutex_exit(&pshot->lock);
715 mutex_enter(&pshot->lock);
717 mutex_exit(&pshot->lock);
748 mutex_enter(&pshot->lock);
750 mutex_exit(&pshot->lock);
801 mutex_destroy(&pshot->lock);
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_intr.c101 * Called with pwrk lock
199 mutex_exit(&pwrk->lock);
231 mutex_exit(&pwrk->lock);
250 * The pwrk lock is now released
266 mutex_enter(&pwp->lock);
279 mutex_exit(&pwp->lock);
311 mutex_enter(&pwp->lock);
314 mutex_exit(&pwp->lock);
339 mutex_enter(&pwp->lock);
341 mutex_exit(&pwp->lock);
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c473 mutex_lock(&recov_q.lock);
475 mutex_unlock(&recov_q.lock);
637 * lock ensures to finish this code before an sm_crash is started. Die
675 mutex_lock(&recov_q.lock);
678 mutex_unlock(&recov_q.lock);
1211 mutex_lock(&record_table[hash].lock);
1220 mutex_unlock(&record_table[hash].lock);
1257 mutex_unlock(&record_table[hash].lock);
1260 mutex_lock(&record_table[hash].lock);
1263 mutex_unlock(&record_table[hash].lock);
[all...]
/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmlib_in.h83 mutex_t lock; member in struct:__anon4150
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A D_lwp_mutex_unlock.s37 clr %o3 ! clear lock/get waiter field
/illumos-gate/usr/src/cmd/vntsd/
H A Dwrite.c198 (void) mutex_lock(&clientp->lock);
202 (void) mutex_unlock(&clientp->lock);
248 (void) mutex_lock(&consp->lock);
251 (void) mutex_unlock(&consp->lock);
/illumos-gate/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...]

Completed in 75 milliseconds

1234567891011>>