Symbol: sched_param
arch/s390/kernel/wti.c
167
struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 };
include/linux/sched.h
1924
extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
include/linux/sched.h
1925
extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
include/linux/security.h
258
struct sched_param;
include/linux/syscalls.h
38
struct sched_param;
include/linux/syscalls.h
646
struct sched_param __user *param);
include/linux/syscalls.h
648
struct sched_param __user *param);
include/linux/syscalls.h
651
struct sched_param __user *param);
kernel/kthread.c
382
static const struct sched_param param = { .sched_priority = 0 };
kernel/rcu/rcutorture.c
2977
struct sched_param sp;
kernel/rcu/tree.c
4183
struct sched_param param = { .sched_priority = kthread_prio };
kernel/rcu/tree.c
4207
struct sched_param param = { .sched_priority = kthread_prio };
kernel/rcu/tree.c
4582
struct sched_param sp;
kernel/rcu/tree_nocb.h
1352
struct sched_param sp;
kernel/rcu/tree_plugin.h
1116
struct sched_param sp;
kernel/rcu/tree_plugin.h
1302
struct sched_param sp;
kernel/sched/core.c
3546
struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 };
kernel/sched/syscalls.c
1025
SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param)
kernel/sched/syscalls.c
1027
struct sched_param lp = { .sched_priority = 0 };
kernel/sched/syscalls.c
726
const struct sched_param *param, bool check)
kernel/sched/syscalls.c
759
const struct sched_param *param)
kernel/sched/syscalls.c
789
const struct sched_param *param)
kernel/sched/syscalls.c
814
struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 };
kernel/sched/syscalls.c
824
struct sched_param sp = { .sched_priority = 1 };
kernel/sched/syscalls.c
838
struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 - 1 };
kernel/sched/syscalls.c
853
do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param)
kernel/sched/syscalls.c
855
struct sched_param lparam;
kernel/sched/syscalls.c
859
if (copy_from_user(&lparam, param, sizeof(struct sched_param)))
kernel/sched/syscalls.c
934
SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param)
kernel/sched/syscalls.c
949
SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param)
kernel/trace/trace_osnoise.c
1855
struct sched_param sp;
tools/laptop/freefall/freefall.c
110
struct sched_param param;
tools/perf/builtin-record.c
2620
struct sched_param param;
tools/perf/builtin-top.c
1350
struct sched_param param;
tools/power/cpupower/bench/system.c
104
struct sched_param param;
tools/sched_ext/scx_userland.c
330
struct sched_param sched_param = {
tools/sched_ext/scx_userland.c
349
err = syscall(__NR_sched_setscheduler, getpid(), SCHED_EXT, &sched_param);
tools/testing/selftests/futex/functional/futex_requeue_pi.c
125
struct sched_param schedp;
tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c
43
struct sched_param schedp;
tools/testing/selftests/powerpc/mm/tlbie_test.c
400
struct sched_param param;
tools/testing/selftests/powerpc/mm/tlbie_test.c
416
struct sched_param param;
tools/testing/selftests/sched_ext/init_enable_count.c
25
struct sched_param param = {};
tools/testing/selftests/sched_ext/rt_stall.c
75
struct sched_param param;
tools/tracing/latency/latency-collector.c
1035
struct sched_param param;
tools/tracing/latency/latency-collector.c
1057
struct sched_param param;
tools/tracing/rtla/src/common.c
108
if (parse_prio(optarg, &common->sched_param) == -1)
tools/tracing/rtla/src/common.c
218
retval = set_comm_sched_attr(ops->comm_prefix, &params->sched_param);
tools/tracing/rtla/src/common.c
267
params->user.sched_param = &params->sched_param;
tools/tracing/rtla/src/common.c
269
params->user.sched_param = NULL;
tools/tracing/rtla/src/common.h
89
struct sched_attr sched_param;
tools/tracing/rtla/src/timerlat_u.c
34
struct sched_param sp = { .sched_priority = 95 };
tools/tracing/rtla/src/timerlat_u.c
52
if (!params->sched_param) {
tools/tracing/rtla/src/timerlat_u.c
57
retval = __set_sched_attr(getpid(), params->sched_param);
tools/tracing/rtla/src/timerlat_u.h
15
struct sched_attr *sched_param;
tools/tracing/rtla/src/utils.c
430
int parse_prio(char *arg, struct sched_attr *sched_param)
tools/tracing/rtla/src/utils.c
436
memset(sched_param, 0, sizeof(*sched_param));
tools/tracing/rtla/src/utils.c
437
sched_param->size = sizeof(*sched_param);
tools/tracing/rtla/src/utils.c
457
sched_param->sched_policy = SCHED_DEADLINE;
tools/tracing/rtla/src/utils.c
458
sched_param->sched_runtime = runtime;
tools/tracing/rtla/src/utils.c
459
sched_param->sched_deadline = period;
tools/tracing/rtla/src/utils.c
460
sched_param->sched_period = period;
tools/tracing/rtla/src/utils.c
474
sched_param->sched_policy = SCHED_FIFO;
tools/tracing/rtla/src/utils.c
475
sched_param->sched_priority = prio;
tools/tracing/rtla/src/utils.c
489
sched_param->sched_policy = SCHED_RR;
tools/tracing/rtla/src/utils.c
490
sched_param->sched_priority = prio;
tools/tracing/rtla/src/utils.c
504
sched_param->sched_policy = SCHED_OTHER;
tools/tracing/rtla/src/utils.c
505
sched_param->sched_nice = prio;
tools/tracing/rtla/src/utils.h
65
int parse_prio(char *arg, struct sched_attr *sched_param);