Searched refs:rq_phase (Results 1 – 5 of 5) sorted by relevance
629 request->rq_phase = RQ_PHASE_NEW; in __ptlrpc_request_bufs_pack()904 LASSERT(req->rq_phase == expected_phase); in ptlrpc_set_destroy()918 LASSERT(req->rq_phase == expected_phase); in ptlrpc_set_destroy()920 if (req->rq_phase == RQ_PHASE_NEW) { in ptlrpc_set_destroy()1363 LASSERT(req->rq_phase == RQ_PHASE_NEW); in ptlrpc_send_new_req()1496 if (req->rq_phase == RQ_PHASE_NEW && in ptlrpc_check_set()1502 if (req->rq_phase == RQ_PHASE_NEW && req->rq_sent) in ptlrpc_check_set()1506 if (req->rq_phase == RQ_PHASE_RPC && req->rq_resend && in ptlrpc_check_set()1510 if (!(req->rq_phase == RQ_PHASE_RPC || in ptlrpc_check_set()1511 req->rq_phase == RQ_PHASE_BULK || in ptlrpc_check_set()[all …]
225 if (!(((req->rq_phase == RQ_PHASE_RPC) && !req->rq_waiting) || in ptlrpc_inflight_deadline()226 (req->rq_phase == RQ_PHASE_BULK) || in ptlrpc_inflight_deadline()227 (req->rq_phase == RQ_PHASE_NEW))) in ptlrpc_inflight_deadline()233 if (req->rq_phase == RQ_PHASE_NEW) in ptlrpc_inflight_deadline()
247 LASSERT(req->rq_phase == RQ_PHASE_NEW); in ptlrpcd_add_req()327 if (req->rq_phase != RQ_PHASE_COMPLETE) in ptlrpcd_check()
334 req->rq_phase = RQ_PHASE_NEW; in request_in_callback()
472 enum rq_phase { enum1329 enum rq_phase rq_phase; /* one of RQ_PHASE_* */ member1330 enum rq_phase rq_next_phase; /* one of RQ_PHASE_* to be used next */1609 ptlrpc_phase2str(enum rq_phase phase) in ptlrpc_phase2str()1636 return ptlrpc_phase2str(req->rq_phase); in ptlrpc_rqphase2str()2653 ptlrpc_rqphase_move(struct ptlrpc_request *req, enum rq_phase new_phase) in ptlrpc_rqphase_move()2655 if (req->rq_phase == new_phase) in ptlrpc_rqphase_move()2659 req->rq_next_phase = req->rq_phase; in ptlrpc_rqphase_move()2664 if (req->rq_phase == RQ_PHASE_UNREGISTERING) { in ptlrpc_rqphase_move()2672 req->rq_phase = new_phase; in ptlrpc_rqphase_move()