Searched refs:mTaskPool (Results 1 – 1 of 1) sorted by relevance
55 static struct TaskPool mTaskPool; variable137 size_t idx = task - &mTaskPool.data[0]; in osTaskIndex()138 return idx >= MAX_TASKS || &mTaskPool.data[idx] != task ? NO_NODE : idx; in osTaskIndex()143 return idx >= MAX_TASKS ? NULL : &mTaskPool.data[idx]; in osTaskByIdx()170 return idx == NO_NODE ? NULL : &mTaskPool.data[idx]; in osTaskListPeekHead()205 &mTaskPool, in dumpTaskList()227 struct TaskList *left = left_idx == NO_NODE ? listHead : &mTaskPool.data[left_idx].list; in osTaskListRemoveTask()228 struct TaskList *right = right_idx == NO_NODE ? listHead : &mTaskPool.data[right_idx].list; in osTaskListRemoveTask()243 struct TaskList *last = last_idx == NO_NODE ? listHead : &mTaskPool.data[last_idx].list; in osTaskListAddTail()290 return idx < MAX_TASKS ? &mTaskPool.data[idx] : NULL; in osTaskFindByTid()[all …]