Home
last modified time | relevance | path

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

123456

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Derrno.h9 #define EDEADLK 35 macro
32 #define EDEADLOCK EDEADLK
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
Derrno.h7 #define EDEADLK 35 /* Resource deadlock would occur */ macro
40 #define EDEADLOCK EDEADLK
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Derrno.h22 #define EDEADLK 35 macro
45 #define EDEADLOCK EDEADLK
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Derrno.h7 #define EDEADLK 35 /* Resource deadlock would occur */ macro
40 #define EDEADLOCK EDEADLK
/kernel/linux/linux-5.10/tools/arch/alpha/include/uapi/asm/
Derrno.h9 #define EDEADLK 11 /* Resource deadlock would occur */ macro
83 #define EDEADLOCK EDEADLK
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Derrno.h17 #define EDEADLK 45 /* Resource deadlock would occur */ macro
18 #define EDEADLOCK EDEADLK
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Derrno.h9 #define EDEADLK 11 /* Resource deadlock would occur */ macro
83 #define EDEADLOCK EDEADLK
/kernel/linux/linux-5.10/tools/arch/parisc/include/uapi/asm/
Derrno.h17 #define EDEADLK 45 /* Resource deadlock would occur */ macro
18 #define EDEADLOCK EDEADLK
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_050.c48 ICUNIT_GOTO_EQUAL(ret, EDEADLK, ret, EXIT); in TaskF01()
51 ICUNIT_GOTO_EQUAL(ret, EDEADLK, ret, EXIT); in TaskF01()
DIt_posix_mutex_099.c56 ICUNIT_TRACK_EQUAL(ret, EDEADLK, ret); in TaskF01()
77 ICUNIT_TRACK_EQUAL(ret, EDEADLK, ret); in TaskF02()
DIt_posix_mutex_077.c105 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
108 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
DIt_posix_mutex_094.c54 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
DIt_posix_mutex_078.c57 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
/kernel/linux/linux-5.10/kernel/locking/
Dtest-ww_mutex.c170 if (abba->resolve && err == -EDEADLK) { in test_abba_work()
206 if (resolve && err == -EDEADLK) { in test_abba()
228 if (err != -EDEADLK && abba.result != -EDEADLK) { in test_abba()
259 if (err == -EDEADLK) { in test_cycle_work()
414 if (err == -EDEADLK) { in stress_inorder_work()
473 if (err != -EDEADLK) { in stress_reorder_work()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_009.cpp98 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in TestCase()
101 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in TestCase()
Dpthread_mutex_test_011.cpp51 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in TestCase()
Dpthread_mutex_test_012.cpp56 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in TestCase()
/kernel/liteos_m/testsuites/sample/posix/mutex/
DIt_posix_mutex_035.c98 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
101 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
DIt_posix_mutex_033.c50 ICUNIT_ASSERT_EQUAL(ret, EDEADLK, ret); in Testcase()
/kernel/linux/linux-5.10/Documentation/locking/
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 …]
/kernel/liteos_m/kal/posix/src/
Dpthread_mutex.c57 return EDEADLK; in MapError()
362 return EDEADLK; in pthread_mutex_timedlock()
409 return EDEADLK; in pthread_mutex_lock()
/kernel/linux/linux-5.10/lib/
Dlocking-selftest.c1621 WARN_ON(ret != -EDEADLK); in ww_test_fail_acquire()
1778 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_normal()
1804 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_normal_slow()
1830 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_no_unlock()
1855 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_no_unlock_slow()
1880 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_acquire_more()
1901 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_acquire_more_slow()
1926 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_acquire_more_edeadlk()
1929 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_acquire_more_edeadlk()
1952 WARN_ON(ret != -EDEADLK); in ww_test_edeadlk_acquire_more_edeadlk_slow()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modeset_lock.c112 if (ret == -EDEADLK) { in drm_modeset_lock_all()
275 } else if (ret == -EDEADLK) { in modeset_lock()
Ddrm_probe_helper.c300 if (ret == -EDEADLK) { in drm_helper_probe_detect_ctx()
438 if (ret == -EDEADLK) { in drm_helper_probe_single_connector_modes()
461 if (ret == -EDEADLK) { in drm_helper_probe_single_connector_modes()
557 if (drm_WARN_ON_ONCE(dev, ret != -EDEADLK)) { in drm_helper_probe_single_connector_modes()
/kernel/linux/linux-5.10/fs/dlm/
Dutil.c45 case -EDEADLK: in to_dlm_errno()
67 return -EDEADLK; in from_dlm_errno()

123456