| /freebsd-12-stable/sys/kern/ |
| D | p1003_1b.c | 118 struct sched_param sched_param; 120 e = copyin(uap->param, &sched_param, sizeof(sched_param)); 135 e = kern_sched_setparam(td, targettd, &sched_param); 142 struct sched_param *param) 153 (const struct sched_param *)param); 161 struct sched_param sched_param; 177 e = kern_sched_getparam(td, targettd, &sched_param); 180 e = copyout(&sched_param, uap->param, sizeof(sched_param)); 186 struct sched_param *param) 204 struct sched_param sched_param; [all …]
|
| D | ksched.c | 131 struct thread *td, const struct sched_param *param) in ksched_setparam() 143 struct sched_param *param) in ksched_getparam() 173 const struct sched_param *param) in ksched_setscheduler()
|
| /freebsd-12-stable/sys/sys/ |
| D | posix4.h | 98 struct thread *, const struct sched_param *); 100 struct thread *, struct sched_param *); 103 struct thread *, int, const struct sched_param *);
|
| D | sched.h | 237 struct sched_param { struct 257 int sched_getparam(pid_t, struct sched_param *); argument 260 int sched_setparam(pid_t, const struct sched_param *); 261 int sched_setscheduler(pid_t, int, const struct sched_param *);
|
| D | syscallsubr.h | 60 struct sched_param; 242 struct sched_param *param); 246 struct sched_param *param); 248 int policy, struct sched_param *param);
|
| /freebsd-12-stable/lib/libthr/thread/ |
| D | thr_kern.c | 74 struct sched_param *param) in _rtp_to_schedparam() 94 _schedparam_to_rtp(int policy, const struct sched_param *param, in _schedparam_to_rtp() 116 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler() 129 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler()
|
| D | thr_create.c | 61 struct sched_param sched_param; in _pthread_create() local 173 sched_param.sched_priority = new_thread->attr.prio; in _pthread_create() 175 &sched_param, &rtp); in _pthread_create()
|
| D | thr_init.c | 376 struct sched_param sched_param; in init_main_thread() local 426 &sched_param); in init_main_thread() 427 thread->attr.prio = sched_param.sched_priority; in init_main_thread()
|
| D | thr_private.h | 830 int _thr_getscheduler(lwpid_t, int *, struct sched_param *) __hidden; 831 int _thr_setscheduler(lwpid_t, int, const struct sched_param *) __hidden; 839 struct sched_param *param) __hidden; 840 int _schedparam_to_rtp(int policy, const struct sched_param *param, 1044 struct sched_param * __restrict); 1056 const struct sched_param * __restrict);
|
| D | thr_getprio.c | 47 struct sched_param param; in _pthread_getprio()
|
| D | thr_getschedparam.c | 51 struct sched_param * __restrict param) in _pthread_getschedparam()
|
| D | thr_setprio.c | 47 struct sched_param param; in _pthread_setprio()
|
| D | thr_setschedparam.c | 54 const struct sched_param *param) in _pthread_setschedparam()
|
| /freebsd-12-stable/include/ |
| D | spawn.h | 53 struct sched_param; 101 struct sched_param * __restrict); 112 const struct sched_param * __restrict);
|
| D | pthread.h | 330 struct sched_param *); 337 const struct sched_param *); 341 struct sched_param * __restrict); 343 const struct sched_param *);
|
| /freebsd-12-stable/sys/compat/linux/ |
| D | linux_misc.c | 1402 struct sched_param sched_param; in linux_sched_setscheduler() local 1420 error = copyin(args->param, &sched_param, sizeof(sched_param)); in linux_sched_setscheduler() 1427 if (sched_param.sched_priority != 0) in linux_sched_setscheduler() 1430 sched_param.sched_priority = in linux_sched_setscheduler() 1435 if (sched_param.sched_priority < 1 || in linux_sched_setscheduler() 1436 sched_param.sched_priority >= LINUX_MAX_RT_PRIO) in linux_sched_setscheduler() 1443 sched_param.sched_priority = in linux_sched_setscheduler() 1444 (sched_param.sched_priority - 1) * in linux_sched_setscheduler() 1455 error = kern_sched_setscheduler(td, tdt, policy, &sched_param); in linux_sched_setscheduler() 1928 struct sched_param sched_param; in linux_sched_setparam() local [all …]
|
| /freebsd-12-stable/tools/regression/p1003_1b/ |
| D | prutil.h | 8 struct sched_param; 12 int sched_is(int line, struct sched_param *, int);
|
| D | prutil.c | 37 int sched_is(int line, struct sched_param *p, int shouldbe) in sched_is() 40 struct sched_param param; in sched_is()
|
| D | sched.c | 111 struct sched_param rt_param; in sched() 161 struct sched_param orig_param, shouldbe; in sched()
|
| /freebsd-12-stable/contrib/gcc/ |
| D | gthr-posix.c | 221 struct sched_param *param ATTRIBUTE_UNUSED) in pthread_getschedparam() 229 const struct sched_param *param ATTRIBUTE_UNUSED) in pthread_setschedparam()
|
| D | gthr-posix.h | 309 struct sched_param params; in __gthread_objc_thread_set_priority() 349 struct sched_param params; in __gthread_objc_thread_get_priority()
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
| D | t_spawnattr.c | 80 struct sched_param param; in get_different_priority() 112 struct sched_param sp, child_sp; in ATF_TC_BODY()
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/librt/ |
| D | t_sched.c | 50 struct sched_param s1, s2; in ATF_TC_BODY() 107 struct sched_param sched; in sched_priority_set()
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/libpthread/ |
| D | t_mutex.c | 396 struct sched_param param; in ATF_TC_BODY() 436 struct sched_param param; in high_prio() 467 struct sched_param param; in low_prio() 529 struct sched_param param; in ATF_TC_BODY()
|
| /freebsd-12-stable/lib/libc/gen/ |
| D | posix_spawn.c | 53 struct sched_param sa_schedparam; 520 struct sched_param * __restrict schedparam) in posix_spawnattr_getschedparam() 566 const struct sched_param * __restrict schedparam) in posix_spawnattr_setschedparam()
|