Searched refs:lock (Results 1 - 25 of 1904) sorted by path

1234567891011>>

/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c69 uintptr_t ls_lock; /* lock address */
149 { 'C', "Lock", "Spin lock spin", "nsec",
151 { 'C', "Lock", "Thread lock spin", "nsec",
188 { 'H', "Lock", "Spin lock hold", "nsec",
227 { 'E', "Lock", "Recursive lock entry detected", "(N/A)",
309 " -A watch all lock events [equivalent to -CH]\n"
315 " -b basic statistics (lock, caller, event count)\n"
322 " -l lock[,size] only watch <lock>, which can be specified as a\n"
329 " -c coalesce lock dat
509 coalesce(int (*cmp)(lsrec_t *, lsrec_t *), lsrec_t **lock, int n) argument
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/plockstat/
H A Dplockstat.c60 * since multiple thread can hold the same lock for reading. Note that we
62 * affect lock contention.
555 uintptr_t lock; local
571 lock = (uintptr_t)*(uint64_t *)(data + rec[1].dtrd_offset);
605 (void) getsym(P, lock, buf, sizeof (buf), 0);
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_subr.c852 dt_rw_read_held(pthread_rwlock_t *lock) argument
855 return (_rw_read_held((struct _rwlock *)lock));
859 dt_rw_write_held(pthread_rwlock_t *lock) argument
862 return (_rw_write_held((struct _rwlock *)lock));
867 dt_mutex_held(pthread_mutex_t *lock) argument
871 return (_mutex_held((struct _lwp_mutex *)lock));
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h689 #define SX_SYSINIT(name, lock, desc)
700 int lock; /* wiring state */ member in struct:sysctl_req
/freebsd-9.3-release/contrib/amd/doc/
H A Dtexinfo.tex6868 \def\normaldollar{$}%$ font-lock fix
6917 \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
6960 @let$=@normaldollar %$ font-lock fix
/freebsd-9.3-release/contrib/amd/include/
H A Dam_defs.h1093 * Actions to take if <sys/lock.h> exists.
1096 # include <sys/lock.h>
/freebsd-9.3-release/contrib/amd/scripts/
H A Dctl-amd.in97 test -x /var/lock/subsys && touch /var/lock/subsys/amd
106 rm -f /var/lock/subsys/amd
123 if [ -f /var/lock/subsys/amd ]; then
H A Dctl-hlfsd.in93 test -x /var/lock/subsys && touch /var/lock/subsys/hlfsd
100 test -f /var/lock/subsys/hlfsd && rm -f /var/lock/subsys/hlfsd
H A Dredhat-ctl-amd.in35 [ $RETVAL = 0 ] && touch /var/lock/subsys/amd
66 rm -f /var/lock/subsys/amd
93 if [ -f /var/lock/subsys/amd ]; then
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dclient.c129 isc_mutex_t lock; member in struct:ns_clientmgr
425 LOCK(&client->interface->lock);
429 UNLOCK(&client->interface->lock);
553 LOCK(&manager->lock);
557 UNLOCK(&manager->lock);
2005 * Caller must be holding the manager lock.
2045 * Caller must be holding the manager lock.
2257 LOCK(&client->interface->lock);
2260 UNLOCK(&client->interface->lock);
2371 LOCK(&client->interface->lock);
[all...]
H A Dinterfacemgr.c47 isc_mutex_t lock; member in struct:ns_interfacemgr
86 result = isc_mutex_init(&mgr->lock);
132 DESTROYLOCK(&mgr->lock);
145 LOCK(&source->lock);
148 UNLOCK(&source->lock);
158 LOCK(&target->lock);
163 UNLOCK(&target->lock);
205 result = isc_mutex_init(&ifp->lock);
246 DESTROYLOCK(&ifp->lock);
441 DESTROYLOCK(&ifp->lock);
[all...]
H A Dlwresd.c318 RUNTIME_CHECK(isc_mutex_init(&lwresd->lock) == ISC_R_SUCCESS);
419 LOCK(&source->lock);
421 UNLOCK(&source->lock);
438 LOCK(&lwresd->lock);
443 UNLOCK(&lwresd->lock);
468 LOCK(&source->lock);
470 UNLOCK(&source->lock);
486 LOCK(&listener->lock);
491 UNLOCK(&listener->lock);
522 result = isc_mutex_init(&listener->lock);
[all...]
H A Dlwsearch.c52 result = isc_mutex_init(&list->lock);
72 LOCK(&source->lock);
76 UNLOCK(&source->lock);
90 LOCK(&list->lock);
93 UNLOCK(&list->lock);
H A Dserver.c6123 "initializing reload event lock");
7734 RWLOCK(&view->dynamickeys->lock, isc_rwlocktype_write);
7737 RWUNLOCK(&view->dynamickeys->lock,
7844 RWLOCK(&view->statickeys->lock, isc_rwlocktype_read);
7847 RWUNLOCK(&view->statickeys->lock, isc_rwlocktype_read);
7852 RWLOCK(&view->dynamickeys->lock, isc_rwlocktype_read);
7855 RWUNLOCK(&view->dynamickeys->lock, isc_rwlocktype_read);
H A Dstatschannel.c60 * Locked by channel lock: can be referenced and modified by both
63 isc_mutex_t lock; member in struct:ns_statschannel
1578 LOCK(&listener->lock);
1581 UNLOCK(&listener->lock);
1584 UNLOCK(&listener->lock);
1601 /* We don't have to acquire the lock here since it's already unlinked */
1604 DESTROYLOCK(&listener->lock);
1631 result = isc_mutex_init(&listener->lock);
1703 DESTROYLOCK(&listener->lock);
1749 LOCK(&listener->lock);
[all...]
/freebsd-9.3-release/contrib/bind9/bin/named/include/named/
H A Dinterfacemgr.h74 isc_mutex_t lock; member in struct:ns_interface
H A Dlwresd.h35 isc_mutex_t lock; member in struct:ns_lwresd
47 isc_mutex_t lock; member in struct:ns_lwreslistener
H A Dlwsearch.h45 isc_mutex_t lock; member in struct:ns_lwsearchlist
/freebsd-9.3-release/contrib/bind9/bin/named/unix/
H A Ddlz_dlopen_driver.c50 isc_mutex_t lock; member in struct:dlopen_data
71 /* Modules can choose whether they are lock-safe or not. */
76 LOCK(&cd->lock); \
83 UNLOCK(&cd->lock); \
254 /* Initialize the lock */
255 result = isc_mutex_init(&cd->lock);
366 (void) isc_mutex_destroy(&cd->lock);
403 (void) isc_mutex_destroy(&cd->lock);
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dacache.c102 /* Locked by acache lock */
130 isc_mutex_t lock; member in struct:acache_cleaner
150 Locked by acache lock. */
190 isc_mutex_t lock; member in struct:dns_acache
374 LOCK(&acache->lock);
379 UNLOCK(&acache->lock);
454 DESTROYLOCK(&acache->cleaner.lock);
456 DESTROYLOCK(&acache->lock);
472 * The caller must be holding the acache lock.
499 * The caller must be holing the entry lock
[all...]
H A Dadb.c106 isc_mutex_t lock; member in struct:dns_adb
653 LOCK(&adb->lock);
656 UNLOCK(&adb->lock);
804 LOCK(&adb->lock);
807 UNLOCK(&adb->lock);
1400 LOCK(&find->lock);
1403 UNLOCK(&find->lock);
1426 LOCK(&find->lock);
1485 UNLOCK(&find->lock);
1496 * The caller must be holding the adb lock
1553 inc_entry_refcnt(dns_adb_t *adb, dns_adbentry_t *entry, isc_boolean_t lock) argument
1568 dec_entry_refcnt(dns_adb_t *adb, isc_boolean_t overmem, dns_adbentry_t *entry, isc_boolean_t lock) argument
[all...]
H A Dbyaddr.c117 isc_mutex_t lock; member in struct:dns_byaddr
119 /* Locked by lock. */
139 * The caller must be holding the byaddr's lock.
245 result = isc_mutex_init(&byaddr->lock);
271 DESTROYLOCK(&byaddr->lock);
290 LOCK(&byaddr->lock);
298 UNLOCK(&byaddr->lock);
312 DESTROYLOCK(&byaddr->lock);
H A Dcache.c92 isc_mutex_t lock; member in struct:cache_cleaner
95 * while holding this lock - that could lead to deadlock since
96 * the lock is take by water() which is called from the memory
124 isc_mutex_t lock; member in struct:dns_cache
130 /* Locked by 'lock'. */
228 result = isc_mutex_init(&cache->lock);
329 DESTROYLOCK(&cache->lock);
359 DESTROYLOCK(&cache->cleaner.lock);
390 DESTROYLOCK(&cache->lock);
405 LOCK(&cache->lock);
[all...]
H A Dclient.c77 isc_mutex_t lock; member in struct:dns_client
123 isc_mutex_t lock; member in struct:resctx
150 isc_mutex_t lock; member in struct:resarg
166 isc_mutex_t lock; member in struct:reqctx
185 isc_mutex_t lock; member in struct:reqarg
200 isc_mutex_t lock; member in struct:updatearg
214 isc_mutex_t lock; member in struct:updatectx
459 result = isc_mutex_init(&client->lock);
587 DESTROYLOCK(&client->lock);
604 LOCK(&client->lock);
[all...]
H A Ddbtable.c43 isc_mutex_t lock; member in struct:dns_dbtable
45 /* Locked by lock. */
83 result = isc_mutex_init(&dbtable->lock);
103 DESTROYLOCK(&dbtable->lock);
141 LOCK(&source->lock);
147 UNLOCK(&source->lock);
161 LOCK(&dbtable->lock);
168 UNLOCK(&dbtable->lock);

Completed in 232 milliseconds

1234567891011>>