Searched refs:locked (Results 1 - 25 of 103) sorted by relevance

12345

/freebsd-10.0-release/sys/compat/linux/
H A Dcheck_internal_locks.d36 * Print stacktrace if a lock is longer locked than about 10sec or more.
50 linuxulator*:locks:emul_lock:locked,
51 linuxulator*:locks:emul_shared_wlock:locked,
52 linuxulator*:locks:futex_mtx:locked
60 linuxulator*:locks:emul_lock:locked,
61 linuxulator*:locks:emul_shared_rlock:locked,
62 linuxulator*:locks:emul_shared_wlock:locked,
63 linuxulator*:locks:futex_mtx:locked
H A Dlinux_emul.h65 struct linux_emuldata *em_find(struct proc *, int locked);
75 locked, l); \
86 locked, l); \
96 locked, l); \
H A Dstats_timing.d65 linuxulator*:::locked
H A Dlinux_emul.c80 LIN_SDT_PROBE_DEFINE1(locks, emul_lock, locked, "struct mtx *");
82 LIN_SDT_PROBE_DEFINE1(locks, emul_shared_rlock, locked, "struct sx *");
84 LIN_SDT_PROBE_DEFINE1(locks, emul_shared_wlock, locked, "struct sx *");
120 /* this returns locked reference to the emuldata entry (if found) */
122 em_find(struct proc *p, int locked) argument
126 LIN_SDT_PROBE2(emul, em_find, entry, p, locked);
128 if (locked == EMUL_DOLOCK)
133 if (em == NULL && locked == EMUL_DOLOCK)
/freebsd-10.0-release/sys/dev/drm2/ttm/
H A Dttm_lock.c80 bool locked = false; local
88 locked = true;
90 return locked;
118 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) argument
122 *locked = false;
131 *locked = true;
143 bool locked; local
154 while (!__ttm_read_trylock(lock, &locked)) {
161 MPASS(!locked || ret == 0);
164 return (locked)
177 bool locked = false; local
259 bool locked = false; local
330 bool locked = false; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp286 MutexGuard locked(lock);
287 FunctionPassManager &PM = jitstate->getPM(locked);
334 MutexGuard locked(lock);
341 FunctionPassManager &PM = jitstate->getPM(locked);
362 MutexGuard locked(lock);
372 FunctionPassManager &PM = jitstate->getPM(locked);
563 MutexGuard locked(lock);
569 MutexGuard locked(lock);
581 MutexGuard locked(lock);
588 MutexGuard locked(loc
622 runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked) argument
644 jitTheFunction(Function *F, const MutexGuard &locked) argument
[all...]
H A DJITEmitter.cpp125 const MutexGuard& locked) {
126 assert(locked.holds(TheJIT->lock));
136 const MutexGuard &locked, void *CallSite) const {
137 assert(locked.holds(TheJIT->lock));
150 void AddCallSite(const MutexGuard &locked, void *CallSite, Function *F) { argument
151 assert(locked.holds(TheJIT->lock));
513 MutexGuard locked(TheJIT->lock);
516 return state.getFunctionToLazyStubMap(locked).lookup(F);
522 MutexGuard locked(TheJIT->lock);
525 void *&Stub = state.getFunctionToLazyStubMap(locked)[
124 getFunctionToLazyStubMap( const MutexGuard& locked) argument
135 LookupFunctionFromCallSite( const MutexGuard &locked, void *CallSite) const argument
[all...]
H A DJIT.h213 void runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked);
215 void jitTheFunction(Function *F, const MutexGuard &locked);
/freebsd-10.0-release/lib/libkse/test/
H A Dmutex_d.exp25 Destruction of mutex locked by self - PASS
26 Destruction of mutex locked by another thread - PASS
30 Destruction of mutex locked by self - PASS
31 Destruction of mutex locked by another thread - PASS
35 Destruction of mutex locked by self - PASS
36 Destruction of mutex locked by another thread - PASS
40 Destruction of mutex locked by self - PASS
41 Destruction of mutex locked by another thread - PASS
45 Destruction of mutex locked by self - PASS
46 Destruction of mutex locked b
[all...]
/freebsd-10.0-release/sys/fs/nandfs/
H A Dnandfs_dat.c62 int locked, error; local
68 locked = NANDFS_VOP_ISLOCKED(NTOV(dat));
69 if (!locked)
78 if (!locked)
89 if (!locked)
105 if (!locked)
115 if (!locked)
129 int locked, error; local
134 locked = NANDFS_VOP_ISLOCKED(NTOV(dat));
135 if (!locked)
169 int locked, error; local
[all...]
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/
H A Dswapinfo.d16 * RAM Kernel Kernel resident in RAM (and usually locked)
76 this->locked = `pages_locked;
108 this->locked *= `_pagesize; this->locked /= 1048576;
134 printf("RAM Locked %5d MB\n", this->locked);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Mem/
H A Dswapinfo.d16 * RAM Kernel Kernel resident in RAM (and usually locked)
76 this->locked = `pages_locked;
108 this->locked *= `_pagesize; this->locked /= 1048576;
134 printf("RAM Locked %5d MB\n", this->locked);
/freebsd-10.0-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c48 int locked; local
50 if (!(locked = mtx_owned(MNT_MTX(vfsp))))
86 if (!locked)
93 int locked; local
95 if (!(locked = mtx_owned(MNT_MTX(vfsp))))
98 if (!locked)
/freebsd-10.0-release/lib/libthr/thread/
H A Dthr_create.c58 int ret = 0, locked, create_suspended; local
148 locked = 1;
150 locked = 0;
195 if (!locked)
207 } else if (locked) {
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DGDBRegistrar.cpp101 llvm::MutexGuard locked(JITDebugLock);
169 llvm::MutexGuard locked(JITDebugLock);
205 llvm::MutexGuard locked(JITDebugLock);
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp81 MutexGuard locked(lock);
121 MutexGuard locked(lock);
352 MutexGuard locked(lock);
358 MutexGuard locked(lock);
367 MutexGuard locked(lock);
373 MutexGuard locked(lock);
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp160 MutexGuard locked(lock);
164 void *&CurVal = EEState.getGlobalAddressMap(locked)[GV];
169 if (!EEState.getGlobalAddressReverseMap(locked).empty()) {
171 EEState.getGlobalAddressReverseMap(locked)[Addr];
178 MutexGuard locked(lock);
180 EEState.getGlobalAddressMap(locked).clear();
181 EEState.getGlobalAddressReverseMap(locked).clear();
185 MutexGuard locked(lock);
188 EEState.RemoveMapping(locked, FI);
191 EEState.RemoveMapping(locked, G
[all...]
/freebsd-10.0-release/sys/dev/usb/net/
H A Dif_smsc.c347 int locked; local
351 locked = mtx_owned(&sc->sc_mtx);
352 if (!locked)
391 if (!locked)
416 int locked; local
420 locked = mtx_owned(&sc->sc_mtx);
421 if (!locked)
439 if (!locked)
464 int locked; local
470 locked
512 int locked; local
1315 int locked; local
[all...]
H A Dif_aue.c416 int i, locked; local
419 locked = mtx_owned(&sc->sc_mtx);
420 if (!locked)
454 if (!locked)
464 int locked; local
469 locked = mtx_owned(&sc->sc_mtx);
470 if (!locked)
487 if (!locked)
497 int locked; local
499 locked
[all...]
H A Dif_mos.c420 int i, res, locked; local
424 locked = mtx_owned(&sc->sc_mtx);
425 if (!locked)
443 if (!locked)
452 int i, locked; local
454 locked = mtx_owned(&sc->sc_mtx);
455 if (!locked)
471 if (!locked)
481 int val, err, locked; local
483 locked
[all...]
/freebsd-10.0-release/sys/boot/efi/include/
H A Defidebug.h89 #define ASSERT_LOCKED(l) if(!(l)->Lock) DBGASSERT(l not locked)
/freebsd-10.0-release/sys/dev/sound/macio/
H A Donyx.c274 int locked; local
279 locked = mtx_owned(mixer_lock);
296 if (locked)
302 if (locked)
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp75 sys::ScopedLock locked(PG.Lock);
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_wc/
H A Dlock.c245 svn_boolean_t locked;
251 SVN_ERR(svn_wc__db_wclock_owns_lock(&locked, adm_access->db,
254 if (locked)
299 /* Cleanup for a locked access baton.
425 is already locked */
459 was previously locked by new code. Just hand them the lock, or
485 access baton is locked or not. */
623 * If the working copy is already locked, return SVN_ERR_WC_LOCKED; if
769 /* Already locked. The reason we don't return the existing baton
771 locked
244 svn_boolean_t locked; local
1354 svn_boolean_t locked; local
1376 svn_boolean_t locked; local
1390 svn_wc_locked2(svn_boolean_t *locked_here, svn_boolean_t *locked, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool) argument
1614 svn_boolean_t locked = FALSE; local
[all...]
/freebsd-10.0-release/sys/security/audit/
H A Daudit_worker.c303 int locked; local
314 locked = 1;
316 locked = 0;
374 if (locked)

Completed in 240 milliseconds

12345