Home
last modified time | relevance | path

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

/Linux-v6.1/tools/tracing/rtla/src/
Dutils.c418 int parse_prio(char *arg, struct sched_attr *sched_param) in parse_prio() argument
424 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio()
425 sched_param->size = sizeof(*sched_param); in parse_prio()
445 sched_param->sched_policy = SCHED_DEADLINE; in parse_prio()
446 sched_param->sched_runtime = runtime; in parse_prio()
447 sched_param->sched_deadline = period; in parse_prio()
448 sched_param->sched_period = period; in parse_prio()
462 sched_param->sched_policy = SCHED_FIFO; in parse_prio()
463 sched_param->sched_priority = prio; in parse_prio()
477 sched_param->sched_policy = SCHED_RR; in parse_prio()
[all …]
Dutils.h56 int parse_prio(char *arg, struct sched_attr *sched_param);
Dosnoise_top.c33 struct sched_attr sched_param; member
381 retval = parse_prio(optarg, &params->sched_param); in osnoise_top_parse_args()
587 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_top_main()
Dtimerlat_top.c33 struct sched_attr sched_param; member
420 retval = parse_prio(optarg, &params->sched_param); in timerlat_top_parse_args()
627 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_top_main()
Dosnoise_hist.c31 struct sched_attr sched_param; member
589 retval = parse_prio(optarg, &params->sched_param); in osnoise_hist_parse_args()
809 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_hist_main()
Dtimerlat_hist.c32 struct sched_attr sched_param; member
610 retval = parse_prio(optarg, &params->sched_param); in timerlat_hist_parse_args()
836 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_hist_main()
/Linux-v6.1/include/uapi/linux/sched/
Dtypes.h7 struct sched_param { struct
/Linux-v6.1/tools/power/cpupower/bench/
Dsystem.c104 struct sched_param param; in set_process_priority()
/Linux-v6.1/tools/laptop/freefall/
Dfreefall.c110 struct sched_param param; in main()
/Linux-v6.1/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c400 struct sched_param param; in set_pthread_cpu()
416 struct sched_param param; in set_mycpu()
/Linux-v6.1/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi_signal_restart.c52 struct sched_param schedp; in create_rt_thread()
Dfutex_requeue_pi.c74 struct sched_param schedp; in create_rt_thread()
/Linux-v6.1/include/linux/
Dsched.h66 struct sched_param;
1904 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
1905 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
Dsyscalls.h38 struct sched_param;
694 struct sched_param __user *param);
696 struct sched_param __user *param);
699 struct sched_param __user *param);
Dsecurity.h216 struct sched_param;
/Linux-v6.1/kernel/rcu/
Dtree_plugin.h1007 struct sched_param sp; in rcu_cpu_kthread_setup()
1193 struct sched_param sp; in rcu_spawn_one_boost_kthread()
Dtree_nocb.h1300 struct sched_param sp; in rcu_spawn_cpu_nocb_kthread()
Dtree.c4389 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_start_exp_gp_kworkers()
4433 struct sched_param sp; in rcu_spawn_gp_kthread()
Drcutorture.c2359 struct sched_param sp; in rcutorture_booster_init()
/Linux-v6.1/kernel/sched/
Dcore.c3506 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
7657 const struct sched_param *param, bool check) in _sched_setscheduler()
7687 const struct sched_param *param) in sched_setscheduler()
7717 const struct sched_param *param) in sched_setscheduler_nocheck()
7742 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
7752 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low()
7768 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
7770 struct sched_param lparam; in do_sched_setscheduler()
7776 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler()
7857 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3()
[all …]
/Linux-v6.1/tools/tracing/latency/
Dlatency-collector.c1035 struct sched_param param; in set_priority()
1057 struct sched_param param; in print_priority()
/Linux-v6.1/kernel/
Dkthread.c332 static const struct sched_param param = { .sched_priority = 0 }; in kthread()
/Linux-v6.1/kernel/trace/
Dtrace_osnoise.c1650 struct sched_param sp; in timerlat_main()
/Linux-v6.1/tools/perf/
Dbuiltin-top.c1321 struct sched_param param; in __cmd_top()
Dbuiltin-record.c2509 struct sched_param param; in __cmd_record()