| /linux/tools/tracing/rtla/src/ |
| H A D | utils.c | 430 int parse_prio(char *arg, struct sched_attr *sched_param) in parse_prio() 436 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio() 437 sched_param->size = sizeof(*sched_param); in parse_prio() 457 sched_param->sched_policy = SCHED_DEADLINE; in parse_prio() 458 sched_param->sched_runtime = runtime; in parse_prio() 459 sched_param->sched_deadline = period; in parse_prio() 460 sched_param->sched_period = period; in parse_prio() 474 sched_param in parse_prio() 423 parse_prio(char * arg,struct sched_attr * sched_param) parse_prio() argument [all...] |
| H A D | timerlat_u.c | 34 struct sched_param sp = { .sched_priority = 95 }; in timerlat_u_main() 52 if (!params->sched_param) { in timerlat_u_main() 57 retval = __set_sched_attr(getpid(), params->sched_param); in timerlat_u_main()
|
| H A D | common.c | 108 if (parse_prio(optarg, &common->sched_param) == -1) in run_tool() 218 retval = set_comm_sched_attr(ops->comm_prefix, ¶ms->sched_param); in run_tool() 267 params->user.sched_param = ¶ms->sched_param; in top_main_loop() 269 params->user.sched_param = NULL; in top_main_loop()
|
| H A D | timerlat_u.h | 15 struct sched_attr *sched_param; member
|
| H A D | utils.h | 65 int parse_prio(char *arg, struct sched_attr *sched_param);
|
| H A D | common.h | 89 struct sched_attr sched_param; member
|
| H A D | osnoise_top.c | |
| H A D | osnoise_hist.c | |
| H A D | timerlat_top.c | |
| H A D | timerlat_hist.c | |
| /linux/kernel/sched/ |
| H A D | syscalls.c | 696 const struct sched_param *param, bool check) in _sched_setscheduler() 729 const struct sched_param *param) in sched_setscheduler() 759 const struct sched_param *param) in sched_setscheduler_nocheck() 784 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo() 794 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low() 808 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 - 1 }; in sched_set_fifo_secondary() 823 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 825 struct sched_param lparam; in do_sched_setscheduler() 829 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler() 904 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() [all …]
|
| /linux/tools/sched_ext/ |
| H A D | scx_userland.c | 330 struct sched_param sched_param = { in pre_bootstrap() local 349 err = syscall(__NR_sched_setscheduler, getpid(), SCHED_EXT, &sched_param); in pre_bootstrap()
|
| /linux/tools/tracing/rtla/sample/ |
| H A D | timerlat_load.py | |
| /linux/tools/power/cpupower/bench/ |
| H A D | system.c | 104 struct sched_param param; in set_process_priority()
|
| /linux/tools/laptop/freefall/ |
| H A D | freefall.c | 110 struct sched_param param; in main()
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_requeue_pi_signal_restart.c | 43 struct sched_param schedp; in create_rt_thread()
|
| H A D | futex_requeue_pi.c | 125 struct sched_param schedp; in create_rt_thread()
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | init_enable_count.c | 25 struct sched_param param = {}; in run_test()
|
| H A D | rt_stall.c | 76 struct sched_param param; in set_sched()
|
| /linux/arch/s390/kernel/ |
| H A D | wti.c | 167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
|
| /linux/include/linux/ |
| H A D | sched.h | 412 struct sched_param { struct 1923 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); 1924 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
|
| H A D | syscalls.h | 38 struct sched_param; 646 struct sched_param __user *param); 648 struct sched_param __user *param); 651 struct sched_param __user *param);
|
| /linux/tools/tracing/latency/ |
| H A D | latency-collector.c | 1035 struct sched_param param; in set_priority() 1057 struct sched_param param; in print_priority()
|
| /linux/kernel/rcu/ |
| H A D | tree.c | 4183 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_spawn_exp_par_gp_kworker() 4207 struct sched_param param = { .sched_priority = kthread_prio }; 4582 struct sched_param sp; in rcu_spawn_gp_kthread()
|
| /linux/kernel/ |
| H A D | kthread.c | 413 static const struct sched_param param = { .sched_priority = 0 }; in kthread()
|