Home
last modified time | relevance | path

Searched refs:LOS_SCHED_RR (Results 1 – 16 of 16) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_094.c94 ret = LOS_SetTaskScheduler(g_testTaskID01, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
115 ret = LOS_SetTaskScheduler(g_testTaskID02, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
140 ret = LOS_SetTaskScheduler(g_testTaskID03, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
DIt_los_task_098.c65 ret = LOS_SetTaskScheduler(g_testTaskID02, LOS_SCHED_RR, task1.usTaskPrio); in TaskF01()
100 ret = LOS_SetTaskScheduler(g_testTaskID01, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
DIt_los_task_095.c67 ret = LOS_SetTaskScheduler(g_testTaskID01, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
DIt_los_task_096.c93 ret = LOS_SetTaskScheduler(g_testTaskID01, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_024.c107 ret = LOS_SetTaskScheduler(g_itTestTaskID01, LOS_SCHED_RR, task.usTaskPrio); in Testcase()
109 ret = LOS_SetTaskScheduler(g_itTestTaskID02, LOS_SCHED_RR, task.usTaskPrio); in Testcase()
DIt_smp_los_task_025.c63 ret = LOS_SetTaskScheduler(g_itTestTaskID02, LOS_SCHED_RR, LOS_TaskPriGet(g_itTestTaskID02)); in ItTimeslice002F01()
126 ret = LOS_SetTaskScheduler(g_itTestTaskID01, LOS_SCHED_RR, task.usTaskPrio); in Testcase()
/kernel/liteos_a/syscall/
Dprocess_syscall.c113 if ((param.policy == LOS_SCHED_RR) || (param.policy == LOS_SCHED_FIFO)) { in OsUserTaskSchedulerSet()
197 if (policy == LOS_SCHED_RR) { in SysSchedSetScheduler()
310 return -OsUserTaskSchedulerSet(id, LOS_SCHED_RR, &param, false); in SysSchedSetParam()
336 if (policy != LOS_SCHED_RR) { in SysSchedGetPriorityMin()
345 if (policy != LOS_SCHED_RR) { in SysSchedGetPriorityMax()
386 if (param.policy == LOS_SCHED_RR) { in SysSchedRRGetInterval()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smoke/
DIt_los_task_099.c71 ret = LOS_SetTaskScheduler(g_testTaskID01, LOS_SCHED_RR, task1.usTaskPrio); in Testcase()
DIt_los_task_097.c69 ret = LOS_SetTaskScheduler(g_testTaskID02, LOS_SCHED_RR, task1.usTaskPrio); in TaskF01()
/kernel/liteos_a/kernel/base/sched/
Dlos_priority.c97 if (sched->policy == LOS_SCHED_RR) { in HPFTimeSliceUpdate()
213 case LOS_SCHED_RR: { in PriQueInsert()
467 if ((param->policy != LOS_SCHED_RR) && (param->policy != LOS_SCHED_FIFO)) { in HPFPriorityInheritance()
484 if ((param->policy != LOS_SCHED_RR) && (param->policy != LOS_SCHED_FIFO)) { in HPFPriorityRestore()
Dlos_sched.c267 case LOS_SCHED_RR: in OsSchedParamInit()
286 case LOS_SCHED_RR: in OsSchedProcessDefaultSchedParamGet()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c98 schedParam.policy = LOS_SCHED_RR; in OsSetMainTask()
547 UINT16 policy = (initParam->policy == LOS_SCHED_NORMAL) ? LOS_SCHED_RR : initParam->policy; in TaskCBInit()
1404 initParam->policy = LOS_SCHED_RR; in OsCreateUserTask()
1455 if ((policy != LOS_SCHED_FIFO) && (policy != LOS_SCHED_RR)) { in LOS_SetTaskScheduler()
Dlos_info.c103 pcbInfo->policy = LOS_SCHED_RR; in GetProcessInfo()
Dlos_process.c948 if ((policy == LOS_SCHED_RR) || (isThread && (policy == LOS_SCHED_FIFO))) { in OsSchedulerParamCheck()
996 …if ((runProcess->processID == processCB->processID) && (policy == LOS_SCHED_RR) && (prio > param->… in OsProcessCapPermitCheck()
1101 *policy = LOS_SCHED_RR; in LOS_GetProcessScheduler()
1805 ret = LOS_SetTaskScheduler(taskID, LOS_SCHED_RR, OS_TASK_PRIORITY_LOWEST); in OsUserInitProcessStart()
/kernel/liteos_a/kernel/base/misc/
Dtask_shellcmd.c95 if (policy == LOS_SCHED_RR) { in ConvertSchedPolicyToString()
/kernel/liteos_a/kernel/base/include/
Dlos_sched_pri.h228 #define LOS_SCHED_RR 2U macro