Lines Matching refs:sched_param
407 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()
467 sched_param->sched_priority = prio; in parse_prio()
481 sched_param->sched_policy = SCHED_OTHER; in parse_prio()
482 sched_param->sched_nice = prio; in parse_prio()