HomeSort by: relevance | last modified time | path
    Searched refs:locked (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
ttm_lock.c 68 bool locked = false; local in function:__ttm_read_lock
72 locked = true;
74 return locked;
93 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked)
97 *locked = false;
103 *locked = true;
115 bool locked; local in function:ttm_read_trylock
120 __ttm_read_trylock(lock, &locked));
123 __ttm_read_trylock(lock, &locked));
127 BUG_ON(locked);
144 bool locked = false; local in function:__ttm_write_lock
188 bool locked = false; local in function:__ttm_suspend_lock
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/sodium/
core.c 40 static volatile int locked; variable in typeref:typename:volatile int
103 assert(locked == 0);
104 locked = 1;
112 if (locked == 0) {
118 locked = 0;
134 assert(locked == 0);
135 locked = 1;
145 if (locked == 0) {
151 locked = 0;
  /src/lib/libpthread/
pthread_lock.c 80 int locked; local in function:pthread__ras_simple_lock_try
83 locked = __SIMPLELOCK_LOCKED_P(alp);
87 return !locked;
  /src/sys/dev/pci/ixgbe/
ixgbe_82599.h 66 s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val);
67 s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 reg_val, bool locked);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_deadlock_detector2.cc 73 ThreadMutex locked[kMaxNesting]; member in struct:__sanitizer::DDLogicalThread
209 ThreadMutex *tm = &lt->locked[lt->nlocked++];
222 u32 id1 = lt->locked[i].id;
223 u32 stk1 = lt->locked[i].stk;
296 ThreadMutex *tm = &lt->locked[lt->nlocked++];
318 if (cb->lt->locked[i].id == m->id) {
319 lt->locked[i] = lt->locked[last];
334 // Remove the mutex from lt->locked if there.
337 if (lt->locked[i].id == m->id)
    [all...]
sanitizer_coverage_fuchsia.cc 90 BlockingMutexLock locked(&setup_lock_); local in function:__sancov::__anon9e0488370110::TracePcGuardController::Dump
126 BlockingMutexLock locked(&setup_lock_); local in function:__sancov::__anon9e0488370110::TracePcGuardController::Setup
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_mxgpu_ai.c 246 int locked; local in function:xgpu_ai_mailbox_flr_work
256 locked = mutex_trylock(&adev->lock_reset);
257 if (locked)
269 if (locked) {
amdgpu_mxgpu_nv.c 248 int locked; local in function:xgpu_nv_mailbox_flr_work
258 locked = mutex_trylock(&adev->lock_reset);
259 if (locked)
271 if (locked) {
  /src/sys/external/bsd/drm2/dist/drm/
drm_modeset_lock.c 173 * drm_warn_on_modeset_not_all_locked - check that all modeset locks are locked
208 INIT_LIST_HEAD(&ctx->locked);
234 while (!list_empty(&ctx->locked)) {
237 lock = list_first_entry(&ctx->locked,
272 list_add(&lock->head, &ctx->locked);
276 * without having to keep track of what is already locked
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_modeset_lock.h 38 * @locked: list of held locks
60 struct list_head locked; member in struct:drm_modeset_acquire_ctx
74 * @head: used to hold its place on &drm_atomi_state.locked list when
86 * Resources that are locked as part of an atomic update are added
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_scheduler.c 229 struct intel_engine_cs *locked,
235 GEM_BUG_ON(!locked);
241 * check that the rq still belongs to the newly locked engine.
243 while (locked != (engine = READ_ONCE(rq->engine))) {
244 spin_unlock(&locked->active.lock);
247 locked = engine;
250 GEM_BUG_ON(locked != engine);
251 return locked;
i915_request.c 215 struct intel_engine_cs *engine, *locked; local in function:remove_from_engine
221 * check that the rq still belongs to the newly locked engine.
223 locked = READ_ONCE(rq->engine);
224 spin_lock_irq(&locked->active.lock);
225 while (unlikely(locked != (engine = READ_ONCE(rq->engine)))) {
226 spin_unlock(&locked->active.lock);
228 locked = engine;
233 spin_unlock_irq(&locked->active.lock);
  /src/usr.sbin/sysinst/arch/x68k/
msg.md.en 44 {If the floppy is not locked, you may now remove the disk.
  /src/sys/arch/hppa/hppa/
intr.c 411 bool locked = false; local in function:hppa_intr_dispatch
458 locked = true;
469 if (locked) {
471 locked = false;
  /src/sys/external/bsd/drm2/linux/
linux_ww_mutex.c 239 * True if anyone holds mutex locked at the moment, false if not.
243 * XXX WARNING: This returns true if it is locked by ANYONE. Does
250 int locked; local in function:ww_mutex_is_locked
255 locked = false;
260 locked = true;
268 return locked;
345 * With mutex locked and in the WW_CTX or WW_WANTOWN state, owned
397 * With mutex locked and in the WW_CTX or WW_WANTOWN state, owned
611 goto locked;
667 locked: KASSERT((mutex->wwm_state == WW_CTX) |
    [all...]
  /src/sys/kern/
vfs_getcwd.c 89 * On entry, *lvpp is a locked vnode reference; on exit, it is vput and NULL'ed
90 * On exit, *uvpp is either NULL or is a locked vnode reference.
117 * current directory is still locked.
138 /* At this point, lvp is locked */
321 bool locked = false; local in function:getcwd_common
375 locked = true;
385 if (!locked) {
386 locked = true;
396 } else if (locked) {
  /src/sys/arch/powerpc/pic/
intr.c 484 bool locked = false; local in function:intr_deliver
491 if (!locked) {
493 locked = true;
495 } else if (locked) {
497 locked = false;
501 if (locked) {
  /src/sys/external/bsd/drm2/dist/drm/ttm/
ttm_bo.c 787 * reservation objects should already be locked, so not lock again and
794 struct ttm_operation_ctx *ctx, bool *locked, bool *busy)
803 *locked = false;
808 *locked = ret;
819 * @busy_bo: BO which couldn't be locked with trylock
841 * TODO: It would be better to keep the BO locked until allocation is at
859 bool locked = false; local in function:ttm_mem_evict_first
868 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &locked,
878 if (locked)
906 ctx->no_wait_gpu, locked);
1306 bool locked; local in function:ttm_bo_init_reserved
1916 bool locked; local in function:ttm_bo_swapout
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
nouveau_nvkm_engine_disp_vga.c 135 bool locked = !nvkm_rdvgac(device, 0, 0x1f); local in function:nvkm_lockvgac
145 return locked;
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_userptr.c 504 int locked = 0; local in function:__i915_gem_userptr_get_pages_worker
512 if (!locked) {
514 locked = 1;
521 pvec + pinned, NULL, &locked);
527 if (locked)
  /src/sys/uvm/
uvm_fault.c 259 * => Map, amap and thus anon should be locked by caller.
261 * => If we are successful, return with everything still locked.
266 * by the anon): if successful, return with the owning object locked.
296 bool we_own, locked; local in function:uvmfault_anonget
321 * we have it on loan], then that uobject is locked
404 locked = uvmfault_relock(ufi);
405 if (locked || we_own) {
417 * case (i.e. drop anon lock if not locked).
449 if (locked) {
465 if (locked) {
2123 bool locked; local in function:uvm_fault_lower_io
    [all...]
uvm_loan.c 81 * must be locked. to modify pg->loan_count, both the owner of the page
82 * and pg->interlock must be locked. pg->flags is (as always) locked by
88 * from dying pg->interlock should be locked. this forces us to sometimes
123 * on entry the map is locked by the caller)
170 /* locked: map, amap, uobj */
181 /* locked: if (rv > 0) => map, amap, uobj [o.w. unlocked] */
210 * unlock what we locked, unlock the maps and return
285 * map now locked. now do the loanout...
334 * => called with map, amap, uobj locked
604 bool locked; local in function:uvm_loanuobj
    [all...]
uvm_pdpolicy_clockpro.c 642 clockpro_movereferencebit(struct vm_page *pg, bool locked)
648 KASSERT(!locked || uvm_page_owner_locked_p(pg, false));
649 if (!locked) {
677 if (!locked) {
686 clockpro_clearreferencebit(struct vm_page *pg, bool locked)
691 clockpro_movereferencebit(pg, locked);
  /src/sys/nfs/
nfs_bio.c 1255 bool locked = (ap->a_flags & PGO_LOCKED) != 0; local in function:nfs_getpages
1263 if (locked && rw_lock_op(uobj->vmobjlock) == RW_READER) {
1270 * If we are not locked we are not really using opgs,
1273 if (!locked || npages < __arraycount(spgs))
1286 if (write && locked && v3) {
1312 if (!locked) {
1322 if (!locked) {
1337 if (!locked) {
1358 if (!locked) {
1368 if (!locked) {
    [all...]
  /src/common/lib/libprop/
prop_dictionary.c 630 * Dictionary must be WRITE-LOCKED.
928 * Dictionary must be READ-LOCKED or WRITE-LOCKED.
955 _prop_dictionary_get(prop_dictionary_t pd, const char *key, bool locked)
963 if (!locked) {
971 if (!locked) {
996 bool locked)
1003 return (_prop_dictionary_get(pd, pdk->pdk_key, locked));
1138 * Dictionary must be WRITE-LOCKED.

Completed in 26 milliseconds

1 2