• Home
  • Raw
  • Download

Lines Matching refs:status

263 	*p++ = cpu_to_be32(error->status);  in encode_device_error()
471 int status, count; in decode_write_response() local
480 status = decode_opaque_fixed(xdr, &res->stateid, in decode_write_response()
482 if (unlikely(status)) in decode_write_response()
508 int status; in decode_copy() local
510 status = decode_op_hdr(xdr, OP_COPY); in decode_copy()
511 if (status == NFS4ERR_OFFLOAD_NO_REQS) { in decode_copy()
512 status = decode_copy_requirements(xdr, res); in decode_copy()
513 if (status) in decode_copy()
514 return status; in decode_copy()
516 } else if (status) in decode_copy()
517 return status; in decode_copy()
519 status = decode_write_response(xdr, &res->write_res); in decode_copy()
520 if (status) in decode_copy()
521 return status; in decode_copy()
539 int status; in decode_seek() local
542 status = decode_op_hdr(xdr, OP_SEEK); in decode_seek()
543 if (status) in decode_seek()
544 return status; in decode_seek()
579 int status; in nfs4_xdr_dec_allocate() local
581 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_allocate()
582 if (status) in nfs4_xdr_dec_allocate()
584 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_allocate()
585 if (status) in nfs4_xdr_dec_allocate()
587 status = decode_putfh(xdr); in nfs4_xdr_dec_allocate()
588 if (status) in nfs4_xdr_dec_allocate()
590 status = decode_allocate(xdr, res); in nfs4_xdr_dec_allocate()
591 if (status) in nfs4_xdr_dec_allocate()
595 return status; in nfs4_xdr_dec_allocate()
607 int status; in nfs4_xdr_dec_copy() local
609 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy()
610 if (status) in nfs4_xdr_dec_copy()
612 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_copy()
613 if (status) in nfs4_xdr_dec_copy()
615 status = decode_putfh(xdr); in nfs4_xdr_dec_copy()
616 if (status) in nfs4_xdr_dec_copy()
618 status = decode_savefh(xdr); in nfs4_xdr_dec_copy()
619 if (status) in nfs4_xdr_dec_copy()
621 status = decode_putfh(xdr); in nfs4_xdr_dec_copy()
622 if (status) in nfs4_xdr_dec_copy()
624 status = decode_copy(xdr, res); in nfs4_xdr_dec_copy()
625 if (status) in nfs4_xdr_dec_copy()
628 status = decode_commit(xdr, &res->commit_res); in nfs4_xdr_dec_copy()
630 return status; in nfs4_xdr_dec_copy()
642 int status; in nfs4_xdr_dec_offload_cancel() local
644 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_offload_cancel()
645 if (status) in nfs4_xdr_dec_offload_cancel()
647 status = decode_sequence(xdr, &res->osr_seq_res, rqstp); in nfs4_xdr_dec_offload_cancel()
648 if (status) in nfs4_xdr_dec_offload_cancel()
650 status = decode_putfh(xdr); in nfs4_xdr_dec_offload_cancel()
651 if (status) in nfs4_xdr_dec_offload_cancel()
653 status = decode_offload_cancel(xdr, res); in nfs4_xdr_dec_offload_cancel()
656 return status; in nfs4_xdr_dec_offload_cancel()
668 int status; in nfs4_xdr_dec_deallocate() local
670 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_deallocate()
671 if (status) in nfs4_xdr_dec_deallocate()
673 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_deallocate()
674 if (status) in nfs4_xdr_dec_deallocate()
676 status = decode_putfh(xdr); in nfs4_xdr_dec_deallocate()
677 if (status) in nfs4_xdr_dec_deallocate()
679 status = decode_deallocate(xdr, res); in nfs4_xdr_dec_deallocate()
680 if (status) in nfs4_xdr_dec_deallocate()
684 return status; in nfs4_xdr_dec_deallocate()
696 int status; in nfs4_xdr_dec_seek() local
698 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_seek()
699 if (status) in nfs4_xdr_dec_seek()
701 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_seek()
702 if (status) in nfs4_xdr_dec_seek()
704 status = decode_putfh(xdr); in nfs4_xdr_dec_seek()
705 if (status) in nfs4_xdr_dec_seek()
707 status = decode_seek(xdr, res); in nfs4_xdr_dec_seek()
709 return status; in nfs4_xdr_dec_seek()
721 int status, i; in nfs4_xdr_dec_layoutstats() local
723 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutstats()
724 if (status) in nfs4_xdr_dec_layoutstats()
726 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_layoutstats()
727 if (status) in nfs4_xdr_dec_layoutstats()
729 status = decode_putfh(xdr); in nfs4_xdr_dec_layoutstats()
730 if (status) in nfs4_xdr_dec_layoutstats()
734 status = decode_layoutstats(xdr); in nfs4_xdr_dec_layoutstats()
735 if (status) in nfs4_xdr_dec_layoutstats()
739 res->rpc_status = status; in nfs4_xdr_dec_layoutstats()
740 return status; in nfs4_xdr_dec_layoutstats()
752 int status; in nfs4_xdr_dec_clone() local
754 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_clone()
755 if (status) in nfs4_xdr_dec_clone()
757 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_clone()
758 if (status) in nfs4_xdr_dec_clone()
760 status = decode_putfh(xdr); in nfs4_xdr_dec_clone()
761 if (status) in nfs4_xdr_dec_clone()
763 status = decode_savefh(xdr); in nfs4_xdr_dec_clone()
764 if (status) in nfs4_xdr_dec_clone()
766 status = decode_putfh(xdr); in nfs4_xdr_dec_clone()
767 if (status) in nfs4_xdr_dec_clone()
769 status = decode_clone(xdr); in nfs4_xdr_dec_clone()
770 if (status) in nfs4_xdr_dec_clone()
772 status = decode_getfattr(xdr, res->dst_fattr, res->server); in nfs4_xdr_dec_clone()
775 res->rpc_status = status; in nfs4_xdr_dec_clone()
776 return status; in nfs4_xdr_dec_clone()
788 int status, i; in nfs4_xdr_dec_layouterror() local
790 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layouterror()
791 if (status) in nfs4_xdr_dec_layouterror()
793 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_layouterror()
794 if (status) in nfs4_xdr_dec_layouterror()
796 status = decode_putfh(xdr); in nfs4_xdr_dec_layouterror()
798 for (i = 0; i < res->num_errors && status == 0; i++) in nfs4_xdr_dec_layouterror()
799 status = decode_layouterror(xdr); in nfs4_xdr_dec_layouterror()
801 res->rpc_status = status; in nfs4_xdr_dec_layouterror()
802 return status; in nfs4_xdr_dec_layouterror()