Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/kern/
Dp1003_1b.c118 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 …]
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-12-stable/sys/sys/
Dposix4.h98 struct thread *, const struct sched_param *);
100 struct thread *, struct sched_param *);
103 struct thread *, int, const struct sched_param *);
Dsched.h237 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 *);
Dsyscallsubr.h60 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/
Dthr_kern.c74 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()
Dthr_create.c61 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()
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()
Dthr_private.h830 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);
Dthr_getprio.c47 struct sched_param param; in _pthread_getprio()
Dthr_getschedparam.c51 struct sched_param * __restrict param) in _pthread_getschedparam()
Dthr_setprio.c47 struct sched_param param; in _pthread_setprio()
Dthr_setschedparam.c54 const struct sched_param *param) in _pthread_setschedparam()
/freebsd-12-stable/include/
Dspawn.h53 struct sched_param;
101 struct sched_param * __restrict);
112 const struct sched_param * __restrict);
Dpthread.h330 struct sched_param *);
337 const struct sched_param *);
341 struct sched_param * __restrict);
343 const struct sched_param *);
/freebsd-12-stable/sys/compat/linux/
Dlinux_misc.c1402 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/
Dprutil.h8 struct sched_param;
12 int sched_is(int line, struct sched_param *, int);
Dprutil.c37 int sched_is(int line, struct sched_param *p, int shouldbe) in sched_is()
40 struct sched_param param; in sched_is()
Dsched.c111 struct sched_param rt_param; in sched()
161 struct sched_param orig_param, shouldbe; in sched()
/freebsd-12-stable/contrib/gcc/
Dgthr-posix.c221 struct sched_param *param ATTRIBUTE_UNUSED) in pthread_getschedparam()
229 const struct sched_param *param ATTRIBUTE_UNUSED) in pthread_setschedparam()
Dgthr-posix.h309 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/
Dt_spawnattr.c80 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/
Dt_sched.c50 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/
Dt_mutex.c396 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/
Dposix_spawn.c53 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()

12