/third_party/musl/src/thread/ |
D | pthread_mutex_trylock.c | 25 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()
|
D | mtx_trylock.c | 7 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()
|
D | pthread_mutex_timedlock.c | 59 && !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()
|
D | pthread_rwlock_timedrdlock.c | 8 if (r != EBUSY) return r; in __pthread_rwlock_timedrdlock() 13 while ((r=__pthread_rwlock_tryrdlock(rw))==EBUSY) { in __pthread_rwlock_timedrdlock()
|
D | pthread_rwlock_timedwrlock.c | 8 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/ |
D | pthread_mutex_trylock.c | 20 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()
|
D | pthread_mutex_timedlock.c | 59 && !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/ |
D | dup3.c | 13 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()
|
D | dup2.c | 10 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/ |
D | 1-1.c | 48 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()
|
D | 4-1.c | 36 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/ |
D | pthread_mutex_timedlock.c | 79 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()
|
D | pthread_rwlock_timedwrlock.c | 27 if (r != EBUSY) return r; in __pthread_rwlock_timedwrlock() 32 while ((r=__pthread_rwlock_trywrlock(rw))==EBUSY) { in __pthread_rwlock_timedwrlock()
|
D | pthread_rwlock_timedrdlock.c | 24 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/ |
D | proc01.c | 82 {"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/ |
D | fs_rename.c | 64 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()
|
D | fs_rmdir.c | 58 return -EBUSY; in check_target() 64 return -EBUSY; in check_target() 75 return -EBUSY; in check_target()
|
/third_party/alsa-utils/alsactl/ |
D | lock.c | 64 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/ |
D | umount2.h | 28 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/ |
D | 4-2.c | 43 if (rc != EBUSY) { in main() 45 "though the standard states 'may' fail\n", EBUSY, rc); in main()
|
/third_party/musl/libc-test/src/regression/ |
D | pthread_rwlock-ebusy.c | 13 if (r != EBUSY) in tryrdlock() 21 if (r != EBUSY) in trywrlock()
|
/third_party/selinux/libselinux/src/ |
D | load_policy.c | 281 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/ |
D | 4-1.c | 89 if (rc != EBUSY) { in main() 91 EBUSY, rc, strerror(rc)); in main()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstpoll.c | 240 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/ |
D | errno.rs | 164 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 …]
|