Lines Matching refs:cpu_num
50 uint8_t mm_alloc_flag, uint8_t cpu_num, uint8_t cpu_binded, in task_create() argument
85 if (g_idle_task_spawned[cpu_num] > 0u) { in task_create()
90 g_idle_task_spawned[cpu_num] = 1u; in task_create()
128 task->cpu_num = cpu_num; in task_create()
206 size_t stack_size, task_entry_t entry, uint8_t cpu_num, in krhino_task_cpu_create() argument
210 autorun, K_OBJ_STATIC_ALLOC, cpu_num, 1, KSCHED_RR); in krhino_task_cpu_create()
216 task_entry_t entry, uint8_t cpu_num, uint8_t autorun) in krhino_cfs_task_cpu_create() argument
219 autorun, K_OBJ_STATIC_ALLOC, cpu_num, 1, KSCHED_CFS); in krhino_cfs_task_cpu_create()
223 kstat_t krhino_task_cpu_bind(ktask_t *task, uint8_t cpu_num) in krhino_task_cpu_bind() argument
234 task->cpu_num = cpu_num; in krhino_task_cpu_bind()
262 uint8_t cpu_num, uint8_t cpu_binded, uint8_t autorun, uint8_t sched_policy) in task_dyn_create() argument
288 autorun, K_OBJ_DYN_ALLOC, cpu_num, cpu_binded, sched_policy); in task_dyn_create()
318 task_entry_t entry, uint8_t cpu_num, uint8_t autorun) in krhino_task_cpu_dyn_create() argument
320 … return task_dyn_create(task, name, arg, pri, ticks, stack, entry, cpu_num, 1, autorun, KSCHED_RR); in krhino_task_cpu_dyn_create()
326 uint8_t cpu_num, uint8_t autorun) in krhino_cfs_task_cpu_dyn_create() argument
328 return task_dyn_create(task, name, arg, pri, 0, stack, entry, cpu_num, 1, autorun, KSCHED_CFS); in krhino_cfs_task_cpu_dyn_create()
408 if (task->cpu_num != cur_cpu_num) { in task_suspend()
835 if (task->cpu_num != cur_cpu_num) { in krhino_task_del()
949 if (task->cpu_num != cur_cpu_num) { in krhino_task_dyn_del()