Home
last modified time | relevance | path

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

12

/linux/tools/tracing/rtla/src/
A Dutils.c413 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio()
414 sched_param->size = sizeof(*sched_param); in parse_prio()
435 sched_param->sched_runtime = runtime; in parse_prio()
436 sched_param->sched_deadline = period; in parse_prio()
437 sched_param->sched_period = period; in parse_prio()
451 sched_param->sched_policy = SCHED_FIFO; in parse_prio()
452 sched_param->sched_priority = prio; in parse_prio()
466 sched_param->sched_policy = SCHED_RR; in parse_prio()
467 sched_param->sched_priority = prio; in parse_prio()
481 sched_param->sched_policy = SCHED_OTHER; in parse_prio()
[all …]
A Dtimerlat_u.c34 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()
A Dtimerlat_u.h15 struct sched_attr *sched_param; member
A Dtimerlat_top.c52 struct sched_attr sched_param; member
656 retval = parse_prio(optarg, &params->sched_param); in timerlat_top_parse_args()
951 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_top_main()
1029 params_u.sched_param = &params->sched_param; in timerlat_top_main()
1031 params_u.sched_param = NULL; in timerlat_top_main()
A Dutils.h60 int parse_prio(char *arg, struct sched_attr *sched_param);
A Dtimerlat_hist.c46 struct sched_attr sched_param; member
876 retval = parse_prio(optarg, &params->sched_param); in timerlat_hist_parse_args()
1181 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_hist_main()
1250 params_u.sched_param = &params->sched_param; in timerlat_hist_main()
1252 params_u.sched_param = NULL; in timerlat_hist_main()
A Dosnoise_top.c47 struct sched_attr sched_param; member
477 retval = parse_prio(optarg, &params->sched_param); in osnoise_top_parse_args()
719 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_top_main()
A Dosnoise_hist.c37 struct sched_attr sched_param; member
643 retval = parse_prio(optarg, &params->sched_param); in osnoise_hist_parse_args()
891 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_hist_main()
/linux/kernel/sched/
A Dsyscalls.c770 const struct sched_param *param, bool check) in _sched_setscheduler()
803 const struct sched_param *param) in sched_setscheduler()
833 const struct sched_param *param) in sched_setscheduler_nocheck()
858 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
868 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low()
884 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
886 struct sched_param lparam; in do_sched_setscheduler()
890 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler()
980 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2()
1056 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2()
[all …]
/linux/tools/tracing/rtla/sample/
A Dtimerlat_load.py47 param = os.sched_param(int(args.prio))
/linux/tools/power/cpupower/bench/
A Dsystem.c104 struct sched_param param; in set_process_priority()
/linux/tools/laptop/freefall/
A Dfreefall.c110 struct sched_param param; in main()
/linux/tools/testing/selftests/sched_ext/
A Dinit_enable_count.c40 struct sched_param param = {}; in run_test()
/linux/tools/testing/selftests/powerpc/mm/
A Dtlbie_test.c400 struct sched_param param; in set_pthread_cpu()
416 struct sched_param param; in set_mycpu()
/linux/tools/testing/selftests/futex/functional/
A Dfutex_requeue_pi_signal_restart.c52 struct sched_param schedp; in create_rt_thread()
A Dfutex_requeue_pi.c76 struct sched_param schedp; in create_rt_thread()
/linux/arch/s390/kernel/
A Dwti.c167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
/linux/include/linux/
A Dsched.h387 struct sched_param { struct
1860 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
1861 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
A Dsyscalls.h38 struct sched_param;
623 struct sched_param __user *param);
625 struct sched_param __user *param);
628 struct sched_param __user *param);
/linux/kernel/rcu/
A Dtree_plugin.h1020 struct sched_param sp; in rcu_cpu_kthread_setup()
1206 struct sched_param sp; in rcu_spawn_one_boost_kthread()
A Dtree.c4901 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_spawn_exp_par_gp_kworker()
4932 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_start_exp_gp_kworker()
5356 struct sched_param sp; in rcu_spawn_gp_kthread()
A Dtree_nocb.h1374 struct sched_param sp; in rcu_spawn_cpu_nocb_kthread()
/linux/tools/tracing/latency/
A Dlatency-collector.c1035 struct sched_param param; in set_priority()
1057 struct sched_param param; in print_priority()
/linux/kernel/
A Dkthread.c343 static const struct sched_param param = { .sched_priority = 0 }; in kthread()
/linux/tools/perf/
A Dbuiltin-top.c1340 struct sched_param param; in __cmd_top()

Completed in 73 milliseconds

12