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

12345

/freebsd-10.1-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.1-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.1-release/contrib/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp152 MutexGuard locked(lock);
153 FunctionPassManager &PM = jitstate->getPM(locked);
178 MutexGuard locked(lock);
185 FunctionPassManager &PM = jitstate->getPM(locked);
206 MutexGuard locked(lock);
216 FunctionPassManager &PM = jitstate->getPM(locked);
407 MutexGuard locked(lock);
413 MutexGuard locked(lock);
425 MutexGuard locked(lock);
432 MutexGuard locked(loc
466 runJITOnFunctionUnlocked(Function *F, const MutexGuard &locked) argument
488 jitTheFunction(Function *F, const MutexGuard &locked) argument
[all...]
H A DJITEmitter.cpp124 const MutexGuard& locked) {
125 assert(locked.holds(TheJIT->lock));
135 const MutexGuard &locked, void *CallSite) const {
136 assert(locked.holds(TheJIT->lock));
149 void AddCallSite(const MutexGuard &locked, void *CallSite, Function *F) { argument
150 assert(locked.holds(TheJIT->lock));
502 MutexGuard locked(TheJIT->lock);
505 return state.getFunctionToLazyStubMap(locked).lookup(F);
511 MutexGuard locked(TheJIT->lock);
514 void *&Stub = state.getFunctionToLazyStubMap(locked)[
123 getFunctionToLazyStubMap( const MutexGuard& locked) argument
134 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.1-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.1-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.1-release/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp66 MutexGuard locked(lock);
93 MutexGuard locked(lock);
98 MutexGuard locked(lock);
105 MutexGuard locked(lock);
110 MutexGuard locked(lock);
148 MutexGuard locked(lock);
188 MutexGuard locked(lock);
204 MutexGuard locked(lock);
217 MutexGuard locked(lock);
243 MutexGuard locked(loc
[all...]
/freebsd-10.1-release/sys/x86/iommu/
H A Dbusdma_dmar.h53 bool locked; member in struct:bus_dmamap_dmar
/freebsd-10.1-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.1-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.1-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.1-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.1-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.1-release/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp155 MutexGuard locked(lock);
159 void *&CurVal = EEState.getGlobalAddressMap(locked)[GV];
164 if (!EEState.getGlobalAddressReverseMap(locked).empty()) {
166 EEState.getGlobalAddressReverseMap(locked)[Addr];
173 MutexGuard locked(lock);
175 EEState.getGlobalAddressMap(locked).clear();
176 EEState.getGlobalAddressReverseMap(locked).clear();
180 MutexGuard locked(lock);
183 EEState.RemoveMapping(locked, FI);
186 EEState.RemoveMapping(locked, G
[all...]
/freebsd-10.1-release/sys/dev/usb/net/
H A Dif_smsc.c350 int locked; local
354 locked = mtx_owned(&sc->sc_mtx);
355 if (!locked)
394 if (!locked)
419 int locked; local
423 locked = mtx_owned(&sc->sc_mtx);
424 if (!locked)
442 if (!locked)
467 int locked; local
473 locked
515 int locked; local
1325 int locked; local
[all...]
H A Dif_aue.c414 int i, locked; local
417 locked = mtx_owned(&sc->sc_mtx);
418 if (!locked)
452 if (!locked)
462 int locked; local
467 locked = mtx_owned(&sc->sc_mtx);
468 if (!locked)
485 if (!locked)
495 int locked; local
497 locked
[all...]
/freebsd-10.1-release/sys/boot/efi/include/
H A Defidebug.h89 #define ASSERT_LOCKED(l) if(!(l)->Lock) DBGASSERT(l not locked)
/freebsd-10.1-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.1-release/contrib/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp75 sys::ScopedLock locked(PG.Lock);
/freebsd-10.1-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.1-release/sys/security/audit/
H A Daudit_worker.c303 int locked; local
314 locked = 1;
316 locked = 0;
374 if (locked)

Completed in 173 milliseconds

12345