Searched refs:lock (Results 226 - 250 of 642) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxge-queue.c149 xge_os_spin_lock_irq(&queue->lock, flags);
197 xge_os_spin_unlock_irq(&queue->lock, flags);
202 xge_os_spin_unlock_irq(&queue->lock, flags);
209 xge_os_spin_unlock_irq(&queue->lock, flags);
228 xge_os_spin_unlock_irq(&queue->lock, flags);
230 /* no lock taken! */
278 xge_os_spin_lock_init_irq(&queue->lock, irqh);
297 xge_os_spin_lock_destroy_irq(&queue->lock, queue->irqh);
398 xge_os_spin_lock_irq(&queue->lock, flags);
400 xge_os_spin_unlock_irq(&queue->lock, flag
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c214 * db_root_hosts.lock mutex is used to ensure that the name list
219 (void) mutex_lock(&db_root_hosts.lock);
222 (void) mutex_unlock(&db_root_hosts.lock);
248 (void) mutex_unlock(&db_root_hosts.lock);
259 (void) mutex_unlock(&db_root_hosts.lock);
267 (void) mutex_unlock(&db_root_hosts.lock);
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.h78 kmutex_t lock; /* serialize access */ member in struct:__anon6658
260 * Simple lock for callback-waiting. This lock should be used in situations when
381 void zyd_cb_lock_init(struct zyd_cb_lock *lock);
382 void zyd_cb_lock_destroy(struct zyd_cb_lock *lock);
383 zyd_res zyd_cb_lock_wait(struct zyd_cb_lock *lock, clock_t timeout);
384 void zyd_cb_lock_signal(struct zyd_cb_lock *lock);
H A Dzyd_usb.c519 struct zyd_cb_lock *lock; local
520 lock = (struct zyd_cb_lock *)req->bulk_client_private;
523 zyd_cb_lock_signal(lock);
533 struct zyd_cb_lock lock; local
541 send_req->bulk_client_private = (usb_opaque_t)&lock;
551 zyd_cb_lock_init(&lock);
558 zyd_cb_lock_destroy(&lock);
562 if (zyd_cb_lock_wait(&lock, 1000000) != ZYD_SUCCESS) {
565 (void) zyd_cb_lock_wait(&lock, -1);
573 zyd_cb_lock_destroy(&lock);
585 struct zyd_cb_lock *lock; local
606 struct zyd_cb_lock lock; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_ds.c40 * Get device state. Called with statlock and PHY lock held.
135 * Set device state. Called with target's statlock and PHY lock held.
270 mutex_enter(&pwp->lock);
272 mutex_exit(&pwp->lock);
279 mutex_exit(&pwp->lock);
399 * will drop and reacquire the PHY lock.
484 mutex_enter(&pwp->lock);
486 mutex_exit(&pwp->lock);
495 * Called with target's statlock held (if target is non-NULL) and PHY lock held.
602 * Called with the work lock hel
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Derrors.c38 #define lock() k5_mutex_lock(&krb5int_error_info_support_mutex) macro
94 lock();
165 lock();
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Ddumpbind.c50 * Returns 1 if lock held - 0 otherwise.
53 query_lock(lwp_mutex_t *lock) { argument
54 if (_lwp_mutex_trylock(lock) == 0) {
55 (void) _lwp_mutex_unlock(lock);
68 (void) printf("lock held\n");
74 (void) printf("lock held\n");
82 (void) printf("\tbkt[%d]: lock held\n", i);
107 (void) printf("bkt[%d]: lock cleared\n", i);
/illumos-gate/usr/src/uts/common/sys/
H A Dddidevmap.h72 kmutex_t lock; member in struct:ddi_umem_cookie
132 kmutex_t lock; member in struct:devmap_softlock
142 kmutex_t lock; member in struct:devmap_ctx
152 * to lock and unlock pages for physical I/O.
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c223 int c, lock = -1, devfd = -1, err = 0, rw = -1, ns = -1, set = 0; local
252 lock = 1;
283 lock = 0;
316 if ((ns >= 0) || (lock >= 0)) {
317 if (lock >= 0)
329 if (lock >= 0)
330 err = setlock(devfd, lock);
387 int setlock(fd, lock)
388 int fd, lock;
391 printf("Turn lock
[all...]
/illumos-gate/usr/src/head/
H A Dnss_common.h167 * specified by the frontend). Backends must of course lock any state that
394 mutex_t lock; member in struct:nss_db_root
403 mutex_t lock; member in struct:__anon25
430 mutex_t *lock; member in struct:nss_config
/illumos-gate/usr/src/cmd/vntsd/
H A Dcmd.c325 (void) mutex_lock(&clientp->lock);
327 (void) mutex_unlock(&clientp->lock);
355 (void) mutex_lock(&clientp->lock);
357 (void) mutex_unlock(&clientp->lock);
372 (void) mutex_lock(&clientp->lock);
374 (void) mutex_unlock(&clientp->lock);
H A Dvntsd.c235 (void) mutex_lock(&vntsdp->lock);
248 (void) mutex_unlock(&vntsdp->lock);
252 (void) mutex_destroy(&vntsdp->lock);
370 (void) mutex_init(&vntsdp->lock, USYNC_THREAD|LOCK_ERRORCHECK, NULL);
658 (void) mutex_lock(&consp->lock);
665 (void) mutex_unlock(&consp->lock);
668 (void) mutex_lock(&groupp->lock);
670 (void) mutex_unlock(&groupp->lock);
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_syscalls.c398 mutex_enter(&(((au_kcontext_t *)kctx)->auk_queue.lock));
400 mutex_exit(&(((au_kcontext_t *)kctx)->auk_queue.lock));
453 mutex_enter(&(kctx->auk_queue.lock));
465 &(kctx->auk_queue.lock));
469 mutex_exit(&(kctx->auk_queue.lock));
476 mutex_exit(&(kctx->auk_queue.lock));
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dlog.h29 /* Macros to lock/unlock the region and threads. */
37 (void)__db_mutex_lock(&((RLAYOUT *)(dblp)->lp)->lock, \
40 (void)__db_mutex_unlock(&((RLAYOUT *)(dblp)->lp)->lock, \
72 * These fields are always accessed while the region lock is held, so they do
73 * not have to be protected by the thread lock as well OR, they are only used
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetTargetMapping.c50 lock(&all_hbas_lock);
52 lock(&open_handles_lock);
H A DSun_sasGetDiscoveredPortAttributes.c55 lock(&all_hbas_lock);
57 lock(&open_handles_lock);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvcc_impl.h54 * There is one lock in port structure to protect the states of the port.
75 * - obtain port lock
77 * - release port lock
78 * - obtain softstate lock
80 * - release softsate lock
83 * - obtain port lock
85 * - release port lock
88 * - obtain port lock
97 * - release lock
100 * - obtained port lock
250 kmutex_t lock; /* protects port */ member in struct:vcc_port
281 kmutex_t lock; member in struct:vcc
[all...]
H A Dvdsk_common.h545 ASSERT(MUTEX_HELD(&(vd)->lock)); \
567 ASSERT(MUTEX_HELD(&(vd)->lock)); \
573 ASSERT(MUTEX_HELD(&(vd)->lock)); \
579 ASSERT(MUTEX_HELD(&(vd)->lock)); \
585 ASSERT(MUTEX_HELD(&(vd)->lock)); \
591 ASSERT(MUTEX_HELD(&(vd)->lock)); \
597 ASSERT(MUTEX_HELD(&(vd)->lock)); \
608 ASSERT(MUTEX_HELD(&(vd)->lock)); \
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.h155 kmutex_t lock; member in struct:qede_tx_bcopy_list_s
170 kmutex_t lock; member in struct:qede_dma_handles_list_s
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin.h241 __asm lock cmpxchg dword ptr [ecx], edx \
263 __asm lock cmpxchg dword ptr [ecx], edx \
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.h147 mutex_t lock; member in struct:ns_conn_mt
213 mutex_t lock; member in struct:ns_conn_mgmt
219 mutex_t cfg_lock; /* lock serializes access to config */
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c219 mutex_lock(&mon_table[i].lock);
222 mutex_unlock(&mon_table[i].lock);
226 mutex_unlock(&mon_table[i].lock);
483 mutex_lock(&mon_table[hash].lock);
492 mutex_unlock(&mon_table[hash].lock);
529 mutex_unlock(&mon_table[hash].lock);
562 mutex_unlock(&mon_table[hash].lock);
579 mutex_lock(&mon_table[hash].lock);
581 mutex_unlock(&mon_table[hash].lock);
584 mutex_lock(&mon_table[hash].lock);
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c480 retval = k5_mutex_lock(&iter->file->data->lock);
491 k5_mutex_unlock(&iter->file->data->lock);
499 k5_mutex_unlock(&iter->file->data->lock);
509 k5_mutex_unlock(&iter->file->data->lock);
515 retval = k5_mutex_lock(&iter->file->data->lock);
529 retval = k5_mutex_lock(&iter->file->data->lock);
555 k5_mutex_unlock(&iter->file->data->lock);
558 retval = k5_mutex_lock(&iter->file->data->lock);
593 k5_mutex_unlock(&iter->file->data->lock);
596 retval = k5_mutex_lock(&iter->file->data->lock);
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio.c138 MUTEX_INIT(&nhd->lock, NULL, MUTEX_DRIVER, NULL);
184 MUTEX_DESTROY(&nhd->lock);
481 MUTEX_ENTER(&nhd->lock);
484 MUTEX_EXIT(&nhd->lock);
509 MUTEX_EXIT(&nhd->lock);
517 MUTEX_EXIT(&nhd->lock);
522 MUTEX_ENTER(&nhd->lock);
526 MUTEX_EXIT(&nhd->lock);
533 MUTEX_ENTER(&nhd->lock);
535 MUTEX_EXIT(&nhd->lock);
[all...]
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldom_xmpp_client.h100 pthread_mutex_t lock; member in struct:client_list

Completed in 64 milliseconds

1234567891011>>