• Home
  • Raw
  • Download

Lines Matching refs:dr

918 	struct svc_deferred_req *dr;  in svc_delete_xprt()  local
935 while ((dr = svc_deferred_dequeue(xprt)) != NULL) in svc_delete_xprt()
936 kfree(dr); in svc_delete_xprt()
1038 struct svc_deferred_req *dr = in svc_revisit() local
1040 struct svc_xprt *xprt = dr->xprt; in svc_revisit()
1048 kfree(dr); in svc_revisit()
1052 dr->xprt = NULL; in svc_revisit()
1053 list_add(&dr->handle.recent, &xprt->xpt_deferred); in svc_revisit()
1071 struct svc_deferred_req *dr; in svc_defer() local
1076 dr = rqstp->rq_deferred; in svc_defer()
1083 dr = kmalloc(size, GFP_KERNEL); in svc_defer()
1084 if (dr == NULL) in svc_defer()
1087 dr->handle.owner = rqstp->rq_server; in svc_defer()
1088 dr->prot = rqstp->rq_prot; in svc_defer()
1089 memcpy(&dr->addr, &rqstp->rq_addr, rqstp->rq_addrlen); in svc_defer()
1090 dr->addrlen = rqstp->rq_addrlen; in svc_defer()
1091 dr->daddr = rqstp->rq_daddr; in svc_defer()
1092 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer()
1093 dr->xprt_hlen = rqstp->rq_xprt_hlen; in svc_defer()
1097 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer()
1098 dr->argslen << 2); in svc_defer()
1101 dr->xprt = rqstp->rq_xprt; in svc_defer()
1104 dr->handle.revisit = svc_revisit; in svc_defer()
1105 return &dr->handle; in svc_defer()
1113 struct svc_deferred_req *dr = rqstp->rq_deferred; in svc_deferred_recv() local
1116 rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); in svc_deferred_recv()
1118 rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv()
1121 rqstp->rq_arg.len = dr->argslen<<2; in svc_deferred_recv()
1122 rqstp->rq_prot = dr->prot; in svc_deferred_recv()
1123 memcpy(&rqstp->rq_addr, &dr->addr, dr->addrlen); in svc_deferred_recv()
1124 rqstp->rq_addrlen = dr->addrlen; in svc_deferred_recv()
1126 rqstp->rq_xprt_hlen = dr->xprt_hlen; in svc_deferred_recv()
1127 rqstp->rq_daddr = dr->daddr; in svc_deferred_recv()
1129 return (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv()
1135 struct svc_deferred_req *dr = NULL; in svc_deferred_dequeue() local
1141 dr = list_entry(xprt->xpt_deferred.next, in svc_deferred_dequeue()
1144 list_del_init(&dr->handle.recent); in svc_deferred_dequeue()
1148 return dr; in svc_deferred_dequeue()