Home
last modified time | relevance | path

Searched refs:ESRCH (Results 1 - 25 of 174) sorted by relevance

1234567

/third_party/ltp/testcases/kernel/syscalls/getpriority/
H A Dgetpriority02.c12 * 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 Drbug_core.c208 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 Dusdt.bpf.h87 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 Dsetpriority02.c12 * 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 Dkill02.c241 && 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 Dkill03.c6 * 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 Dkill13.c15 * 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 Dgetpgid02.c11 * 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 Dpthread_setschedparam.c17 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 Dpthread_setschedprio.c17 r = !t->tid ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &param, MUSL_TYPE_THREAD); in pthread_setschedprio()
19 r = !t->tid ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio); in pthread_setschedprio()
H A Dpthread_join.c43 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 D4-1.c49 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 Dgetprocpid.c69 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 D3-1.c57 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 D3-1.c79 if ((ret == 0) || (errno != ESRCH)) { in main()
86 if ((ret == 0) || (errno != ESRCH)) { in main()
/third_party/rust/crates/nix/src/
H A Derrno.rs150 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 Dquotactl06.c20 * - 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 Dpidfd_getfd02.c16 * - 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 Dtgkill03.c88 { "Defunct tid", &parent_tgid, &defunct_tid, SIGUSR1, ESRCH },
89 { "Defunct tgid", &defunct_tid, &child_tid, SIGUSR1, ESRCH },
/third_party/toybox/toys/lsb/
H A Dkillall.c99 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 Dpid.c212 if (kill(pid, 0) >= 0 || errno != ESRCH) {
351 errno = ESRCH;
366 errno = ESRCH;
/third_party/ltp/testcases/kernel/pty/
H A Dhangup01.c66 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 Dgetsid02.c11 * 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 Dares_sysconfig_files.c600 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 D8-1.c8 * 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()

Completed in 12 milliseconds

1234567