Home
last modified time | relevance | path

Searched refs:EBUSY (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/third_party/musl/src/thread/
Dpthread_mutex_trylock.c25 if (own || (old && !(type & 4))) return EBUSY; in __pthread_mutex_trylock_owner()
40 return EBUSY; in __pthread_mutex_trylock_owner()
48 return (type&4) ? ENOTRECOVERABLE : EBUSY; in __pthread_mutex_trylock_owner()
70 return a_cas(&m->_m_lock, 0, EBUSY) & EBUSY; in __pthread_mutex_trylock()
Dmtx_trylock.c7 return (a_cas(&m->_m_lock, 0, EBUSY) & EBUSY) ? thrd_busy : thrd_success; in mtx_trylock()
13 case EBUSY: return thrd_busy; in mtx_trylock()
Dpthread_mutex_timedlock.c59 && !a_cas(&m->_m_lock, 0, EBUSY)) in __pthread_mutex_timedlock()
66 if (r != EBUSY) return r; in __pthread_mutex_timedlock()
73 while ((r=__pthread_mutex_trylock(m)) == EBUSY) { in __pthread_mutex_timedlock()
Dpthread_rwlock_timedrdlock.c8 if (r != EBUSY) return r; in __pthread_rwlock_timedrdlock()
13 while ((r=__pthread_rwlock_tryrdlock(rw))==EBUSY) { in __pthread_rwlock_timedrdlock()
Dpthread_rwlock_timedwrlock.c8 if (r != EBUSY) return r; in __pthread_rwlock_timedwrlock()
13 while ((r=__pthread_rwlock_trywrlock(rw))==EBUSY) { in __pthread_rwlock_timedwrlock()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_mutex_trylock.c20 if (own || (old && !(type & 4))) return EBUSY; in __pthread_mutex_trylock_owner()
33 return EBUSY; in __pthread_mutex_trylock_owner()
55 return a_cas(&m->_m_lock, 0, EBUSY) & EBUSY; in __pthread_mutex_trylock()
Dpthread_mutex_timedlock.c59 && !a_cas(&m->_m_lock, 0, EBUSY)) in __pthread_mutex_timedlock()
66 if (r != EBUSY) return r; in __pthread_mutex_timedlock()
71 while ((r=__pthread_mutex_trylock(m)) == EBUSY) { in __pthread_mutex_timedlock()
/third_party/musl/src/unistd/
Ddup3.c13 while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY); in __dup3()
16 while ((r=__syscall(SYS_dup2, old, new))==-EBUSY); in __dup3()
19 while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY); in __dup3()
Ddup2.c10 while ((r=__syscall(SYS_dup2, old, new))==-EBUSY); in dup2()
16 while ((r=__syscall(SYS_dup3, old, new, 0))==-EBUSY); in dup2()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D1-1.c48 if (rc != EBUSY) { in main()
49 fprintf(stderr, "Expected %d(EBUSY), got %d\n", EBUSY, rc); in main()
63 } else if (rc == EBUSY) { in main()
D4-1.c36 if (rc != EBUSY) { in main()
37 fprintf(stderr, "Expected %d(EBUSY), got %d\n", EBUSY, rc); in main()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_mutex_timedlock.c79 if (r != EBUSY) return r; in __pthread_mutex_timedlock_inner()
83 if (r != EBUSY) return r; in __pthread_mutex_timedlock_inner()
89 while ((r=__pthread_mutex_trylock(m)) == EBUSY) { in __pthread_mutex_timedlock_inner()
111 && !a_cas(&m->_m_lock, 0, EBUSY)) in __pthread_mutex_timedlock()
Dpthread_rwlock_timedwrlock.c27 if (r != EBUSY) return r; in __pthread_rwlock_timedwrlock()
32 while ((r=__pthread_rwlock_trywrlock(rw))==EBUSY) { in __pthread_rwlock_timedwrlock()
Dpthread_rwlock_timedrdlock.c24 if (r != EBUSY) return r; in __pthread_rwlock_timedrdlock()
29 while ((r=__pthread_rwlock_tryrdlock(rw))==EBUSY) { in __pthread_rwlock_timedrdlock()
/third_party/ltp/testcases/kernel/fs/proc/
Dproc01.c82 {"open", "/proc/acpi/event", EBUSY},
83 {"open", "/proc/sal/cpe/data", EBUSY},
84 {"open", "/proc/sal/cmc/data", EBUSY},
85 {"open", "/proc/sal/init/data", EBUSY},
86 {"open", "/proc/sal/mca/data", EBUSY},
/third_party/NuttX/fs/vfs/
Dfs_rename.c64 return -EBUSY; in check_rename_target()
80 return -EBUSY; in check_rename_target()
85 return -EBUSY; in check_rename_target()
100 return -EBUSY; in check_path_invalid()
Dfs_rmdir.c58 return -EBUSY; in check_target()
64 return -EBUSY; in check_target()
75 return -EBUSY; in check_target()
/third_party/alsa-utils/alsactl/
Dlock.c64 if (errno == EBUSY || errno == EAGAIN) { in state_lock_()
79 err = -EBUSY; in state_lock_()
105 err = -EBUSY; in state_lock_()
/third_party/ltp/testcases/kernel/syscalls/umount2/
Dumount2.h28 if (ret == 0 || errno != EBUSY) in umount2_retry()
40 errno = EBUSY; in umount2_retry()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/speculative/
D4-2.c43 if (rc != EBUSY) { in main()
45 "though the standard states 'may' fail\n", EBUSY, rc); in main()
/third_party/musl/libc-test/src/regression/
Dpthread_rwlock-ebusy.c13 if (r != EBUSY) in tryrdlock()
21 if (r != EBUSY) in trywrlock()
/third_party/selinux/libselinux/src/
Dload_policy.c281 if (mount("sysfs", "/sys", "sysfs", 0, 0) == 0 || errno == EBUSY) { in selinux_init_load_policy()
283 if (mount(SELINUXFS, SELINUXMNT, SELINUXFS, MS_NOEXEC | MS_NOSUID, 0) == 0 || errno == EBUSY) { in selinux_init_load_policy()
287 if (mount(SELINUXFS, OLDSELINUXMNT, SELINUXFS, 0, 0) == 0 || errno == EBUSY) { in selinux_init_load_policy()
293 if (mount(SELINUXFS, OLDSELINUXMNT, SELINUXFS, 0, 0) == 0 || errno == EBUSY) { in selinux_init_load_policy()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/
D4-1.c89 if (rc != EBUSY) { in main()
91 EBUSY, rc, strerror(rc)); in main()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstpoll.c240 fail_unless (gst_poll_wait (set, GST_SECOND) == -1 && errno == EBUSY, in GST_START_TEST()
242 fail_unless (gst_poll_wait (set, GST_SECOND) == -1 && errno == EBUSY, in GST_START_TEST()
250 fail_unless (gst_poll_wait (set, GST_SECOND) == -1 && errno == EBUSY, in GST_START_TEST()
252 fail_unless (gst_poll_wait (set, GST_SECOND) == -1 && errno == EBUSY, in GST_START_TEST()
/third_party/rust/crates/nix/src/
Derrno.rs164 EBUSY => "Device or resource busy", in desc()
1140 EBUSY = libc::EBUSY, enumerator
1285 libc::EBUSY => EBUSY, in from_i32()
1430 EBUSY = libc::EBUSY, enumerator
1548 libc::EBUSY => EBUSY, in from_i32()
1666 EBUSY = libc::EBUSY, enumerator
1775 libc::EBUSY => EBUSY, in from_i32()
1883 EBUSY = libc::EBUSY, enumerator
1992 libc::EBUSY => EBUSY, in from_i32()
2098 EBUSY = libc::EBUSY, enumerator
[all …]

12345678910>>...13