Lines Matching refs:resp
520 struct nfsd3_attrstat *resp) in nfs3svc_encode_attrstat() argument
522 if (resp->status == 0) in nfs3svc_encode_attrstat()
523 p = encode_fattr3(rqstp, p, &resp->fh); in nfs3svc_encode_attrstat()
530 struct nfsd3_attrstat *resp) in nfs3svc_encode_wccstat() argument
532 p = encode_wcc_data(rqstp, p, &resp->fh); in nfs3svc_encode_wccstat()
539 struct nfsd3_diropres *resp) in nfs3svc_encode_diropres() argument
541 if (resp->status == 0) { in nfs3svc_encode_diropres()
542 p = encode_fh(p, &resp->fh); in nfs3svc_encode_diropres()
543 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_diropres()
545 p = encode_post_op_attr(rqstp, p, &resp->dirfh); in nfs3svc_encode_diropres()
552 struct nfsd3_accessres *resp) in nfs3svc_encode_accessres() argument
554 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_accessres()
555 if (resp->status == 0) in nfs3svc_encode_accessres()
556 *p++ = htonl(resp->access); in nfs3svc_encode_accessres()
563 struct nfsd3_readlinkres *resp) in nfs3svc_encode_readlinkres() argument
565 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_readlinkres()
566 if (resp->status == 0) { in nfs3svc_encode_readlinkres()
567 *p++ = htonl(resp->len); in nfs3svc_encode_readlinkres()
568 p += XDR_QUADLEN(resp->len); in nfs3svc_encode_readlinkres()
576 struct nfsd3_readres *resp) in nfs3svc_encode_readres() argument
578 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_readres()
579 if (resp->status == 0) { in nfs3svc_encode_readres()
580 *p++ = htonl(resp->count); in nfs3svc_encode_readres()
581 *p++ = htonl(resp->eof); in nfs3svc_encode_readres()
582 *p++ = htonl(resp->count); /* xdr opaque count */ in nfs3svc_encode_readres()
583 p += XDR_QUADLEN(resp->count); in nfs3svc_encode_readres()
591 struct nfsd3_writeres *resp) in nfs3svc_encode_writeres() argument
593 p = encode_wcc_data(rqstp, p, &resp->fh); in nfs3svc_encode_writeres()
594 if (resp->status == 0) { in nfs3svc_encode_writeres()
595 *p++ = htonl(resp->count); in nfs3svc_encode_writeres()
596 *p++ = htonl(resp->committed); in nfs3svc_encode_writeres()
606 struct nfsd3_diropres *resp) in nfs3svc_encode_createres() argument
608 if (resp->status == 0) { in nfs3svc_encode_createres()
610 p = encode_fh(p, &resp->fh); in nfs3svc_encode_createres()
611 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_createres()
613 p = encode_wcc_data(rqstp, p, &resp->dirfh); in nfs3svc_encode_createres()
620 struct nfsd3_renameres *resp) in nfs3svc_encode_renameres() argument
622 p = encode_wcc_data(rqstp, p, &resp->ffh); in nfs3svc_encode_renameres()
623 p = encode_wcc_data(rqstp, p, &resp->tfh); in nfs3svc_encode_renameres()
630 struct nfsd3_linkres *resp) in nfs3svc_encode_linkres() argument
632 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_linkres()
633 p = encode_wcc_data(rqstp, p, &resp->tfh); in nfs3svc_encode_linkres()
640 struct nfsd3_readdirres *resp) in nfs3svc_encode_readdirres() argument
642 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_readdirres()
643 if (resp->status == 0) { in nfs3svc_encode_readdirres()
645 memcpy(p, resp->verf, 8); p += 2; in nfs3svc_encode_readdirres()
646 p += XDR_QUADLEN(resp->count); in nfs3svc_encode_readdirres()
757 struct nfsd3_fsstatres *resp) in nfs3svc_encode_fsstatres() argument
759 struct statfs *s = &resp->stats; in nfs3svc_encode_fsstatres()
764 if (resp->status == 0) { in nfs3svc_encode_fsstatres()
771 *p++ = htonl(resp->invarsec); /* mean unchanged time */ in nfs3svc_encode_fsstatres()
779 struct nfsd3_fsinfores *resp) in nfs3svc_encode_fsinfores() argument
783 if (resp->status == 0) { in nfs3svc_encode_fsinfores()
784 *p++ = htonl(resp->f_rtmax); in nfs3svc_encode_fsinfores()
785 *p++ = htonl(resp->f_rtpref); in nfs3svc_encode_fsinfores()
786 *p++ = htonl(resp->f_rtmult); in nfs3svc_encode_fsinfores()
787 *p++ = htonl(resp->f_wtmax); in nfs3svc_encode_fsinfores()
788 *p++ = htonl(resp->f_wtpref); in nfs3svc_encode_fsinfores()
789 *p++ = htonl(resp->f_wtmult); in nfs3svc_encode_fsinfores()
790 *p++ = htonl(resp->f_dtpref); in nfs3svc_encode_fsinfores()
791 p = xdr_encode_hyper(p, resp->f_maxfilesize); in nfs3svc_encode_fsinfores()
794 *p++ = htonl(resp->f_properties); in nfs3svc_encode_fsinfores()
803 struct nfsd3_pathconfres *resp) in nfs3svc_encode_pathconfres() argument
807 if (resp->status == 0) { in nfs3svc_encode_pathconfres()
808 *p++ = htonl(resp->p_link_max); in nfs3svc_encode_pathconfres()
809 *p++ = htonl(resp->p_name_max); in nfs3svc_encode_pathconfres()
810 *p++ = htonl(resp->p_no_trunc); in nfs3svc_encode_pathconfres()
811 *p++ = htonl(resp->p_chown_restricted); in nfs3svc_encode_pathconfres()
812 *p++ = htonl(resp->p_case_insensitive); in nfs3svc_encode_pathconfres()
813 *p++ = htonl(resp->p_case_preserving); in nfs3svc_encode_pathconfres()
822 struct nfsd3_commitres *resp) in nfs3svc_encode_commitres() argument
824 p = encode_wcc_data(rqstp, p, &resp->fh); in nfs3svc_encode_commitres()
826 if (resp->status == 0) { in nfs3svc_encode_commitres()
838 struct nfsd3_attrstat *resp) in nfs3svc_release_fhandle() argument
840 fh_put(&resp->fh); in nfs3svc_release_fhandle()
846 struct nfsd3_fhandle_pair *resp) in nfs3svc_release_fhandle2() argument
848 fh_put(&resp->fh1); in nfs3svc_release_fhandle2()
849 fh_put(&resp->fh2); in nfs3svc_release_fhandle2()