Lines Matching refs:mNext
57 mHead = ret->mNext; in next()
61 ret->mNext = nullptr; in next()
73 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!"); in queue()
77 mTail->mNext = task; in queue()
85 next = next->mNext; in queue()
88 task->mNext = mHead; in queue()
91 previous->mNext = task; in queue()
93 task->mNext = next; in queue()
105 LOG_ALWAYS_FATAL_IF(task->mNext || mHead == task, "Task is already in the queue!"); in queueAtFront()
107 task->mNext = mHead; in queueAtFront()
117 LOG_ALWAYS_FATAL_IF(!task->mNext && mTail != task, in remove()
126 while (previous->mNext != task) { in remove()
127 previous = previous->mNext; in remove()
129 previous->mNext = task->mNext; in remove()