HomeSort by relevance Sort by last modified time
    Searched refs:sched_getparam (Results 26 - 50 of 107) sorted by null

12 3 4 5

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
17-4.c 36 if (sched_getparam(getpid(), &param) == -1) {
37 perror("An error occurs when calling sched_getparam()");
57 if (sched_getparam(getpid(), &param) != 0) {
58 perror("An error occurs when calling sched_getparam()");
19-3.c 31 if (sched_getparam(0, &param) != 0) {
32 perror("An error occurs when calling sched_getparam()");
17-1.c 60 if (sched_getparam(getpid(), &param) != 0) {
61 perror("An error occurs when calling sched_getparam()");
86 if (sched_getparam(getpid(), &param) != 0) {
87 perror("An error occurs when calling sched_getparam()");
17-5.c 47 label = "sched_getparam()";
48 rc = sched_getparam(pid, &param);
64 label = "sched_getparam()";
65 rc = sched_getparam(pid, &param);
17-6.c 76 if (sched_getparam(getpid(), &param) == -1) {
77 perror("An error occurs when calling sched_getparam()");
98 if (sched_getparam(getpid(), &param) != 0) {
99 perror("An error occurs when calling sched_getparam()");
17-7.c 37 if (sched_getparam(getpid(), &param) == -1) {
38 perror("An error occurs when calling sched_getparam()");
75 if (sched_getparam(getpid(), &param) != 0) {
76 perror("An error occurs when calling sched_getparam()");
4-1.c 26 if (sched_getparam(getpid(), &param) != 0) {
27 perror("An error occurs when calling sched_getparam()");
49 if (sched_getparam(getpid(), &param) != 0) {
50 perror("An error occurs when calling sched_getparam()");
19-4.c 33 if (sched_getparam(0, &param) == -1) {
34 perror("An error occurs when calling sched_getparam()");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
1-1.c 11 * Test that sched_getparam() function return the scheduling parameters of a
27 result = sched_getparam(getpid(), &param);
4-1.c 11 * Test that sched_getparam() returns -1 on failure.
14 * sched_getparam with the pid of defunct child.
47 result = sched_getparam(child_pid, &param);
6-1.c 11 * Test that sched_getparam() sets errno == EPERM if the requesting process
89 result = sched_getparam(1, &param);
96 printf("The function sched_getparam has successed.\n");
101 "user to use sched_getparam()");
  /external/ltp/testcases/kernel/syscalls/sched_getparam/
sched_getparam01.c 23 * TEST TITLE : Basic test for sched_getparam(2)
34 * This is a Phase I test for the sched_getparam(2) system call.
93 * Call sched_getparam(2) with pid=0 sothat it will
96 TEST(sched_getparam(0, &param));
105 tst_resm(TPASS, "sched_getparam() returned %ld",
108 tst_resm(TFAIL, "Test Failed, sched_getparam()"
sched_getparam02.c 34 * Verifies functionality of sched_getparam() for a process other than
114 * Call sched_getparam(2) with pid = getppid() sothat
118 TEST(sched_getparam(getppid(), &param));
129 tst_resm(TWARN, "sched_getparam()"
sched_getparam03.c 23 * TEST TITLE : testing error conditions for sched_getparam(2)
35 * 1) sched_getparam(2) returns -1 and sets errno to ESRCH if the
37 * 2) sched_getparam(2) returns -1 and sets errno to EINVAL if
39 * 3) sched_getparam(2) returns -1 and sets errno to EINVAL if the
119 /* Call sched_getparam(2) to test different test
123 TEST(sched_getparam(*(test_cases[ind].pid),
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
25-3.c 30 if (sched_getparam(0, &param) != 0) {
31 perror("An error occurs when calling sched_getparam()");
27-1.c 30 if (sched_getparam(0, &param) == -1) {
31 perror("An error occurs when calling sched_getparam()");
23-6.c 75 if (sched_getparam(0, &param) == -1) {
76 perror("An error occurs when calling sched_getparam()");
88 if (sched_getparam(0, &param) != 0) {
89 perror("An error occurs when calling sched_getparam()");
25-2.c 37 if (sched_getparam(0, &param) != 0) {
38 perror("An error occurs when calling sched_getparam()");
43 perror("An error occurs when calling sched_getparam()");
25-4.c 30 if (sched_getparam(0, &param) == -1) {
31 perror("An error occurs when calling sched_getparam()");
26-1.c 68 if (sched_getparam(0, &param) == -1) {
69 perror("An error occurs when calling sched_getparam()");
1-1.c 59 if (sched_getparam(child_pid, &param) != 0) {
60 perror("An error occurs when calling sched_getparam()");
83 if (sched_getparam(child_pid, &param) != 0) {
84 perror("An error occurs when calling sched_getparam()");
  /bionic/tests/headers/posix/
sched_h.c 58 FUNCTION(sched_getparam, int (*f)(pid_t, struct sched_param*));
  /external/ltp/testcases/kernel/syscalls/sched_setparam/
sched_setparam02.c 34 * and verifies it by calling sched_getparam().
172 if ((sched_getparam(0, &p)) == 0) {
176 tst_resm(TWARN, "sched_getparam() returned priority"
182 tst_resm(TWARN, "sched_getparam() failed");
sched_setparam03.c 184 if ((sched_getparam(0, &p)) == 0) {
188 tst_resm(TWARN, "sched_getparam() returned priority"
194 tst_resm(TWARN, "sched_getparam() failed");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
17-1.c 100 ret = sched_getparam(0, &sp);

Completed in 462 milliseconds

12 3 4 5