/* xprt_lookup_rqst - find an RPC request corresponding to an XID @xprt: transport on which the original request was transmitted @xid: RPC XID of incoming reply  */
struct rpc_rqst* xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid)
/* xprt_lookup_rqst - find an RPC request corresponding to an XID @xprt: transport on which the original request was transmitted @xid: RPC XID of incoming reply  */
struct rpc_rqst* xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid)
{
	struct list_head *pos;
	list_for_each(pos, &xprt->recv) {
		struct rpc_rqst *entry = list_entry(pos, struct rpc_rqst, rq_list);
		if (entry->rq_xid == xid)
			return entry;
	}
	dprintk("RPC:       xprt_lookup_rqst did not find xid %08x\n",
			ntohl(xid));
	xprt->stat.bad_xids++;
	return NULL;
}