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
1947
extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
include/linux/sched.h
1948
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
650
struct sched_param __user *param);
include/linux/syscalls.h
652
struct sched_param __user *param);
include/linux/syscalls.h
655
struct sched_param __user *param);
kernel/kthread.c
382
static const struct sched_param param = { .sched_priority = 0 };
kernel/rcu/rcutorture.c
3062
struct sched_param sp;
kernel/rcu/tree.c
4212
struct sched_param param = { .sched_priority = kthread_prio };
kernel/rcu/tree.c
4236
struct sched_param param = { .sched_priority = kthread_prio };
kernel/rcu/tree.c
4611
struct sched_param sp;
kernel/rcu/tree_nocb.h
1375
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
3644
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
1902
struct sched_param sp;
tools/laptop/freefall/freefall.c
110
struct sched_param param;
tools/perf/builtin-record.c
2623
struct sched_param param;
tools/perf/builtin-top.c
1351
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/membarrier/membarrier_rseq_stress.c
669
struct sched_param sp = { .sched_priority = 20 };
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/nohz_tick.c
99
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/cli_p.h
255
retval = parse_prio((char *)arg, &params->sched_param);
tools/tracing/rtla/src/common.c
190
retval = set_comm_sched_attr(ops->comm_prefix, &params->sched_param);
tools/tracing/rtla/src/common.c
239
params->user.sched_param = &params->sched_param;
tools/tracing/rtla/src/common.c
241
params->user.sched_param = NULL;
tools/tracing/rtla/src/common.h
96
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
16
struct sched_attr *sched_param;
tools/tracing/rtla/src/utils.c
460
int parse_prio(char *arg, struct sched_attr *sched_param)
tools/tracing/rtla/src/utils.c
466
memset(sched_param, 0, sizeof(*sched_param));
tools/tracing/rtla/src/utils.c
467
sched_param->size = sizeof(*sched_param);
tools/tracing/rtla/src/utils.c
487
sched_param->sched_policy = SCHED_DEADLINE;
tools/tracing/rtla/src/utils.c
488
sched_param->sched_runtime = runtime;
tools/tracing/rtla/src/utils.c
489
sched_param->sched_deadline = period;
tools/tracing/rtla/src/utils.c
490
sched_param->sched_period = period;
tools/tracing/rtla/src/utils.c
504
sched_param->sched_policy = SCHED_FIFO;
tools/tracing/rtla/src/utils.c
505
sched_param->sched_priority = prio;
tools/tracing/rtla/src/utils.c
519
sched_param->sched_policy = SCHED_RR;
tools/tracing/rtla/src/utils.c
520
sched_param->sched_priority = prio;
tools/tracing/rtla/src/utils.c
534
sched_param->sched_policy = SCHED_OTHER;
tools/tracing/rtla/src/utils.c
535
sched_param->sched_nice = prio;
tools/tracing/rtla/src/utils.h
91
int parse_prio(char *arg, struct sched_attr *sched_param);
tools/tracing/rtla/tests/unit/cli_opt_callback.c
214
ck_assert_int_eq(params.sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/cli_opt_callback.c
215
ck_assert_int_eq(params.sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/osnoise_hist_cli.c
316
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/osnoise_hist_cli.c
317
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/osnoise_hist_cli.c
325
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/osnoise_hist_cli.c
326
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/osnoise_top_cli.c
316
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/osnoise_top_cli.c
317
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/osnoise_top_cli.c
325
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/osnoise_top_cli.c
326
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/timerlat_hist_cli.c
322
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/timerlat_hist_cli.c
323
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/timerlat_hist_cli.c
331
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/timerlat_hist_cli.c
332
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/timerlat_top_cli.c
322
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/timerlat_top_cli.c
323
ck_assert_int_eq(params->sched_param.sched_priority, 95);
tools/tracing/rtla/tests/unit/timerlat_top_cli.c
331
ck_assert_int_eq(params->sched_param.sched_policy, SCHED_FIFO);
tools/tracing/rtla/tests/unit/timerlat_top_cli.c
332
ck_assert_int_eq(params->sched_param.sched_priority, 95);