Home
last modified time | relevance | path

Searched refs:sched_rr_get_interval (Results 1 - 25 of 32) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/sched_rr_get_interval/
H A Dsched_rr_get_interval03.c7 * 1) sched_rr_get_interval() fails with errno set to EINVAL for an
9 * 2) sched_rr_get_interval() fails with errno set to ESRCH if the
11 * 3) sched_rr_get_interval() fails with errno set to EFAULT if the
37 { .sched_rr_get_interval = libc_sched_rr_get_interval, .ts_type = TST_LIBC_TIMESPEC, .desc = "vDSO or syscall with libc spec"},
40 { .sched_rr_get_interval = sys_sched_rr_get_interval, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"},
44 { .sched_rr_get_interval = sys_sched_rr_get_interval64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"},
71 && tv->sched_rr_get_interval == libc_sched_rr_get_interval) { in run()
81 TST_EXP_FAIL(tv->sched_rr_get_interval(*tc->pid, ts), tc->exp_errno, in run()
82 "sched_rr_get_interval(%i, %p)", *tc->pid, ts); in run()
H A Dsched_rr_get_interval02.c7 * sched_rr_get_interval() writes zero into timespec structure
18 { .sched_rr_get_interval = libc_sched_rr_get_interval, .ts_type = TST_LIBC_TIMESPEC, .desc = "vDSO or syscall with libc spec"},
21 { .sched_rr_get_interval = sys_sched_rr_get_interval, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"},
25 { .sched_rr_get_interval = sys_sched_rr_get_interval64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"},
49 TEST(tv->sched_rr_get_interval(0, tst_ts_get(&tp))); in run()
52 tst_res(TPASS, "sched_rr_get_interval() passed"); in run()
55 "sched_rr_get_interval() returned %ld, tp.tv_sec = %lld, tp.tv_nsec = %lld", in run()
H A Dsched_rr_get_interval01.c6 * Gets round-robin time quantum by calling sched_rr_get_interval() and
24 { .sched_rr_get_interval = libc_sched_rr_get_interval, .ts_type = TST_LIBC_TIMESPEC, .desc = "vDSO or syscall with libc spec"},
27 { .sched_rr_get_interval = sys_sched_rr_get_interval, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"},
31 { .sched_rr_get_interval = sys_sched_rr_get_interval64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"},
54 TEST(tv->sched_rr_get_interval(0, tst_ts_get(&tp))); in run()
57 tst_res(TPASS, "sched_rr_get_interval() passed"); in run()
59 tst_res(TFAIL | TTERRNO, "Test Failed, sched_rr_get_interval() returned %ld", in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
H A D1-1.c44 result0 = sched_rr_get_interval(0, &interval0); in main()
45 result1 = sched_rr_get_interval(getpid(), &interval1); in main()
H A D2-1.c11 * sched_rr_get_interval() returns 0 on success.
36 result = sched_rr_get_interval(0, &interval); in main()
H A D3-1.c11 * Test that sched_rr_get_interval() returns -1 on failure.
14 * sched_rr_get_interval with the pid of defunct child.
55 result = sched_rr_get_interval(child_pid, &interval); in main()
/third_party/musl/libc-test/src/functionalext/supplement/sched/
H A Dsched_rr_get_interval.c34 int result = sched_rr_get_interval(pid, &ts); in sched_rr_get_interval_0100()
57 int result = sched_rr_get_interval(pid, &ts); in sched_rr_get_interval_0200()
/third_party/musl/porting/liteos_a/user/include/
H A Dsched.h32 int sched_rr_get_interval(pid_t, struct timespec *);
137 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dsched.h24 int sched_rr_get_interval(pid_t, struct timespec *);
129 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dsched.h24 int sched_rr_get_interval(pid_t, struct timespec *);
129 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dsched.h25 int sched_rr_get_interval(pid_t, struct timespec *);
128 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/porting/uniproton/kernel/include/
H A Dsched.h24 int sched_rr_get_interval(pid_t, struct timespec *);
129 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
H A D15-1-buildonly.c12 * int sched_rr_get_interval(pid_t, struct timespec *);
25 dummyvar = sched_rr_get_interval; in dummyfcn()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/speculative/
H A D5-1.c11 * Test if sched_rr_get_interval() sets errno == EFAULT or EINVAL if *interval
27 result = sched_rr_get_interval(0, NULL); in main()
31 ("sched_rr_get_interval() sets errno == EFAULT when interval argument points to NULL\n"); in main()
36 ("sched_rr_get_interval() sets errno == EINVAL when interval argument points to NULL\n"); in main()
40 printf("sched_rr_get_interval() return %i and sets errno == %i.\n", in main()
/third_party/musl/compat/time32/
H A Dsched_rr_get_interval_time32.c8 int r = sched_rr_get_interval(pid, &ts); in __sched_rr_get_interval_time32()
/third_party/musl/src/sched/
H A Dsched_rr_get_interval.c4 int sched_rr_get_interval(pid_t pid, struct timespec *ts) in sched_rr_get_interval() function
/third_party/musl/porting/linux/user/include/
H A Dsched.h37 int sched_rr_get_interval(pid_t, struct timespec *);
145 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/porting/liteos_m/user/include/
H A Dsched.h37 int sched_rr_get_interval(pid_t, struct timespec *);
141 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/include/
H A Dsched.h49 int sched_rr_get_interval(pid_t, struct timespec *);
155 __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
/third_party/musl/libc-test/src/api/
H A Dsched.c33 {int(*p)(pid_t,struct timespec*) = sched_rr_get_interval;} in f()
/third_party/ltp/include/
H A Dtime64_variants.h52 int (*sched_rr_get_interval)(pid_t pid, void *ts); member
H A Dtst_timer.h316 return sched_rr_get_interval(pid, ts); in libc_sched_rr_get_interval()
/third_party/musl/libc-test/src/common/
H A Dtest.h78 #define __sched_rr_get_interval_time64 sched_rr_get_interval
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs1636 pub fn sched_rr_get_interval(pid: ::pid_t, t: *mut ::timespec) -> ::c_int; in sched_rr_get_interval() functions
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
H A Dmod.rs2779 pub fn sched_rr_get_interval(pid: ::pid_t, t: *mut ::timespec) -> ::c_int; in sched_rr_get_interval() functions

Completed in 24 milliseconds

12