| /freebsd-14.2/sys/kern/ |
| H A D | p1003_1b.c | 115 struct sched_param sched_param; 117 e = copyin(uap->param, &sched_param, sizeof(sched_param)); 139 struct sched_param *param) 150 (const struct sched_param *)param); 158 struct sched_param sched_param; 177 e = copyout(&sched_param, uap->param, sizeof(sched_param)); 183 struct sched_param *param) 201 struct sched_param sched_param; 205 e = copyin(uap->param, &sched_param, sizeof(sched_param)); 221 &sched_param); [all …]
|
| H A D | ksched.c | 129 struct thread *td, const struct sched_param *param) in ksched_setparam() 141 struct sched_param *param) in ksched_getparam() 171 const struct sched_param *param) in ksched_setscheduler()
|
| /freebsd-14.2/sys/sys/ |
| H A D | posix4.h | 94 struct thread *, const struct sched_param *); 96 struct thread *, struct sched_param *); 99 struct thread *, int, const struct sched_param *);
|
| H A D | sched.h | 246 struct sched_param { struct 266 int sched_getparam(pid_t, struct sched_param *); argument 269 int sched_setparam(pid_t, const struct sched_param *); 270 int sched_setscheduler(pid_t, int, const struct sched_param *);
|
| H A D | syscallsubr.h | 58 struct sched_param; 298 struct sched_param *param); 302 struct sched_param *param); 304 int policy, struct sched_param *param);
|
| /freebsd-14.2/lib/libthr/thread/ |
| H A D | thr_kern.c | 68 struct sched_param *param) in _rtp_to_schedparam() 88 _schedparam_to_rtp(int policy, const struct sched_param *param, in _schedparam_to_rtp() 110 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler() 123 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler()
|
| H A D | thr_create.c | 58 struct sched_param sched_param; in _pthread_create() local 169 sched_param.sched_priority = new_thread->attr.prio; in _pthread_create() 171 &sched_param, &rtp); in _pthread_create()
|
| H A D | thr_init.c | 375 struct sched_param sched_param; in init_main_thread() local 425 &sched_param); in init_main_thread() 426 thread->attr.prio = sched_param.sched_priority; in init_main_thread()
|
| H A D | thr_getprio.c | 44 struct sched_param param; in _pthread_getprio()
|
| H A D | thr_private.h | 836 int _thr_getscheduler(lwpid_t, int *, struct sched_param *) __hidden; 837 int _thr_setscheduler(lwpid_t, int, const struct sched_param *) __hidden; 845 struct sched_param *param) __hidden; 846 int _schedparam_to_rtp(int policy, const struct sched_param *param, 1044 struct sched_param * __restrict); 1056 const struct sched_param * __restrict);
|
| H A D | thr_getschedparam.c | 48 struct sched_param * __restrict param) in _pthread_getschedparam()
|
| H A D | thr_setprio.c | 44 struct sched_param param; in _pthread_setprio()
|
| H A D | thr_setschedparam.c | 51 const struct sched_param *param) in _pthread_setschedparam()
|
| /freebsd-14.2/include/ |
| H A D | spawn.h | 51 struct sched_param; 109 struct sched_param * __restrict); 120 const struct sched_param * __restrict);
|
| H A D | pthread.h | 335 struct sched_param *); 342 const struct sched_param *); 346 struct sched_param * __restrict); 348 const struct sched_param *);
|
| /freebsd-14.2/tools/regression/p1003_1b/ |
| H A D | prutil.h | 7 struct sched_param; 11 int sched_is(int line, struct sched_param *, int);
|
| H A D | prutil.c | 36 int sched_is(int line, struct sched_param *p, int shouldbe) in sched_is() 39 struct sched_param param; in sched_is()
|
| H A D | sched.c | 110 struct sched_param rt_param; in sched() 160 struct sched_param orig_param, shouldbe; in sched()
|
| H A D | yield.c | 71 struct sched_param set, got; in yield()
|
| H A D | fifo.c | 88 struct sched_param fifo_param; in fifo()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_misc.c | 1249 struct sched_param sched_param; in linux_sched_setscheduler() local 1267 error = copyin(args->param, &sched_param, sizeof(sched_param)); in linux_sched_setscheduler() 1277 sched_param.sched_priority = in linux_sched_setscheduler() 1290 sched_param.sched_priority = in linux_sched_setscheduler() 1827 struct sched_param sched_param; in linux_sched_setparam() local 1831 error = copyin(uap->param, &sched_param, sizeof(sched_param)); in linux_sched_setparam() 1850 sched_param.sched_priority = in linux_sched_setparam() 1864 sched_param.sched_priority = in linux_sched_setparam() 1881 struct sched_param sched_param; in linux_sched_getparam() local 1911 sched_param.sched_priority = in linux_sched_getparam() [all …]
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
| H A 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-14.2/contrib/netbsd-tests/lib/librt/ |
| H A D | t_sched.c | 50 struct sched_param s1, s2; in ATF_TC_BODY() 107 struct sched_param sched; in sched_priority_set()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_mutex.c | 481 struct sched_param param; in ATF_TC_BODY() 521 struct sched_param param; in high_prio() 552 struct sched_param param; in low_prio() 614 struct sched_param param; in ATF_TC_BODY()
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | posix_spawn.c | 49 struct sched_param sa_schedparam; 612 struct sched_param * __restrict schedparam) in posix_spawnattr_getschedparam() 663 const struct sched_param * __restrict schedparam) in posix_spawnattr_setschedparam()
|