Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.2/kernel/src/sched/
Dsched.c19 int policy = attr->sched_policy; in __sched_setscheduler() local
22 if (!IS_VALID_SCHED_POLICY(policy)) in __sched_setscheduler()
27 p->policy = policy; in __sched_setscheduler()
31 static int _sched_setscheduler(struct process_control_block *p, int policy, const struct sched_para… in _sched_setscheduler() argument
33 struct sched_attr attr = {.sched_policy = policy}; in _sched_setscheduler()
47 int sched_setscheduler(struct process_control_block *p, int policy, const struct sched_param *param) in sched_setscheduler() argument
49 return _sched_setscheduler(p, policy, param, true); in sched_setscheduler()
Dsched.h48 static int _sched_setscheduler(struct process_control_block *p, int policy, const struct sched_para…
59 int sched_setscheduler(struct process_control_block *p, int policy, const struct sched_param *param…
/DragonOS-0.1.2/kernel/src/process/
Dproc-types.h118 uint32_t policy; // 进程调度策略标志位 member
Dprocess.c60 ….wait_child_proc_exit = 0, .worker_private = NULL, .policy = SCHED_NORMAL, .sig_blocked = 0, …