/third_party/ltp/testcases/kernel/syscalls/getpriority/ |
H A D | getpriority02.c | 12 * 2) getpriority(2) fails with -1 and sets errno to ESRCH if no 33 {PRIO_PROCESS, INVAL_ID, ESRCH}, 34 {PRIO_PGRP, INVAL_ID, ESRCH}, 35 {PRIO_USER, INVAL_ID, ESRCH}
|
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/ |
H A D | rbug_core.c | 208 return -ESRCH; in rbug_texture_info() 255 return -ESRCH; in rbug_texture_read() 319 return -ESRCH; in rbug_context_info() 360 return -ESRCH; in rbug_context_draw_block() 385 return -ESRCH; in rbug_context_draw_step() 417 return -ESRCH; in rbug_context_draw_unblock() 450 return -ESRCH; in rbug_context_draw_rule() 482 return -ESRCH; in rbug_context_flush() 512 return -ESRCH; in rbug_shader_list() 546 return -ESRCH; in rbug_shader_info() [all...] |
/third_party/libbpf/src/ |
H A D | usdt.bpf.h | 87 return spec_id_ptr ? *spec_id_ptr : -ESRCH; in __bpf_usdt_spec_id() 102 return -ESRCH; in bpf_usdt_arg_cnt() 106 return -ESRCH; in bpf_usdt_arg_cnt() 127 return -ESRCH; in bpf_usdt_arg() 131 return -ESRCH; in bpf_usdt_arg()
|
/third_party/ltp/testcases/kernel/syscalls/setpriority/ |
H A D | setpriority02.c | 12 * 2) setpriority(2) fails with -1 and sets errno to ESRCH if no 45 {PRIO_PROCESS, INVAL_ID, NEW_PRIO, ESRCH, 0}, 46 {PRIO_PGRP, INVAL_ID, NEW_PRIO, ESRCH, 0}, 47 {PRIO_USER, INVAL_ID, NEW_PRIO, ESRCH, 0},
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill02.c | 241 && errno != ESRCH) { in main() 255 if (kill(pid1, SIGKILL) == -1 && errno != ESRCH) { in main() 817 if (kill(pid1, SIGUSR2) == -1 && errno != ESRCH) { in par_kill() 826 if (kill(pid2, SIGKILL) == -1 && errno != ESRCH) in par_kill() 843 if (kill(pidA, SIGKILL) == -1 && errno != ESRCH) in chld1_kill() 850 if (kill(pidB, SIGKILL) == -1 && errno != ESRCH) in chld1_kill()
|
H A D | kill03.c | 6 * 2) kill() fails with errno set to ESRCH if given a non-existent pid. 7 * 3) kill() fails with errno set to ESRCH if the given pid is INT_MIN. 26 {SIGKILL, ESRCH, &fake_pid}, 27 {SIGKILL, ESRCH, &int_min_pid}
|
H A D | kill13.c | 15 * Without UBSAN kill will always return ESRCH. Regardless of if the 29 TST_EXP_FAIL2(kill(INT_MIN, 0), ESRCH, in run() 30 "kill(INT_MIN, ...) fails with ESRCH"); in run()
|
/third_party/ltp/testcases/kernel/syscalls/getpgid/ |
H A D | getpgid02.c | 11 * Verify that getpgid(2) fails with errno ESRCH when 27 TST_EXP_FAIL2(getpgid(neg_pid), ESRCH, "getpgid(%d)", neg_pid); in run() local 28 TST_EXP_FAIL2(getpgid(unused_pid), ESRCH, "getpgid(%d)", unused_pid); in run() local
|
/third_party/musl/src/thread/ |
H A D | pthread_setschedparam.c | 17 r = !t->tid ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, param, MUSL_TYPE_THREAD); in pthread_setschedparam() 19 r = !t->tid ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, param); in pthread_setschedparam()
|
H A D | pthread_setschedprio.c | 17 r = !t->tid ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, ¶m, MUSL_TYPE_THREAD); in pthread_setschedprio() 19 r = !t->tid ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio); in pthread_setschedprio()
|
H A D | pthread_join.c | 43 if (r == ESRCH || r == EINVAL) return r; in __pthread_timedjoin_np() 68 return ESRCH; in __pthread_join()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
H A D | 4-1.c | 49 if (result == -1 && errno == ESRCH) { in main() 57 if (errno != ESRCH) { in main() 58 perror("errno is not ESRCH"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | getprocpid.c | 69 return ESRCH; in child_func() 103 return (void *)ESRCH; in pthread_func() 164 return ESRCH; in child_func_tid()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/ |
H A D | 3-1.c | 57 if (result == -1 && errno == ESRCH) { in main() 62 if (errno != ESRCH) { in main() 63 perror("Returned error is not ESRCH"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 3-1.c | 79 if ((ret == 0) || (errno != ESRCH)) { in main() 86 if ((ret == 0) || (errno != ESRCH)) { in main()
|
/third_party/rust/crates/nix/src/ |
H A D | errno.rs | 150 ESRCH => "No such process", 1127 ESRCH = libc::ESRCH, 1272 libc::ESRCH => ESRCH, 1417 ESRCH = libc::ESRCH, 1535 libc::ESRCH => ESRCH, 1653 ESRCH [all...] |
/third_party/ltp/testcases/kernel/syscalls/quotactl/ |
H A D | quotactl06.c | 20 * - ESRCH when no disk quota is found for the indicated user and quotas have 22 * - ESRCH when cmd is Q_QUOTAON, but the quota format was not found 23 * - ESRCH when cmd is Q_GETNEXTQUOTA, but there is no ID greater than or 110 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dq, ESRCH, 0, 111 "ESRCH is for Q_SETQUOTA but no quota found for the user or quotas are off"}, 113 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_invalid, usrpath, ESRCH, 0, 114 "ESRCH when cmd is Q_QUOTAON, but the quota format was not found"}, 116 {QCMD(Q_GETNEXTQUOTA, USRQUOTA), &test_invalid, usrpath, ESRCH, 0, 117 "ESRCH for Q_GETNEXTQUOTA, but the id was last one"},
|
/third_party/ltp/testcases/kernel/syscalls/pidfd_getfd/ |
H A D | pidfd_getfd02.c | 16 * - ESRCH the process referred to by pidfd does not exist (it has terminated 41 {"the process referred to by pidfd doesn't exist", NULL, 0, 0, ESRCH}, 84 } else if (tc->exp_errno == ESRCH) { in run()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
H A D | tgkill03.c | 88 { "Defunct tid", &parent_tgid, &defunct_tid, SIGUSR1, ESRCH }, 89 { "Defunct tgid", &defunct_tid, &child_tid, SIGUSR1, ESRCH },
|
/third_party/toybox/toys/lsb/ |
H A D | killall.c | 99 for (i=0; i<toys.optc; i++) TT.err[i] = ESRCH; in killall_main() 113 for (; p; p=p->next) if (kill(p->val, 0) != -1 || errno != ESRCH) ++c; in killall_main()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | pid.c | 212 if (kill(pid, 0) >= 0 || errno != ESRCH) { 351 errno = ESRCH; 366 errno = ESRCH;
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | hangup01.c | 66 if (kill(childpid, 0) == 0 || errno == ESRCH) { in cleanup() 146 while (waitpid(childpid, &status, WNOHANG) < 0 && errno != ESRCH) ; in parent()
|
/third_party/ltp/testcases/kernel/syscalls/getsid/ |
H A D | getsid02.c | 11 * Verify that getsid(2) fails with ESRCH errno when there is no 22 TST_EXP_FAIL(getsid(unused_pid), ESRCH); in run() local
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_sysconfig_files.c | 600 case ESRCH: in ares__init_sysconfig_files() 628 case ESRCH: in ares__init_sysconfig_files() 658 case ESRCH: in ares__init_sysconfig_files() 688 case ESRCH: in ares__init_sysconfig_files()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/ |
H A D | 8-1.c | 8 * Test that the killpg() function shall set errno to ESRCH if it is 29 if (errno != ESRCH) { in main() 31 ("killpg did not set errno to ESRCH even though it was passed an invalid signal number."); in main()
|