Home
last modified time | relevance | path

Searched refs:sched_param (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-13.1/sys/kern/
H A Dp1003_1b.c118 struct sched_param sched_param;
120 e = copyin(uap->param, &sched_param, sizeof(sched_param));
142 struct sched_param *param)
153 (const struct sched_param *)param);
161 struct sched_param sched_param;
180 e = copyout(&sched_param, uap->param, sizeof(sched_param));
186 struct sched_param *param)
204 struct sched_param sched_param;
208 e = copyin(uap->param, &sched_param, sizeof(sched_param));
224 &sched_param);
[all …]
H A Dksched.c131 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-13.1/sys/sys/
H A Dposix4.h96 struct thread *, const struct sched_param *);
98 struct thread *, struct sched_param *);
101 struct thread *, int, const struct sched_param *);
H A Dsched.h245 struct sched_param { struct
265 int sched_getparam(pid_t, struct sched_param *); argument
268 int sched_setparam(pid_t, const struct sched_param *);
269 int sched_setscheduler(pid_t, int, const struct sched_param *);
H A Dsyscallsubr.h59 struct sched_param;
257 struct sched_param *param);
261 struct sched_param *param);
263 int policy, struct sched_param *param);
/freebsd-13.1/lib/libthr/thread/
H A Dthr_kern.c70 struct sched_param *param) in _rtp_to_schedparam()
90 _schedparam_to_rtp(int policy, const struct sched_param *param, in _schedparam_to_rtp()
112 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler()
125 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler()
H A Dthr_create.c61 struct sched_param sched_param; in _pthread_create() local
172 sched_param.sched_priority = new_thread->attr.prio; in _pthread_create()
174 &sched_param, &rtp); in _pthread_create()
H A Dthr_init.c376 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()
H A Dthr_getprio.c47 struct sched_param param; in _pthread_getprio()
H A Dthr_private.h839 int _thr_getscheduler(lwpid_t, int *, struct sched_param *) __hidden;
840 int _thr_setscheduler(lwpid_t, int, const struct sched_param *) __hidden;
848 struct sched_param *param) __hidden;
849 int _schedparam_to_rtp(int policy, const struct sched_param *param,
1047 struct sched_param * __restrict);
1059 const struct sched_param * __restrict);
H A Dthr_getschedparam.c51 struct sched_param * __restrict param) in _pthread_getschedparam()
H A Dthr_setprio.c47 struct sched_param param; in _pthread_setprio()
H A Dthr_setschedparam.c54 const struct sched_param *param) in _pthread_setschedparam()
/freebsd-13.1/include/
H A Dspawn.h53 struct sched_param;
110 struct sched_param * __restrict);
121 const struct sched_param * __restrict);
H A Dpthread.h330 struct sched_param *);
337 const struct sched_param *);
341 struct sched_param * __restrict);
343 const struct sched_param *);
/freebsd-13.1/tools/regression/p1003_1b/
H A Dprutil.h8 struct sched_param;
12 int sched_is(int line, struct sched_param *, int);
H A Dprutil.c37 int sched_is(int line, struct sched_param *p, int shouldbe) in sched_is()
40 struct sched_param param; in sched_is()
H A Dsched.c111 struct sched_param rt_param; in sched()
161 struct sched_param orig_param, shouldbe; in sched()
H A Dyield.c72 struct sched_param set, got; in yield()
H A Dfifo.c90 struct sched_param fifo_param; in fifo()
/freebsd-13.1/sys/compat/linux/
H A Dlinux_misc.c1492 struct sched_param sched_param; in linux_sched_setscheduler() local
1510 error = copyin(args->param, &sched_param, sizeof(sched_param)); in linux_sched_setscheduler()
1520 sched_param.sched_priority = in linux_sched_setscheduler()
1533 sched_param.sched_priority = in linux_sched_setscheduler()
2077 struct sched_param sched_param; in linux_sched_setparam() local
2081 error = copyin(uap->param, &sched_param, sizeof(sched_param)); in linux_sched_setparam()
2100 sched_param.sched_priority = in linux_sched_setparam()
2114 sched_param.sched_priority = in linux_sched_setparam()
2131 struct sched_param sched_param; in linux_sched_getparam() local
2161 sched_param.sched_priority = in linux_sched_getparam()
[all …]
/freebsd-13.1/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_spawnattr.c80 struct sched_param param; in get_different_priority()
112 struct sched_param sp, child_sp; in ATF_TC_BODY()
/freebsd-13.1/contrib/netbsd-tests/lib/librt/
H A Dt_sched.c50 struct sched_param s1, s2; in ATF_TC_BODY()
107 struct sched_param sched; in sched_priority_set()
/freebsd-13.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_mutex.c481 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-13.1/lib/libc/gen/
H A Dposix_spawn.c53 struct sched_param sa_schedparam;
604 struct sched_param * __restrict schedparam) in posix_spawnattr_getschedparam()
650 const struct sched_param * __restrict schedparam) in posix_spawnattr_setschedparam()

12