Home
last modified time | relevance | path

Searched refs:EDEADLK (Results 1 – 25 of 61) sorted by relevance

123

/linux/drivers/gpu/drm/i915/
H A Di915_gem_ww.h25 if (err == -EDEADLK) { in __i915_gem_ww_fini()
28 err = -EDEADLK; in __i915_gem_ww_fini()
31 if (err != -EDEADLK) in __i915_gem_ww_fini()
38 for (i915_gem_ww_ctx_init(_ww, _intr), (_err) = -EDEADLK; \
39 (_err) == -EDEADLK; \
/linux/tools/testing/selftests/bpf/progs/
H A Dres_spin_lock.c8 #define EDEADLK 35 macro
48 return r != -EDEADLK; in res_spin_lock_test()
79 err = -EDEADLK; in res_spin_lock_test_BA()
H A Dtimer.c225 if (bpf_timer_cancel(&val->timer) != -EDEADLK) in timer_cb2()
246 if (bpf_timer_cancel(&val->timer) != -EDEADLK) in bpf_timer_test()
/linux/fs/dlm/
H A Dutil.c29 case -EDEADLK: in to_dlm_errno()
51 return -EDEADLK; in from_dlm_errno()
/linux/kernel/bpf/
H A Drqspinlock.c110 return -EDEADLK; in check_deadlock_AA()
188 return -EDEADLK; in check_deadlock_ABBA()
207 return -EDEADLK; in check_timeout()
450 ret = -EDEADLK; in resilient_queued_spin_lock_slowpath()
476 ret = -EDEADLK; in resilient_queued_spin_lock_slowpath()
574 if (ret == -EDEADLK) { in resilient_queued_spin_lock_slowpath()
/linux/tools/include/uapi/asm-generic/
H A Derrno.h7 #define EDEADLK 35 /* Resource deadlock would occur */ macro
40 #define EDEADLOCK EDEADLK
/linux/tools/arch/alpha/include/uapi/asm/
H A Derrno.h9 #define EDEADLK 11 /* Resource deadlock would occur */ macro
84 #define EDEADLOCK EDEADLK
/linux/tools/arch/parisc/include/uapi/asm/
H A Derrno.h17 #define EDEADLK 45 /* Resource deadlock would occur */ macro
18 #define EDEADLOCK EDEADLK
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtimer_lockup.c94 if (*timer1_err != -EDEADLK && *timer1_err != 0) in test_timer_lockup()
96 if (*timer2_err != -EDEADLK && *timer2_err != 0) in test_timer_lockup()
H A Dres_spin_lock.c97 ASSERT_EQ(READ_ONCE(skel->bss->err), -EDEADLK, "timeout err"); in test_res_spin_lock_success()
99 ASSERT_EQ(topts.retval, -EDEADLK, "timeout"); in test_res_spin_lock_success()
H A Dhtab_update.c55 * bpf_map_update_elem(), triggering -EDEADLK. in test_reenter_update()
62 ASSERT_EQ(skel->bss->update_err, -EDEADLK, "no reentrancy"); in test_reenter_update()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c129 if (ret == -EDEADLK) in nv50_edp_get_brightness()
139 if (ret == -EDEADLK) in nv50_edp_get_brightness()
172 if (ret == -EDEADLK) in nv50_edp_set_brightness()
182 if (ret == -EDEADLK) in nv50_edp_set_brightness()
/linux/kernel/locking/
H A Dtest-ww_mutex.c208 if (abba->resolve && err == -EDEADLK) { in test_abba_work()
251 if (resolve && err == -EDEADLK) { in test_abba()
273 if (err != -EDEADLK && abba.result != -EDEADLK) { in test_abba()
305 if (err == -EDEADLK) { in test_cycle_work()
472 if (err == -EDEADLK) { in stress_inorder_work()
531 if (err != -EDEADLK) { in stress_reorder_work()
/linux/Documentation/locking/
H A Dww-mutex-design.rst55 -EDEADLK) following a wound.
87 prematurely return -EDEADLK. The advantage of the _slow functions is in
96 block on the contending lock (preventing spinning through the -EDEADLK
172 if (ret == -EDEADLK) {
201 if (ret != -EDEADLK) {
251 different when retrying due to hitting the -EDEADLK die condition) there's
261 when the dynamic locking step hits -EDEADLK we also need to unlock all the
305 if (ret == -EDEADLK) {
374 - Attempting to lock the wrong mutex after -EDEADLK and
376 - Attempting to lock the right mutex after -EDEADLK,
[all …]
/linux/lib/
H A Derrname.c42 E(EDEADLK), /* EDEADLOCK */
43 #if EDEADLK != EDEADLOCK /* mips, sparc, powerpc */
/linux/tools/arch/mips/include/uapi/asm/
H A Derrno.h28 #define EDEADLK 45 /* Resource deadlock would occur */ macro
/linux/tools/arch/sparc/include/uapi/asm/
H A Derrno.h53 #define EDEADLK 78 /* Resource deadlock would occur */
52 #define EDEADLK global() macro
/linux/drivers/gpu/drm/radeon/
H A Dradeon_fence.c507 r = -EDEADLK; in radeon_fence_wait_seq_timeout()
628 if (r == -EDEADLK) in radeon_fence_wait_empty()
629 return -EDEADLK; in radeon_fence_wait_empty()
1036 t = -EDEADLK; in radeon_fence_default_wait()
/linux/include/drm/
H A Ddrm_modeset_lock.h205 if (ret == -EDEADLK) { \
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c133 if (err == -EDEADLK) { in i915_gem_begin_cpu_access()
157 if (err == -EDEADLK) { in i915_gem_end_cpu_access()
/linux/net/9p/
H A Derror.c75 {"Resource deadlock avoided", EDEADLK},
/linux/fs/nfs_common/
H A Dcommon.c104 { NFS4ERR_DEADLOCK, -EDEADLK },
/linux/fs/afs/
H A Dmisc.c83 case UAEDEADLK: return -EDEADLK; in afs_abort_to_error()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_context.c320 if (err == -EDEADLK) { in __intel_context_do_pin()
521 } else if (err == -EDEADLK) { in intel_context_create_request()
/linux/tools/lib/bpf/
H A Dlibbpf_utils.c103 case -EDEADLK: return "-EDEADLK"; in libbpf_errstr()

123