/third_party/ltp/testcases/kernel/syscalls/sched_rr_get_interval/ |
H A D | sched_rr_get_interval03.c | 7 * 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 D | sched_rr_get_interval02.c | 7 * 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 D | sched_rr_get_interval01.c | 6 * 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 D | 1-1.c | 44 result0 = sched_rr_get_interval(0, &interval0); in main() 45 result1 = sched_rr_get_interval(getpid(), &interval1); in main()
|
H A D | 2-1.c | 11 * sched_rr_get_interval() returns 0 on success. 36 result = sched_rr_get_interval(0, &interval); in main()
|
H A D | 3-1.c | 11 * 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 D | sched_rr_get_interval.c | 34 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 D | sched.h | 32 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 D | sched.h | 24 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 D | sched.h | 24 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 D | sched.h | 25 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 D | sched.h | 24 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 D | 15-1-buildonly.c | 12 * 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 D | 5-1.c | 11 * 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 D | sched_rr_get_interval_time32.c | 8 int r = sched_rr_get_interval(pid, &ts); in __sched_rr_get_interval_time32()
|
/third_party/musl/src/sched/ |
H A D | sched_rr_get_interval.c | 4 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 D | sched.h | 37 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 D | sched.h | 37 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 D | sched.h | 49 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 D | sched.c | 33 {int(*p)(pid_t,struct timespec*) = sched_rr_get_interval;} in f()
|
/third_party/ltp/include/ |
H A D | time64_variants.h | 52 int (*sched_rr_get_interval)(pid_t pid, void *ts); member
|
H A D | tst_timer.h | 316 return sched_rr_get_interval(pid, ts); in libc_sched_rr_get_interval()
|
/third_party/musl/libc-test/src/common/ |
H A D | test.h | 78 #define __sched_rr_get_interval_time64 sched_rr_get_interval
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 1636 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 D | mod.rs | 2779 pub fn sched_rr_get_interval(pid: ::pid_t, t: *mut ::timespec) -> ::c_int; in sched_rr_get_interval() functions
|