sched_param
struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 };
extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
struct sched_param;
struct sched_param;
struct sched_param __user *param);
struct sched_param __user *param);
struct sched_param __user *param);
static const struct sched_param param = { .sched_priority = 0 };
struct sched_param sp;
struct sched_param param = { .sched_priority = kthread_prio };
struct sched_param param = { .sched_priority = kthread_prio };
struct sched_param sp;
struct sched_param sp;
struct sched_param sp;
struct sched_param sp;
struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 };
SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param)
struct sched_param lp = { .sched_priority = 0 };
const struct sched_param *param, bool check)
const struct sched_param *param)
const struct sched_param *param)
struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 };
struct sched_param sp = { .sched_priority = 1 };
struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 - 1 };
do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param)
struct sched_param lparam;
if (copy_from_user(&lparam, param, sizeof(struct sched_param)))
SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param)
SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param)
struct sched_param sp;
struct sched_param param;
struct sched_param param;
struct sched_param param;
struct sched_param param;
struct sched_param sched_param = {
err = syscall(__NR_sched_setscheduler, getpid(), SCHED_EXT, &sched_param);
struct sched_param schedp;
struct sched_param schedp;
struct sched_param param;
struct sched_param param;
struct sched_param param = {};
struct sched_param param;
struct sched_param param;
struct sched_param param;
if (parse_prio(optarg, &common->sched_param) == -1)
retval = set_comm_sched_attr(ops->comm_prefix, ¶ms->sched_param);
params->user.sched_param = ¶ms->sched_param;
params->user.sched_param = NULL;
struct sched_attr sched_param;
struct sched_param sp = { .sched_priority = 95 };
if (!params->sched_param) {
retval = __set_sched_attr(getpid(), params->sched_param);
struct sched_attr *sched_param;
int parse_prio(char *arg, struct sched_attr *sched_param)
memset(sched_param, 0, sizeof(*sched_param));
sched_param->size = sizeof(*sched_param);
sched_param->sched_policy = SCHED_DEADLINE;
sched_param->sched_runtime = runtime;
sched_param->sched_deadline = period;
sched_param->sched_period = period;
sched_param->sched_policy = SCHED_FIFO;
sched_param->sched_priority = prio;
sched_param->sched_policy = SCHED_RR;
sched_param->sched_priority = prio;
sched_param->sched_policy = SCHED_OTHER;
sched_param->sched_nice = prio;
int parse_prio(char *arg, struct sched_attr *sched_param);