Lines Matching refs:state
429 states[pkt->state]++;
479 seq_printf(m, "\nQueue state:\n");
1103 enum packet_data_state state)
1108 enum packet_data_state old_state = pkt->state;
1111 pkt->id, pkt->sector, state_name[old_state], state_name[state]);
1113 pkt->state = state;
1323 switch (pkt->state) {
1377 * Run state machine for active packets
1391 if (pkt->state == PACKET_FINISHED_STATE) {
1430 /* Check if we need to run the state machine for some packet */
1486 * Handle packet state machine
1740 dev_err(ddev, "bad state %d-%d-%d\n", ti->rt, ti->blank, ti->packet);
2347 * If we find a matching packet in state WAITING or READ_WAIT, we can
2355 if ((pkt->state == PACKET_WAITING_STATE) ||
2356 (pkt->state == PACKET_READ_WAIT_STATE)) {
2361 (pkt->state == PACKET_WAITING_STATE)) {