Lines Matching refs:param
3669 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task() local
3681 sched_setscheduler_nocheck(stop, SCHED_FIFO, ¶m); in sched_set_stop_task()
7888 const struct sched_param *param, bool check) in _sched_setscheduler() argument
7892 .sched_priority = param->sched_priority, in _sched_setscheduler()
7918 const struct sched_param *param) in sched_setscheduler() argument
7920 return _sched_setscheduler(p, policy, param, true); in sched_setscheduler()
7950 const struct sched_param *param) in sched_setscheduler_nocheck() argument
7952 return _sched_setscheduler(p, policy, param, false); in sched_setscheduler_nocheck()
8002 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() argument
8008 if (!param || pid < 0) in do_sched_setscheduler()
8010 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler()
8086 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument
8091 return do_sched_setscheduler(pid, policy, param); in SYSCALL_DEFINE3()
8101 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
8103 return do_sched_setscheduler(pid, SETPARAM_POLICY, param); in SYSCALL_DEFINE2()
8184 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
8190 if (!param || pid < 0) in SYSCALL_DEFINE2()
8210 retval = copy_to_user(param, &lp, sizeof(*param)) ? -EFAULT : 0; in SYSCALL_DEFINE2()