Home
last modified time | relevance | path

Searched refs:rq_arg (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c71 rqstp->rq_arg.head[0].iov_base = page_address(page); in rdma_build_arg_xdr()
72 rqstp->rq_arg.head[0].iov_len = min(byte_count, ctxt->sge[0].length); in rdma_build_arg_xdr()
73 rqstp->rq_arg.len = byte_count; in rdma_build_arg_xdr()
74 rqstp->rq_arg.buflen = byte_count; in rdma_build_arg_xdr()
77 bc = byte_count - rqstp->rq_arg.head[0].iov_len; in rdma_build_arg_xdr()
80 rqstp->rq_arg.page_len = bc; in rdma_build_arg_xdr()
81 rqstp->rq_arg.page_base = 0; in rdma_build_arg_xdr()
82 rqstp->rq_arg.pages = &rqstp->rq_pages[1]; in rdma_build_arg_xdr()
89 rqstp->rq_arg.buflen += ctxt->sge[sge_no].length; in rdma_build_arg_xdr()
98 BUG_ON((rqstp->rq_arg.head[0].iov_len + rqstp->rq_arg.page_len) in rdma_build_arg_xdr()
[all …]
Dsvc_rdma_marshal.c199 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; in svc_rdma_xdr_decode_req()
202 if (rqstp->rq_arg.len <= RPCRDMA_HDRLEN_MIN) { in svc_rdma_xdr_decode_req()
204 rqstp->rq_arg.len); in svc_rdma_xdr_decode_req()
226 rqstp->rq_arg.head[0].iov_base = va; in svc_rdma_xdr_decode_req()
228 rqstp->rq_arg.head[0].iov_len -= hdrlen; in svc_rdma_xdr_decode_req()
229 if (hdrlen > rqstp->rq_arg.len) in svc_rdma_xdr_decode_req()
238 vaend = (u32 *)((unsigned long)rmsgp + rqstp->rq_arg.len); in svc_rdma_xdr_decode_req()
249 rqstp->rq_arg.head[0].iov_base = va; in svc_rdma_xdr_decode_req()
251 rqstp->rq_arg.head[0].iov_len -= hdr_len; in svc_rdma_xdr_decode_req()
267 rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; in svc_rdma_xdr_decode_deferred_req()
[all …]
Dsvc_rdma_sendto.c689 rdma_argp = xdr_start(&rqstp->rq_arg); in svc_rdma_sendto()
/linux-2.6.39/net/sunrpc/
Dsvcsock.c576 rqstp->rq_arg.len = len; in svc_udp_recvfrom()
593 if (csum_partial_copy_to_xdr(&rqstp->rq_arg, skb)) { in svc_udp_recvfrom()
603 rqstp->rq_arg.head[0].iov_base = skb->data + in svc_udp_recvfrom()
605 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom()
613 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
614 if (len <= rqstp->rq_arg.head[0].iov_len) { in svc_udp_recvfrom()
615 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom()
616 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom()
619 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom()
621 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom()
[all …]
Dsvc_xprt.c628 arg = &rqstp->rq_arg; in svc_recv()
997 if (rqstp->rq_arg.page_len || !rqstp->rq_usedeferral) in svc_defer()
1006 size = sizeof(struct svc_deferred_req) + rqstp->rq_arg.len; in svc_defer()
1016 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer()
1020 skip = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_defer()
1021 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer()
1040 rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); in svc_deferred_recv()
1042 rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv()
1043 rqstp->rq_arg.page_len = 0; in svc_deferred_recv()
1045 rqstp->rq_arg.len = dr->argslen<<2; in svc_deferred_recv()
Dsvcauth.c44 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
Dsvc.c1213 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_process()
1262 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process()
1273 memcpy(&rqstp->rq_arg, &req->rq_rcv_buf, sizeof(rqstp->rq_arg)); in bc_svc_process()
Dsvcauth_unix.c793 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_null_accept()
856 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_unix_accept()
/linux-2.6.39/fs/nfsd/
Dnfs3acl.c138 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_setaclargs()
150 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfs3svc_decode_setaclargs()
154 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfs3svc_decode_setaclargs()
Dnfs2acl.c173 struct kvec *head = rqstp->rq_arg.head; in nfsaclsvc_decode_setaclargs()
185 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfsaclsvc_decode_setaclargs()
189 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfsaclsvc_decode_setaclargs()
Dnfs3xdr.c375 hdr = (void*)p - rqstp->rq_arg.head[0].iov_base; in nfs3svc_decode_writeargs()
376 dlen = rqstp->rq_arg.head[0].iov_len + rqstp->rq_arg.page_len in nfs3svc_decode_writeargs()
394 rqstp->rq_vec[0].iov_len = rqstp->rq_arg.head[0].iov_len - hdr; in nfs3svc_decode_writeargs()
469 vec = &rqstp->rq_arg.head[0]; in nfs3svc_decode_symlinkargs()
477 if (len && !avail && rqstp->rq_arg.page_len) { in nfs3svc_decode_symlinkargs()
478 avail = rqstp->rq_arg.page_len; in nfs3svc_decode_symlinkargs()
481 old = page_address(rqstp->rq_arg.pages[0]); in nfs3svc_decode_symlinkargs()
Dnfsxdr.c299 hdr = (void*)p - rqstp->rq_arg.head[0].iov_base; in nfssvc_decode_writeargs()
300 dlen = rqstp->rq_arg.head[0].iov_len + rqstp->rq_arg.page_len in nfssvc_decode_writeargs()
315 rqstp->rq_vec[0].iov_len = rqstp->rq_arg.head[0].iov_len - hdr; in nfssvc_decode_writeargs()
Dnfssvc.c593 if (xdr && !xdr(rqstp, (__be32*)rqstp->rq_arg.head[0].iov_base, in nfsd_dispatch()
Dnfs4xdr.c3349 args->end = rqstp->rq_arg.head[0].iov_base + rqstp->rq_arg.head[0].iov_len; in nfs4svc_decode_compoundargs()
3350 args->pagelist = rqstp->rq_arg.pages; in nfs4svc_decode_compoundargs()
3351 args->pagelen = rqstp->rq_arg.page_len; in nfs4svc_decode_compoundargs()
/linux-2.6.39/include/linux/sunrpc/
Dsvc.h242 struct xdr_buf rq_arg; member
309 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
/linux-2.6.39/net/sunrpc/auth_gss/
Dsvcauth_gss.c661 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header()
998 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_handle_init()
1073 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept()
1175 if (unwrap_integ_data(&rqstp->rq_arg, in svcauth_gss_accept()
1183 if (unwrap_priv_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
/linux-2.6.39/fs/nfs/
Dcallback_xdr.c786 xdr_init_decode(&xdr_in, &rqstp->rq_arg, rqstp->rq_arg.head[0].iov_base); in nfs4_callback_compound()