Home
last modified time | relevance | path

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

12

/linux-6.15/tools/tracing/rtla/src/
H A Dutils.c412 memset(sched_param, 0, sizeof(*sched_param)); in parse_prio()
413 sched_param->size = sizeof(*sched_param); in parse_prio()
434 sched_param->sched_runtime = runtime; in parse_prio()
435 sched_param->sched_deadline = period; in parse_prio()
436 sched_param->sched_period = period; in parse_prio()
450 sched_param->sched_policy = SCHED_FIFO; in parse_prio()
451 sched_param->sched_priority = prio; in parse_prio()
465 sched_param->sched_policy = SCHED_RR; in parse_prio()
466 sched_param->sched_priority = prio; in parse_prio()
480 sched_param->sched_policy = SCHED_OTHER; 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_u.h15 struct sched_attr *sched_param; member
H A Dtimerlat.h31 struct sched_attr sched_param; member
H A Dutils.h62 int parse_prio(char *arg, struct sched_attr *sched_param);
H A Dtimerlat_top.c695 retval = parse_prio(optarg, &params->sched_param); in timerlat_top_parse_args()
1048 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_top_main()
1142 params_u.sched_param = &params->sched_param; in timerlat_top_main()
1144 params_u.sched_param = NULL; in timerlat_top_main()
H A Dosnoise.h29 struct sched_attr sched_param; member
H A Dtimerlat_hist.c942 retval = parse_prio(optarg, &params->sched_param); in timerlat_hist_parse_args()
1203 retval = set_comm_sched_attr("timerlat/", &params->sched_param); in timerlat_hist_main()
1294 params_u.sched_param = &params->sched_param; in timerlat_hist_main()
1296 params_u.sched_param = NULL; in timerlat_hist_main()
H A Dosnoise_top.c443 retval = parse_prio(optarg, &params->sched_param); in osnoise_top_parse_args()
626 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_top_main()
H A Dosnoise_hist.c613 retval = parse_prio(optarg, &params->sched_param); in osnoise_hist_parse_args()
802 retval = set_comm_sched_attr("osnoise/", &params->sched_param); in osnoise_hist_main()
/linux-6.15/kernel/sched/
H A Dsyscalls.c760 const struct sched_param *param, bool check) in _sched_setscheduler()
793 const struct sched_param *param) in sched_setscheduler()
823 const struct sched_param *param) in sched_setscheduler_nocheck()
848 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
858 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low()
874 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
876 struct sched_param lparam; in do_sched_setscheduler()
880 if (copy_from_user(&lparam, param, sizeof(struct sched_param))) in do_sched_setscheduler()
970 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2()
1046 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2()
[all …]
/linux-6.15/tools/tracing/rtla/sample/
H A Dtimerlat_load.py41 param = os.sched_param(args.prio)
/linux-6.15/tools/power/cpupower/bench/
H A Dsystem.c104 struct sched_param param; in set_process_priority()
/linux-6.15/tools/laptop/freefall/
H A Dfreefall.c110 struct sched_param param; in main()
/linux-6.15/tools/testing/selftests/sched_ext/
H A Dinit_enable_count.c24 struct sched_param param = {}; in run_test()
/linux-6.15/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()
/linux-6.15/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.c76 struct sched_param schedp; in create_rt_thread()
/linux-6.15/arch/s390/kernel/
H A Dwti.c167 struct sched_param wti_sched_param = { .sched_priority = MAX_RT_PRIO - 1 }; in wti_init()
/linux-6.15/include/linux/
H A Dsched.h409 struct sched_param { struct
1915 extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);
1916 extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *);
H A Dsyscalls.h38 struct sched_param;
636 struct sched_param __user *param);
638 struct sched_param __user *param);
641 struct sched_param __user *param);
/linux-6.15/kernel/rcu/
H A Dtree_plugin.h1033 struct sched_param sp; in rcu_cpu_kthread_setup()
1219 struct sched_param sp; in rcu_spawn_one_boost_kthread()
H A Dtree.c4129 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_spawn_exp_par_gp_kworker()
4153 struct sched_param param = { .sched_priority = kthread_prio }; in rcu_start_exp_gp_kworker()
4513 struct sched_param sp; in rcu_spawn_gp_kthread()
/linux-6.15/tools/tracing/latency/
H A Dlatency-collector.c1035 struct sched_param param; in set_priority()
1057 struct sched_param param; in print_priority()
/linux-6.15/kernel/
H A Dkthread.c414 static const struct sched_param param = { .sched_priority = 0 }; in kthread()

12