Lines Matching refs:param
756 const struct sched_param *param, bool check) in _sched_setscheduler() argument
760 .sched_priority = param->sched_priority, in _sched_setscheduler()
789 const struct sched_param *param) in sched_setscheduler() argument
791 return _sched_setscheduler(p, policy, param, true); in sched_setscheduler()
819 const struct sched_param *param) in sched_setscheduler_nocheck() argument
821 return _sched_setscheduler(p, policy, param, false); in sched_setscheduler_nocheck()
870 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() argument
874 if (unlikely(!param || pid < 0)) in do_sched_setscheduler()
876 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler()
951 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument
956 return do_sched_setscheduler(pid, policy, param); in SYSCALL_DEFINE3()
966 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
968 return do_sched_setscheduler(pid, SETPARAM_POLICY, param); in SYSCALL_DEFINE2()
1042 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
1048 if (unlikely(!param || pid < 0)) in SYSCALL_DEFINE2()
1067 return copy_to_user(param, &lp, sizeof(*param)) ? -EFAULT : 0; in SYSCALL_DEFINE2()