Searched refs:crpc (Results 1 – 3 of 3) sorted by relevance
51 struct lstcon_rpc *crpc = (struct lstcon_rpc *)rpc->crpc_priv; in lstcon_rpc_done() local53 LASSERT(crpc && rpc == crpc->crp_rpc); in lstcon_rpc_done()54 LASSERT(crpc->crp_posted && !crpc->crp_finished); in lstcon_rpc_done()58 if (!crpc->crp_trans) { in lstcon_rpc_done()66 lstcon_rpc_put(crpc); in lstcon_rpc_done()71 crpc->crp_finished = 1; in lstcon_rpc_done()73 if (!crpc->crp_stamp) { in lstcon_rpc_done()75 LASSERT(!crpc->crp_status); in lstcon_rpc_done()77 crpc->crp_stamp = cfs_time_current(); in lstcon_rpc_done()78 crpc->crp_status = rpc->crpc_status; in lstcon_rpc_done()[all …]
109 unsigned version, struct lstcon_rpc **crpc);111 unsigned version, struct lstcon_rpc **crpc);113 struct lstcon_tsb_hdr *tsb, struct lstcon_rpc **crpc);115 struct lstcon_test *test, struct lstcon_rpc **crpc);117 struct lstcon_rpc **crpc);118 void lstcon_rpc_put(struct lstcon_rpc *crpc);
1411 struct srpc_client_rpc *crpc; in srpc_lnet_ev_handler() local1448 crpc = rpcev->ev_data; in srpc_lnet_ev_handler()1450 if (rpcev != &crpc->crpc_reqstev && in srpc_lnet_ev_handler()1451 rpcev != &crpc->crpc_replyev && in srpc_lnet_ev_handler()1452 rpcev != &crpc->crpc_bulkev) { in srpc_lnet_ev_handler()1454 rpcev, crpc, &crpc->crpc_reqstev, in srpc_lnet_ev_handler()1455 &crpc->crpc_replyev, &crpc->crpc_bulkev); in srpc_lnet_ev_handler()1461 spin_lock(&crpc->crpc_lock); in srpc_lnet_ev_handler()1467 swi_schedule_workitem(&crpc->crpc_wi); in srpc_lnet_ev_handler()1469 spin_unlock(&crpc->crpc_lock); in srpc_lnet_ev_handler()