Lines Matching defs:state
81 task_state_t state;
147 REQUIRE(task->state == task_state_done);
192 task->state = task_state_idle;
260 if (task->state == task_state_idle) {
262 task->state = task_state_ready;
265 INSIST(task->state == task_state_ready ||
266 task->state == task_state_running);
287 REQUIRE(task->state == task_state_ready);
313 if (task->references == 0 && task->state == task_state_idle) {
319 * depending on its state, but it's easier to just
323 task->state = task_state_ready;
368 REQUIRE(task->state != task_state_done);
372 if (task->state == task_state_idle) {
375 task->state = task_state_ready;
377 INSIST(task->state == task_state_ready ||
378 task->state == task_state_running);
414 * We've changed the state to ready, so no one else will
416 * only way to leave the ready state is by executing the
527 * Note that purging never changes the state of the task.
565 * Purging never changes the state of the task.
797 * change the task to running state while only holding the
840 INSIST(task->state == task_state_ready);
841 task->state = task_state_running;
919 task->state = task_state_done;
921 task->state = task_state_idle;
938 task->state = task_state_ready;
1260 REQUIRE(task->state == task_state_running);
1281 REQUIRE(task->state == task_state_running);
1368 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "state"));
1370 statenames[task->state]));
1371 TRY0(xmlTextWriterEndElement(writer)); /* state */