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

1234567891011>>

/macosx-10.9.5/Security-55471.14.18/libsecurity_asn1/lib/
H A Dsecport.c89 PRLock * lock; member in struct:PORTArenaPool_str
211 pool->lock = PZ_NewLock(nssILockArena);
212 if (!pool->lock) {
234 PZ_Lock(pool->lock);
240 PZ_Unlock(pool->lock);
249 PZ_Unlock(pool->lock);
281 PRLock * lock = (PRLock *)0; local
293 lock = pool->lock;
294 PZ_Lock(lock);
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_asn1/security_asn1/
H A Dsecport.c89 PRLock * lock; member in struct:PORTArenaPool_str
211 pool->lock = PZ_NewLock(nssILockArena);
212 if (!pool->lock) {
234 PZ_Lock(pool->lock);
240 PZ_Unlock(pool->lock);
249 PZ_Unlock(pool->lock);
281 PRLock * lock = (PRLock *)0; local
293 lock = pool->lock;
294 PZ_Lock(lock);
[all...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dtask.c82 isc_mutex_t lock; member in struct:isc_task
83 /* Locked by task lock. */
93 /* Locked by task manager lock. */
110 isc_mutex_t lock; member in struct:isc_taskmgr
115 /* Locked by task manager lock. */
154 LOCK(&manager->lock);
167 UNLOCK(&manager->lock);
169 DESTROYLOCK(&task->lock);
190 result = isc_mutex_init(&task->lock);
208 LOCK(&manager->lock);
[all...]
H A Drwlock.c115 result = isc_mutex_init(&rwl->lock);
147 DESTROYLOCK(&rwl->lock);
160 LOCK(&rwl->lock);
164 UNLOCK(&rwl->lock);
170 DESTROYLOCK(&rwl->lock);
186 * value of 0. When a new writer tries to get a write lock, it increments
195 * cnt_and_flag is a "lock" shared by all readers and writers. This integer
200 * lock by exclusively setting the writer_flag to 1, provided that the whole
218 * and a mutex lock, ordering between the atomic operation and locks can be
225 * LOCK(lock);
[all...]
H A Dresult.c61 "lock busy", /*%< 17 */
112 static isc_mutex_t lock; variable
138 LOCK(&lock);
142 UNLOCK(&lock);
151 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
178 LOCK(&lock);
201 UNLOCK(&lock);
H A Dmem.c115 static isc_mutex_t lock; variable
119 * Locked by the global lock.
127 isc_mutex_t lock; member in struct:isc_mem
174 isc_mutex_t *lock; /*%< optional lock */ member in struct:isc_mempool
176 /*%< locked via the memory context's lock */
357 /* Require: we hold the context lock. */
705 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
745 result = isc_mutex_init(&ctx->lock);
830 LOCK(&lock);
1655 isc_mutex_t *lock; local
1715 isc_mempool_associatelock(isc_mempool_t *mpctx, isc_mutex_t *lock) argument
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Drwlock.c115 result = isc_mutex_init(&rwl->lock);
147 DESTROYLOCK(&rwl->lock);
160 LOCK(&rwl->lock);
164 UNLOCK(&rwl->lock);
170 DESTROYLOCK(&rwl->lock);
186 * value of 0. When a new writer tries to get a write lock, it increments
195 * cnt_and_flag is a "lock" shared by all readers and writers. This integer
200 * lock by exclusively setting the writer_flag to 1, provided that the whole
218 * and a mutex lock, ordering between the atomic operation and locks can be
225 * LOCK(lock);
[all...]
H A Dmem.c118 static isc_mutex_t lock; variable
122 * Locked by the global lock.
130 isc_mutex_t lock; member in struct:isc__mem
178 isc_mutex_t *lock; /*%< optional lock */ member in struct:isc__mempool
180 /*%< locked via the memory context's lock */
293 isc__mempool_associatelock(isc_mempool_t *mpctx, isc_mutex_t *lock);
536 /* Require: we hold the context lock. */
884 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
924 result = isc_mutex_init(&ctx->lock);
1898 isc_mutex_t *lock; local
1959 isc__mempool_associatelock(isc_mempool_t *mpctx0, isc_mutex_t *lock) argument
[all...]
H A Dresult.c61 "lock busy", /*%< 17 */
113 static isc_mutex_t lock; variable
139 LOCK(&lock);
143 UNLOCK(&lock);
152 RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS);
179 LOCK(&lock);
202 UNLOCK(&lock);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/misc/
H A Dapr_rmm.c73 apr_anylock_t lock; member in struct:apr_rmm_t
213 APU_DECLARE(apr_status_t) apr_rmm_init(apr_rmm_t **rmm, apr_anylock_t *lock,
221 if (!lock) {
223 nulllock.lock.pm = NULL;
224 lock = &nulllock;
226 if ((rv = APR_ANYLOCK_LOCK(lock)) != APR_SUCCESS)
233 (*rmm)->lock = *lock;
245 return APR_ANYLOCK_UNLOCK(lock);
253 if ((rv = APR_ANYLOCK_LOCK(&rmm->lock)) !
[all...]
/macosx-10.9.5/apr-30/apr-util/apr-util/misc/
H A Dapr_rmm.c73 apr_anylock_t lock; member in struct:apr_rmm_t
213 APU_DECLARE(apr_status_t) apr_rmm_init(apr_rmm_t **rmm, apr_anylock_t *lock,
221 if (!lock) {
223 nulllock.lock.pm = NULL;
224 lock = &nulllock;
226 if ((rv = APR_ANYLOCK_LOCK(lock)) != APR_SUCCESS)
233 (*rmm)->lock = *lock;
245 return APR_ANYLOCK_UNLOCK(lock);
253 if ((rv = APR_ANYLOCK_LOCK(&rmm->lock)) !
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dmk_timer.c83 simple_lock_init(&timer->lock, 0);
109 simple_lock(&timer->lock);
121 simple_unlock(&timer->lock);
128 simple_unlock(&timer->lock);
152 simple_lock(&timer->lock);
156 simple_unlock(&timer->lock);
168 simple_unlock(&timer->lock);
179 simple_lock(&timer->lock);
183 simple_unlock(&timer->lock);
190 simple_unlock(&timer->lock);
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/lock/
H A Dlock_list.c12 #include "dbinc/lock.h"
20 * each lock. A lock is represented by a 16-bit page-count, a lock
21 * object and a page list. A lock object consists of a 16-bit size
35 * specific lock, then we cannot interpret obj and the pagelist must
38 * Consider a lock list for: File A, pages 1&2, File B pages 3-5, Applock
42 * LOCK for file A LOCK for file B application-specific lock
111 DB_LOCK_ILOCK *lock, *plock; local
160 lock
227 DB_LOCK_ILOCK *lock; local
319 DB_LOCK_ILOCK *lock; local
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/thread/thread/generic/
H A DthreadSpCmd.c17 * like attempting to lock an exclusive mutex twice from the same
85 Sp_AnyMutex *lock; /* Exclusive, recursive or read/write mutex */ member in struct:_SpMutex
202 "create", "destroy", "lock", "unlock", NULL
213 * thread::mutex lock <mutexHandle>
261 mutexPtr->lock = NULL; /* Will be auto-initialized */
417 mutexPtr->lock = NULL; /* Will be auto-initialized */
471 lockPtr = &mutexPtr->lock;
708 * thread::eval ?-lock <mutexHandle>? arg ?arg ...?
715 " ?-lock <mutexHandle>? arg ?arg...?\"", NULL);
721 * or external mutex given on the command line, and lock
1246 Sp_AnyMutex **lock = &mutexPtr->lock; local
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/btree/
H A Dbt_search.c49 #include "dbinc/lock.h"
69 DB_LOCK lock; local
80 * write lock on a page before getting it. This depends on how deep it
82 * if we need to lock the root page we may have to upgrade it later,
83 * because we won't get the correct lock initially.
94 if ((ret = __db_lget(dbc, 0, pg, lock_mode, 0, &lock)) != 0)
98 /* Did not read it, so we can release the lock */
99 (void)__LPUT(dbc, lock);
104 * Decide if we need to save this page; if we do, write lock it.
105 * We deliberately don't lock
170 DB_LOCK lock; local
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/sfio/
H A Dsfexcept.c38 reg int ev, local, lock; local
46 lock = f->mode&SF_LOCK;
53 if(local && lock)
61 if(local && lock)
117 if(lock)
125 if(lock)
/macosx-10.9.5/MITKerberosShim-62.1/profile/
H A Dprof_set.c52 retval = pthread_mutex_init(&new_data->lock, NULL);
101 retval = pthread_mutex_lock(&profile->first_file->data->lock);
110 pthread_mutex_unlock(&profile->first_file->data->lock);
125 pthread_mutex_unlock(&profile->first_file->data->lock);
196 retval = pthread_mutex_lock(&profile->first_file->data->lock);
205 pthread_mutex_unlock(&profile->first_file->data->lock);
220 pthread_mutex_unlock(&profile->first_file->data->lock);
249 retval = pthread_mutex_lock(&profile->first_file->data->lock);
260 pthread_mutex_unlock(&profile->first_file->data->lock);
268 pthread_mutex_unlock(&profile->first_file->data->lock);
[all...]
/macosx-10.9.5/CPANInternal-140/File-NFSLock/examples/
H A Dlock_test21 my $lock = new File::NFSLock ($datafile, LOCK_EX)
22 or print "Ouch1\n"; # blocking lock (Exclusive)
36 # $lock leaves scope and unlocks automagically
/macosx-10.9.5/CPANInternal-140/File-NFSLock-1.21/examples/
H A Dlock_test21 my $lock = new File::NFSLock ($datafile, LOCK_EX)
22 or print "Ouch1\n"; # blocking lock (Exclusive)
36 # $lock leaves scope and unlocks automagically
/macosx-10.9.5/WebCore-7537.78.1/Modules/webdatabase/
H A DOriginLock.cpp38 return pathByAppendingComponent(originPath, String(".lock"));
53 void OriginLock::lock() function in class:WebCore::OriginLock
55 m_mutex.lock();
60 // The only way we can get here is if the directory containing the lock
75 // containing the lock has been deleted before we opened the lock file, or
/macosx-10.9.5/WebCore-7537.78.1/dom/default/
H A DPlatformMessagePortChannel.cpp96 MutexLocker lock(m_channel->m_mutex);
106 MutexLocker lock(m_channel->m_mutex);
128 // FIXME: What guarantees that the result remains the same after we release the lock?
129 MutexLocker lock(m_channel->m_mutex);
135 // FIXME: What guarantees that the result remains the same after we release the lock?
136 MutexLocker lock(m_channel->m_mutex);
142 MutexLocker lock(m_channel->m_mutex);
172 MutexLocker lock(m_mutex);
180 // FIXME: What guarantees that the result remains the same after we release the lock?
181 // This lock onl
[all...]
/macosx-10.9.5/WebCore-7537.78.1/html/parser/
H A DHTMLParserThread.cpp51 MutexLocker lock(m_threadCreationMutex);
90 MutexLocker lock(m_threadCreationMutex);
/macosx-10.9.5/WebCore-7537.78.1/platform/network/cf/
H A DLoaderRunLoopCF.cpp60 MutexLocker lock(loaderRunLoopMutex());
82 MutexLocker lock(loaderRunLoopMutex());
/macosx-10.9.5/WebCore-7537.78.1/testing/js/
H A DWebCoreTestSupport.cpp45 JSLockHolder lock(exec);
55 JSLockHolder lock(exec);
/macosx-10.9.5/dtrace-118.1/
H A Ddtrace_dyld.cpp52 CSCppTimeoutLock lock(connection->lock_addr(), connection->timeout());
53 if (lock.is_locked()) {

Completed in 310 milliseconds

1234567891011>>