Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.c407 int parse_prio(char *arg, struct sched_attr *sched_param) in parse_prio() argument
413 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio()
414 sched_param->size = sizeof(*sched_param); in parse_prio()
434 sched_param->sched_policy = SCHED_DEADLINE; 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()
[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()
59 retval = __set_sched_attr(getpid(), params->sched_param); in timerlat_u_main()
H A Dtimerlat_top.c47 struct sched_attr sched_param; member
525 retval = parse_prio(optarg, &params->sched_param); in timerlat_top_parse_args()
806 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_top_main()
894 params_u.sched_param = &params->sched_param; in timerlat_top_main()
896 params_u.sched_param = NULL; in timerlat_top_main()
H A Dtimerlat_u.h15 struct sched_attr *sched_param; member
H A Dtimerlat_hist.c44 struct sched_attr sched_param; member
732 retval = parse_prio(optarg, &params->sched_param); in timerlat_hist_parse_args()
1025 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_hist_main()
1104 params_u.sched_param = &params->sched_param; in timerlat_hist_main()
1106 params_u.sched_param = NULL; in timerlat_hist_main()
H A Dutils.h62 int parse_prio(char *arg, struct sched_attr *sched_param);
H A Dosnoise_top.c44 struct sched_attr sched_param; member
463 retval = parse_prio(optarg, &params->sched_param); in osnoise_top_parse_args()
692 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_top_main()
H A Dosnoise_hist.c37 struct sched_attr sched_param; member
623 retval = parse_prio(optarg, &params->sched_param); in osnoise_hist_parse_args()
861 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_hist_main()
/openbmc/linux/tools/power/cpupower/bench/
H A Dsystem.c104 struct sched_param param; in set_process_priority()
/openbmc/linux/tools/laptop/freefall/
H A Dfreefall.c110 struct sched_param param; in main()
/openbmc/qemu/tests/unit/
H A Dtest-seccomp.c176 struct sched_param param = { .sched_priority = 0 }; in doit_sched()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c400 struct sched_param param; in set_pthread_cpu()
416 struct sched_param param; in set_mycpu()
/openbmc/linux/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c52 struct sched_param schedp; in create_rt_thread()
H A Dfutex_requeue_pi.c74 struct sched_param schedp; in create_rt_thread()
/openbmc/qemu/migration/
H A Dmultifd-uadk.c65 ss.sched_param = &param; in multifd_uadk_init_sess()
/openbmc/linux/include/linux/
H A Dsched.h372 struct sched_param { struct
1931 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
1932 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
H A Dsyscalls.h38 struct sched_param;
605 struct sched_param __user *param);
607 struct sched_param __user *param);
610 struct sched_param __user *param);
H A Dsecurity.h217 struct sched_param;
/openbmc/linux/kernel/rcu/
H A Dtree_plugin.h1009 struct sched_param sp; in rcu_cpu_kthread_setup()
1195 struct sched_param sp; in rcu_spawn_one_boost_kthread()
H A Dtree_nocb.h1480 struct sched_param sp; in rcu_spawn_cpu_nocb_kthread()
H A Dtree.c4687 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_start_exp_gp_kworkers()
4734 struct sched_param sp; in rcu_spawn_gp_kthread()
/openbmc/linux/kernel/sched/
H A Dcore.c3657 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
7863 const struct sched_param *param, bool check) in _sched_setscheduler()
7893 const struct sched_param *param)
7923 const struct sched_param *param)
7948 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo_low()
7958 struct sched_param sp = { .sched_priority = 1 }; in sched_set_normal()
7974 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
7976 struct sched_param lparam; in do_sched_setscheduler()
7982 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler()
8063 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __use
[all...]
/openbmc/linux/tools/tracing/latency/
H A Dlatency-collector.c1035 struct sched_param param; in set_priority()
1057 struct sched_param param; in print_priority()
/openbmc/linux/kernel/
H A Dkthread.c342 static const struct sched_param param = { .sched_priority = 0 }; in kthread()
/openbmc/linux/tools/perf/
H A Dbuiltin-top.c1333 struct sched_param param; in __cmd_top()

12