Home
last modified time | relevance | path

Searched refs:sched_param (Results 1 – 25 of 31) sorted by relevance

12

/linux/tools/tracing/rtla/src/
H A Dutils.c430 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 Dtimerlat_u.c34 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 Dcommon.c108 if (parse_prio(optarg, &common->sched_param) == -1) in run_tool()
218 retval = set_comm_sched_attr(ops->comm_prefix, &params->sched_param); in run_tool()
267 params->user.sched_param = &params->sched_param; in top_main_loop()
269 params->user.sched_param = NULL; in top_main_loop()
H A Dtimerlat_u.h15 struct sched_attr *sched_param; member
H A Dutils.h65 int parse_prio(char *arg, struct sched_attr *sched_param);
H A Dcommon.h89 struct sched_attr sched_param; member
H A Dosnoise_top.c
H A Dosnoise_hist.c
H A Dtimerlat_top.c
H A Dtimerlat_hist.c
/linux/kernel/sched/
H A Dsyscalls.c696 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 Dscx_userland.c330 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 Dtimerlat_load.py
/linux/tools/power/cpupower/bench/
H A Dsystem.c104 struct sched_param param; in set_process_priority()
/linux/tools/laptop/freefall/
H A Dfreefall.c110 struct sched_param param; in main()
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c43 struct sched_param schedp; in create_rt_thread()
H A Dfutex_requeue_pi.c125 struct sched_param schedp; in create_rt_thread()
/linux/tools/testing/selftests/sched_ext/
H A Dinit_enable_count.c25 struct sched_param param = {}; in run_test()
H A Drt_stall.c76 struct sched_param param; in set_sched()
/linux/arch/s390/kernel/
H A Dwti.c167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
/linux/include/linux/
H A Dsched.h412 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 Dsyscalls.h38 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 Dlatency-collector.c1035 struct sched_param param; in set_priority()
1057 struct sched_param param; in print_priority()
/linux/kernel/rcu/
H A Dtree.c4183 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 Dkthread.c413 static const struct sched_param param = { .sched_priority = 0 }; in kthread()

12