Lines Matching refs:state
21 enum test_state state; member
32 ctx->state = TEST_STATE_DONE; in test_ctx_fail()
56 ctx->state = TEST_STATE_COPY; in fill_cb()
77 ctx->state = TEST_STATE_COMPARE; in copy_cb()
98 ctx->state = TEST_STATE_DONE; in compare_cb()
111 prev_state = ctx->state; in process_accel()
113 switch (ctx->state) { in process_accel()
117 ctx->state = TEST_STATE_WAIT_COMPLETION; in process_accel()
127 ctx->state = TEST_STATE_WAIT_COMPLETION; in process_accel()
137 ctx->state = TEST_STATE_WAIT_COMPLETION; in process_accel()
153 } while (ctx->state != prev_state); in process_accel()
176 struct test_ctx ctx = {.state = TEST_STATE_FILL, .status = 0}; in main()