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

1 2

  /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/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/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/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/compiler_rt/dist/lib/sanitizer_common/
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
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...]
  /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/arch/hppa/hppa/
intr.c 411 bool locked = false; local in function:hppa_intr_dispatch
458 locked = true;
469 if (locked) {
471 locked = false;
pmap.c 583 bool locked = true; local in function:pmap_resolve_alias
586 locked = pmap_trylock(ppm);
589 if (!locked) {
1628 bool locked; local in function:pmap_page_remove
1659 locked = pmap_trylock(pmap);
1660 if (!locked) {
  /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) {
sys_ptrace_common.c 326 bool *locked)
328 *locked = false;
337 *locked = true;
1093 bool locked; local in function:do_ptrace
1113 if ((error = ptrace_allowed(l, req, t, p, &locked)) != 0)
1509 if (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_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_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_page.c 1053 * While we have the bucket locked and our data
1118 * => if obj != NULL, obj must be locked (to put in obj's tree)
1119 * => if anon != NULL, anon must be locked (to put in anon)
1315 * => object must be locked
1358 * => both objects must be locked
1418 bool locked; local in function:uvm_pagefree
1460 locked = true;
1495 locked = true;
1497 locked = false;
1520 if (locked) {
    [all...]
  /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/sys/external/bsd/drm2/dist/drm/i915/
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/sys/dev/usb/
usbdi.c 948 bool locked = false; local in function:usbd_set_interface
958 locked = true;
972 if (locked)
usb_subr.c 435 * usbd_iface_lock/locked/unlock, usbd_iface_piperef/pipeunref
447 bool locked; local in function:usbd_iface_locked
450 locked = (iface->ui_busy == -1);
453 return locked;
473 KASSERTMSG(iface->ui_busy != -1, "interface is locked");
491 KASSERTMSG(iface->ui_busy == -1, "interface is not locked,"
520 KASSERTMSG(iface->ui_busy != -1, "interface is 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/dev/pci/cxgb/
cxgb_main.c 174 u32 locked:1; member in struct:filter_info
  /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...]

Completed in 49 milliseconds

1 2