Lines Matching defs:param
3660 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 };
3672 sched_setscheduler_nocheck(stop, SCHED_FIFO, ¶m);
7935 const struct sched_param *param, bool check)
7939 .sched_priority = param->sched_priority,
7956 * @param: structure containing the new RT priority.
7965 const struct sched_param *param)
7967 return _sched_setscheduler(p, policy, param, true);
7985 * @param: structure containing the new RT priority.
7995 const struct sched_param *param)
7997 return _sched_setscheduler(p, policy, param, false);
8046 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param)
8050 if (!param || pid < 0)
8052 if (copy_from_user(&lparam, param, sizeof(struct sched_param)))
8121 * @param: structure containing the new RT priority.
8125 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param)
8130 return do_sched_setscheduler(pid, policy, param);
8136 * @param: structure containing the new RT priority.
8140 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param)
8142 return do_sched_setscheduler(pid, SETPARAM_POLICY, param);
8211 * @param: structure containing the RT priority.
8213 * Return: On success, 0 and the RT priority is in @param. Otherwise, an error
8216 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param)
8222 if (!param || pid < 0)
8241 return copy_to_user(param, &lp, sizeof(*param)) ? -EFAULT : 0;