Home
last modified time | relevance | path

Searched refs:rq_phase (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dclient.c615 request->rq_phase = RQ_PHASE_NEW; in __ptlrpc_request_bufs_pack()
928 LASSERT(req->rq_phase == expected_phase); in ptlrpc_set_destroy()
942 LASSERT(req->rq_phase == expected_phase); in ptlrpc_set_destroy()
944 if (req->rq_phase == RQ_PHASE_NEW) { in ptlrpc_set_destroy()
1406 LASSERT(req->rq_phase == RQ_PHASE_NEW); in ptlrpc_send_new_req()
1536 if (req->rq_phase == RQ_PHASE_NEW && in ptlrpc_check_set()
1542 if (req->rq_phase == RQ_PHASE_NEW && req->rq_sent) in ptlrpc_check_set()
1546 if (req->rq_phase == RQ_PHASE_RPC && req->rq_resend && in ptlrpc_check_set()
1550 if (!(req->rq_phase == RQ_PHASE_RPC || in ptlrpc_check_set()
1551 req->rq_phase == RQ_PHASE_BULK || in ptlrpc_check_set()
[all …]
Dptlrpcd.c161 LASSERT(req->rq_phase == RQ_PHASE_NEW); in ptlrpcd_add_rqset()
233 LASSERT(req->rq_phase == RQ_PHASE_NEW); in ptlrpcd_add_req()
313 if (req->rq_phase != RQ_PHASE_COMPLETE) in ptlrpcd_check()
Dimport.c233 if (!(((req->rq_phase == RQ_PHASE_RPC) && !req->rq_waiting) || in ptlrpc_inflight_deadline()
234 (req->rq_phase == RQ_PHASE_BULK) || in ptlrpc_inflight_deadline()
235 (req->rq_phase == RQ_PHASE_NEW))) in ptlrpc_inflight_deadline()
241 if (req->rq_phase == RQ_PHASE_NEW) in ptlrpc_inflight_deadline()
Devents.c334 req->rq_phase = RQ_PHASE_NEW; in request_in_callback()
Dlproc_ptlrpc.c912 switch (req->rq_phase) { in target_print_req()
927 DEBUG_REQ(D_ERROR, req, "bad phase %d", req->rq_phase); in target_print_req()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_net.h474 enum rq_phase { enum
1335 enum rq_phase rq_phase; /* one of RQ_PHASE_* */ member
1336 enum rq_phase rq_next_phase; /* one of RQ_PHASE_* to be used next */
1623 ptlrpc_phase2str(enum rq_phase phase) in ptlrpc_phase2str()
1650 return ptlrpc_phase2str(req->rq_phase); in ptlrpc_rqphase2str()
2694 ptlrpc_rqphase_move(struct ptlrpc_request *req, enum rq_phase new_phase) in ptlrpc_rqphase_move()
2696 if (req->rq_phase == new_phase) in ptlrpc_rqphase_move()
2700 req->rq_next_phase = req->rq_phase; in ptlrpc_rqphase_move()
2705 if (req->rq_phase == RQ_PHASE_UNREGISTERING) { in ptlrpc_rqphase_move()
2713 req->rq_phase = new_phase; in ptlrpc_rqphase_move()