Lines Matching full:hdr

280 			    struct compound_hdr *hdr)  in encode_allocate()  argument
282 encode_op_hdr(xdr, OP_ALLOCATE, decode_allocate_maxsz, hdr); in encode_allocate()
308 struct compound_hdr *hdr) in encode_copy() argument
310 encode_op_hdr(xdr, OP_COPY, decode_copy_maxsz, hdr); in encode_copy()
330 struct compound_hdr *hdr) in encode_copy_commit() argument
334 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr); in encode_copy_commit()
342 struct compound_hdr *hdr) in encode_offload_cancel() argument
344 encode_op_hdr(xdr, OP_OFFLOAD_CANCEL, decode_offload_cancel_maxsz, hdr); in encode_offload_cancel()
350 struct compound_hdr *hdr) in encode_copy_notify() argument
352 encode_op_hdr(xdr, OP_COPY_NOTIFY, decode_copy_notify_maxsz, hdr); in encode_copy_notify()
359 struct compound_hdr *hdr) in encode_deallocate() argument
361 encode_op_hdr(xdr, OP_DEALLOCATE, decode_deallocate_maxsz, hdr); in encode_deallocate()
367 struct compound_hdr *hdr) in encode_read_plus() argument
369 encode_op_hdr(xdr, OP_READ_PLUS, decode_read_plus_maxsz, hdr); in encode_read_plus()
377 struct compound_hdr *hdr) in encode_seek() argument
379 encode_op_hdr(xdr, OP_SEEK, decode_seek_maxsz, hdr); in encode_seek()
388 struct compound_hdr *hdr) in encode_layoutstats() argument
392 encode_op_hdr(xdr, OP_LAYOUTSTATS, decode_layoutstats_maxsz, hdr); in encode_layoutstats()
415 struct compound_hdr *hdr) in encode_clone() argument
419 encode_op_hdr(xdr, OP_CLONE, decode_clone_maxsz, hdr); in encode_clone()
442 struct compound_hdr *hdr) in encode_layouterror() argument
446 encode_op_hdr(xdr, OP_LAYOUTERROR, decode_layouterror_maxsz, hdr); in encode_layouterror()
458 struct compound_hdr *hdr) in encode_setxattr() argument
465 encode_op_hdr(xdr, OP_SETXATTR, decode_setxattr_maxsz, hdr); in encode_setxattr()
476 struct compound_hdr *hdr) in encode_getxattr() argument
478 encode_op_hdr(xdr, OP_GETXATTR, decode_getxattr_maxsz, hdr); in encode_getxattr()
483 struct compound_hdr *hdr) in encode_removexattr() argument
485 encode_op_hdr(xdr, OP_REMOVEXATTR, decode_removexattr_maxsz, hdr); in encode_removexattr()
491 struct compound_hdr *hdr) in encode_listxattrs() argument
495 encode_op_hdr(xdr, OP_LISTXATTRS, decode_listxattrs_maxsz, hdr); in encode_listxattrs()
518 struct compound_hdr hdr = { in nfs4_xdr_enc_allocate() local
522 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_allocate()
523 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_allocate()
524 encode_putfh(xdr, args->falloc_fh, &hdr); in nfs4_xdr_enc_allocate()
525 encode_allocate(xdr, args, &hdr); in nfs4_xdr_enc_allocate()
526 encode_getfattr(xdr, args->falloc_bitmask, &hdr); in nfs4_xdr_enc_allocate()
527 encode_nops(&hdr); in nfs4_xdr_enc_allocate()
538 struct compound_hdr hdr = { in nfs4_xdr_enc_copy() local
542 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_copy()
543 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_copy()
544 encode_putfh(xdr, args->src_fh, &hdr); in nfs4_xdr_enc_copy()
545 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_copy()
546 encode_putfh(xdr, args->dst_fh, &hdr); in nfs4_xdr_enc_copy()
547 encode_copy(xdr, args, &hdr); in nfs4_xdr_enc_copy()
549 encode_copy_commit(xdr, args, &hdr); in nfs4_xdr_enc_copy()
550 encode_nops(&hdr); in nfs4_xdr_enc_copy()
561 struct compound_hdr hdr = { in nfs4_xdr_enc_offload_cancel() local
565 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_offload_cancel()
566 encode_sequence(xdr, &args->osa_seq_args, &hdr); in nfs4_xdr_enc_offload_cancel()
567 encode_putfh(xdr, args->osa_src_fh, &hdr); in nfs4_xdr_enc_offload_cancel()
568 encode_offload_cancel(xdr, args, &hdr); in nfs4_xdr_enc_offload_cancel()
569 encode_nops(&hdr); in nfs4_xdr_enc_offload_cancel()
580 struct compound_hdr hdr = { in nfs4_xdr_enc_copy_notify() local
584 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_copy_notify()
585 encode_sequence(xdr, &args->cna_seq_args, &hdr); in nfs4_xdr_enc_copy_notify()
586 encode_putfh(xdr, args->cna_src_fh, &hdr); in nfs4_xdr_enc_copy_notify()
587 encode_copy_notify(xdr, args, &hdr); in nfs4_xdr_enc_copy_notify()
588 encode_nops(&hdr); in nfs4_xdr_enc_copy_notify()
599 struct compound_hdr hdr = { in nfs4_xdr_enc_deallocate() local
603 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_deallocate()
604 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_deallocate()
605 encode_putfh(xdr, args->falloc_fh, &hdr); in nfs4_xdr_enc_deallocate()
606 encode_deallocate(xdr, args, &hdr); in nfs4_xdr_enc_deallocate()
607 encode_getfattr(xdr, args->falloc_bitmask, &hdr); in nfs4_xdr_enc_deallocate()
608 encode_nops(&hdr); in nfs4_xdr_enc_deallocate()
619 struct compound_hdr hdr = { in nfs4_xdr_enc_read_plus() local
623 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_read_plus()
624 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_read_plus()
625 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_read_plus()
626 encode_read_plus(xdr, args, &hdr); in nfs4_xdr_enc_read_plus()
629 hdr.replen - READ_PLUS_SEGMENT_SIZE_DIFF); in nfs4_xdr_enc_read_plus()
630 encode_nops(&hdr); in nfs4_xdr_enc_read_plus()
641 struct compound_hdr hdr = { in nfs4_xdr_enc_seek() local
645 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_seek()
646 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_seek()
647 encode_putfh(xdr, args->sa_fh, &hdr); in nfs4_xdr_enc_seek()
648 encode_seek(xdr, args, &hdr); in nfs4_xdr_enc_seek()
649 encode_nops(&hdr); in nfs4_xdr_enc_seek()
662 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutstats() local
666 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutstats()
667 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutstats()
668 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_layoutstats()
671 encode_layoutstats(xdr, args, &args->devinfo[i], &hdr); in nfs4_xdr_enc_layoutstats()
672 encode_nops(&hdr); in nfs4_xdr_enc_layoutstats()
683 struct compound_hdr hdr = { in nfs4_xdr_enc_clone() local
687 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_clone()
688 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_clone()
689 encode_putfh(xdr, args->src_fh, &hdr); in nfs4_xdr_enc_clone()
690 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_clone()
691 encode_putfh(xdr, args->dst_fh, &hdr); in nfs4_xdr_enc_clone()
692 encode_clone(xdr, args, &hdr); in nfs4_xdr_enc_clone()
693 encode_getfattr(xdr, args->dst_bitmask, &hdr); in nfs4_xdr_enc_clone()
694 encode_nops(&hdr); in nfs4_xdr_enc_clone()
705 struct compound_hdr hdr = { in nfs4_xdr_enc_layouterror() local
710 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layouterror()
711 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layouterror()
712 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layouterror()
714 encode_layouterror(xdr, &args->errors[i], &hdr); in nfs4_xdr_enc_layouterror()
715 encode_nops(&hdr); in nfs4_xdr_enc_layouterror()
725 struct compound_hdr hdr = { in nfs4_xdr_enc_setxattr() local
729 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setxattr()
730 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setxattr()
731 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setxattr()
732 encode_setxattr(xdr, args, &hdr); in nfs4_xdr_enc_setxattr()
733 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_setxattr()
734 encode_nops(&hdr); in nfs4_xdr_enc_setxattr()
744 struct compound_hdr hdr = { in nfs4_xdr_enc_getxattr() local
749 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getxattr()
750 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getxattr()
751 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getxattr()
752 replen = hdr.replen + op_decode_hdr_maxsz + 1; in nfs4_xdr_enc_getxattr()
753 encode_getxattr(xdr, args->xattr_name, &hdr); in nfs4_xdr_enc_getxattr()
758 encode_nops(&hdr); in nfs4_xdr_enc_getxattr()
768 struct compound_hdr hdr = { in nfs4_xdr_enc_listxattrs() local
773 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_listxattrs()
774 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_listxattrs()
775 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_listxattrs()
776 replen = hdr.replen + op_decode_hdr_maxsz + 2 + 1; in nfs4_xdr_enc_listxattrs()
777 encode_listxattrs(xdr, args, &hdr); in nfs4_xdr_enc_listxattrs()
781 encode_nops(&hdr); in nfs4_xdr_enc_listxattrs()
791 struct compound_hdr hdr = { in nfs4_xdr_enc_removexattr() local
795 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_removexattr()
796 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_removexattr()
797 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_removexattr()
798 encode_removexattr(xdr, args->xattr_name, &hdr); in nfs4_xdr_enc_removexattr()
799 encode_nops(&hdr); in nfs4_xdr_enc_removexattr()
1047 struct nfs_pgio_header *hdr = in decode_read_plus() local
1049 struct nfs_pgio_args *args = &hdr->args; in decode_read_plus()
1292 struct compound_hdr hdr; in nfs4_xdr_dec_allocate() local
1295 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_allocate()
1320 struct compound_hdr hdr; in nfs4_xdr_dec_copy() local
1323 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy()
1355 struct compound_hdr hdr; in nfs4_xdr_dec_offload_cancel() local
1358 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_offload_cancel()
1381 struct compound_hdr hdr; in nfs4_xdr_dec_copy_notify() local
1384 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy_notify()
1407 struct compound_hdr hdr; in nfs4_xdr_dec_deallocate() local
1410 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_deallocate()
1435 struct compound_hdr hdr; in nfs4_xdr_dec_read_plus() local
1440 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read_plus()
1464 struct compound_hdr hdr; in nfs4_xdr_dec_seek() local
1467 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_seek()
1489 struct compound_hdr hdr; in nfs4_xdr_dec_layoutstats() local
1492 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutstats()
1520 struct compound_hdr hdr; in nfs4_xdr_dec_clone() local
1523 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_clone()
1555 struct compound_hdr hdr; in nfs4_xdr_dec_layouterror() local
1558 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layouterror()
1580 struct compound_hdr hdr; in nfs4_xdr_dec_setxattr() local
1583 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setxattr()
1607 struct compound_hdr hdr; in nfs4_xdr_dec_getxattr() local
1610 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getxattr()
1631 struct compound_hdr hdr; in nfs4_xdr_dec_listxattrs() local
1636 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_listxattrs()
1657 struct compound_hdr hdr; in nfs4_xdr_dec_removexattr() local
1660 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_removexattr()