Home
last modified time | relevance | path

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

123456

/linux-6.15/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-6.15/drivers/gpu/drm/i915/display/
H A Dintel_modeset_lock.c20 *ret = -EDEADLK; in _intel_modeset_lock_begin()
25 if (*ret == -EDEADLK) { in _intel_modeset_lock_loop()
37 if (*ret == -EDEADLK) { in _intel_modeset_lock_end()
43 *ret = -EDEADLK; in _intel_modeset_lock_end()
H A Dintel_display_reset.c47 if (ret != -EDEADLK) in intel_display_reset_prepare()
97 drm_WARN_ON(display->drm, ret == -EDEADLK); in intel_display_reset_finish()
/linux-6.15/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()
/linux-6.15/fs/dlm/
H A Dutil.c29 case -EDEADLK: in to_dlm_errno()
51 return -EDEADLK; in from_dlm_errno()
/linux-6.15/tools/include/uapi/asm-generic/
H A Derrno.h7 #define EDEADLK 35 /* Resource deadlock would occur */ macro
40 #define EDEADLOCK EDEADLK
/linux-6.15/include/uapi/asm-generic/
H A Derrno.h7 #define EDEADLK 35 /* Resource deadlock would occur */ macro
40 #define EDEADLOCK EDEADLK
/linux-6.15/tools/arch/parisc/include/uapi/asm/
H A Derrno.h17 #define EDEADLK 45 /* Resource deadlock would occur */ macro
18 #define EDEADLOCK EDEADLK
/linux-6.15/tools/arch/alpha/include/uapi/asm/
H A Derrno.h9 #define EDEADLK 11 /* Resource deadlock would occur */ macro
83 #define EDEADLOCK EDEADLK
/linux-6.15/arch/parisc/include/uapi/asm/
H A Derrno.h17 #define EDEADLK 45 /* Resource deadlock would occur */ macro
18 #define EDEADLOCK EDEADLK
/linux-6.15/arch/alpha/include/uapi/asm/
H A Derrno.h9 #define EDEADLK 11 /* Resource deadlock would occur */ macro
83 #define EDEADLOCK EDEADLK
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtimer_lockup.c90 if (*timer1_err != -EDEADLK && *timer1_err != 0) in test_timer_lockup()
92 if (*timer2_err != -EDEADLK && *timer2_err != 0) in test_timer_lockup()
H A Dres_spin_lock.c95 ASSERT_EQ(READ_ONCE(skel->bss->err), -EDEADLK, "timeout err"); in test_res_spin_lock_success()
97 ASSERT_EQ(topts.retval, -EDEADLK, "timeout"); in test_res_spin_lock_success()
/linux-6.15/kernel/locking/
H A Dtest-ww_mutex.c206 if (abba->resolve && err == -EDEADLK) { in test_abba_work()
248 if (resolve && err == -EDEADLK) { in test_abba()
270 if (err != -EDEADLK && abba.result != -EDEADLK) { in test_abba()
301 if (err == -EDEADLK) { in test_cycle_work()
466 if (err == -EDEADLK) { in stress_inorder_work()
525 if (err != -EDEADLK) { in stress_reorder_work()
/linux-6.15/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-6.15/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-6.15/drivers/gpu/drm/
H A Ddrm_probe_helper.c368 if (ret == -EDEADLK) { in drm_helper_probe_detect_ctx()
489 if (drm_WARN_ON_ONCE(dev, ret != -EDEADLK)) in __drm_helper_update_and_validate()
492 return -EDEADLK; in __drm_helper_update_and_validate()
576 if (ret == -EDEADLK) { in drm_helper_probe_single_connector_modes()
599 if (ret == -EDEADLK) { in drm_helper_probe_single_connector_modes()
665 if (ret == -EDEADLK) { in drm_helper_probe_single_connector_modes()
684 if (ret == -EDEADLK) { in drm_helper_probe_single_connector_modes()
H A Ddrm_exec.c226 if (unlikely(ret == -EDEADLK)) { in drm_exec_lock_obj()
229 return -EDEADLK; in drm_exec_lock_obj()
H A Ddrm_modeset_lock.c160 if (ret == -EDEADLK) { in drm_modeset_lock_all()
326 } else if (ret == -EDEADLK) { in modeset_lock()
/linux-6.15/kernel/bpf/
H A Drqspinlock.c111 return -EDEADLK; in check_deadlock_AA()
190 return -EDEADLK; in check_deadlock_ABBA()
543 ret = -EDEADLK; in resilient_queued_spin_lock_slowpath()
/linux-6.15/lib/
H A Derrname.c42 E(EDEADLK), /* EDEADLOCK */
43 #if EDEADLK != EDEADLOCK /* mips, sparc, powerpc */
/linux-6.15/tools/arch/mips/include/uapi/asm/
H A Derrno.h28 #define EDEADLK 45 /* Resource deadlock would occur */ macro
/linux-6.15/tools/arch/sparc/include/uapi/asm/
H A Derrno.h52 #define EDEADLK 78 /* Resource deadlock would occur */ macro
/linux-6.15/tools/lib/bpf/
H A Dstr_error.c58 case -EDEADLK: return "-EDEADLK"; in libbpf_errstr()
/linux-6.15/arch/sparc/include/uapi/asm/
H A Derrno.h52 #define EDEADLK 78 /* Resource deadlock would occur */ macro

123456