| /linux/tools/tracing/rtla/src/ |
| H A D | utils.c | 460 int parse_prio(char *arg, struct sched_attr *sched_param) in parse_prio() 466 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio() 467 sched_param->size = sizeof(*sched_param); in parse_prio() 487 sched_param->sched_policy = SCHED_DEADLINE; in parse_prio() 488 sched_param->sched_runtime = runtime; in parse_prio() 489 sched_param->sched_deadline = period; in parse_prio() 490 sched_param->sched_period = period; in parse_prio() 504 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 | 152 if (parse_prio(optarg, &common->sched_param) == -1) in run_tool() 295 retval = set_comm_sched_attr(ops->comm_prefix, ¶ms->sched_param); in top_main_loop() 344 params->user.sched_param = ¶ms->sched_param; in hist_main_loop() 346 params->user.sched_param = NULL; in hist_main_loop()
|
| H A D | timerlat_u.h | 16 struct sched_attr *sched_param; 15 struct sched_attr *sched_param; global() member
|
| H A D | utils.h | 94 int parse_prio(char *arg, struct sched_attr *sched_param);
|
| H A D | common.h | 90 struct sched_attr sched_param; 89 struct sched_attr sched_param; global() 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 | 726 const struct sched_param *param, bool check) in _sched_setscheduler() 759 const struct sched_param *param) in sched_setscheduler() 789 const struct sched_param *param) in sched_setscheduler_nocheck() 814 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo() 824 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low() 838 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 - 1 }; in sched_set_fifo_secondary() 853 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 855 struct sched_param lparam; in do_sched_setscheduler() 859 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler() 934 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 | 75 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 1929 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); 1930 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_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/ |
| H A D | kthread.c | 382 static const struct sched_param param = { .sched_priority = 0 }; in kthread()
|
| /linux/tools/perf/ |
| H A D | builtin-top.c | 1351 struct sched_param param; in __cmd_top()
|
| /linux/kernel/trace/ |
| H A D | trace_osnoise.c | 1891 struct sched_param sp; in timerlat_main()
|