| /linux/tools/tracing/rtla/src/ |
| H A D | utils.c | 408 int parse_prio(char *arg, struct sched_attr *sched_param) in parse_prio() argument 414 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio() 415 sched_param->size = sizeof(*sched_param); in parse_prio() 435 sched_param->sched_policy = SCHED_DEADLINE; in parse_prio() 436 sched_param->sched_runtime = runtime; in parse_prio() 437 sched_param->sched_deadline = period; in parse_prio() 438 sched_param->sched_period = period; in parse_prio() 452 sched_param->sched_policy = SCHED_FIFO; in parse_prio() 453 sched_param->sched_priority = prio; in parse_prio() 467 sched_param->sched_policy = SCHED_RR; in parse_prio() [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() 59 retval = __set_sched_attr(getpid(), params->sched_param); in timerlat_u_main()
|
| H A D | common.c | 138 retval = set_comm_sched_attr(ops->comm_prefix, ¶ms->sched_param); in run_tool() 187 params->user.sched_param = ¶ms->sched_param; in run_tool() 189 params->user.sched_param = NULL; in run_tool()
|
| H A D | timerlat_u.h | 15 struct sched_attr *sched_param; member
|
| H A D | utils.h | 62 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 | 457 retval = parse_prio(optarg, ¶ms->common.sched_param); in osnoise_top_parse_args()
|
| H A D | osnoise_hist.c | 629 retval = parse_prio(optarg, ¶ms->common.sched_param); in osnoise_hist_parse_args()
|
| H A D | timerlat_top.c | 710 retval = parse_prio(optarg, ¶ms->common.sched_param); in timerlat_top_parse_args()
|
| H A D | timerlat_hist.c | 959 retval = parse_prio(optarg, ¶ms->common.sched_param); in timerlat_hist_parse_args()
|
| /linux/kernel/sched/ |
| H A D | syscalls.c | 756 const struct sched_param *param, bool check) in _sched_setscheduler() 789 const struct sched_param *param) in sched_setscheduler() 819 const struct sched_param *param) in sched_setscheduler_nocheck() 844 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo() 854 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low() 870 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 872 struct sched_param lparam; in do_sched_setscheduler() 876 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler() 951 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() 966 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() [all …]
|
| /linux/tools/tracing/rtla/sample/ |
| H A D | timerlat_load.py | 41 param = os.sched_param(args.prio)
|
| /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/powerpc/mm/ |
| H A D | tlbie_test.c | 400 struct sched_param param; in set_pthread_cpu() 416 struct sched_param param; in set_mycpu()
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | init_enable_count.c | 24 struct sched_param param = {}; in run_test()
|
| /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 | 410 struct sched_param { struct 1900 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); 1901 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
|
| H A D | syscalls.h | 38 struct sched_param; 643 struct sched_param __user *param); 645 struct sched_param __user *param); 648 struct sched_param __user *param);
|
| /linux/kernel/rcu/ |
| H A D | tree_plugin.h | 1116 struct sched_param sp; in rcu_cpu_kthread_setup() 1302 struct sched_param sp; in rcu_spawn_one_boost_kthread()
|
| H A D | tree.c | 4175 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_spawn_exp_par_gp_kworker() 4199 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_start_exp_gp_kworker() 4574 struct sched_param sp; in rcu_spawn_gp_kthread()
|
| /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/ |
| H A D | kthread.c | 413 static const struct sched_param param = { .sched_priority = 0 }; in kthread()
|