Lines Matching full:hdr
278 struct compound_hdr *hdr) in encode_allocate() argument
280 encode_op_hdr(xdr, OP_ALLOCATE, decode_allocate_maxsz, hdr); in encode_allocate()
306 struct compound_hdr *hdr) in encode_copy() argument
308 encode_op_hdr(xdr, OP_COPY, decode_copy_maxsz, hdr); in encode_copy()
328 struct compound_hdr *hdr) in encode_copy_commit() argument
332 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr); in encode_copy_commit()
340 struct compound_hdr *hdr) in encode_offload_cancel() argument
342 encode_op_hdr(xdr, OP_OFFLOAD_CANCEL, decode_offload_cancel_maxsz, hdr); in encode_offload_cancel()
348 struct compound_hdr *hdr) in encode_copy_notify() argument
350 encode_op_hdr(xdr, OP_COPY_NOTIFY, decode_copy_notify_maxsz, hdr); in encode_copy_notify()
357 struct compound_hdr *hdr) in encode_deallocate() argument
359 encode_op_hdr(xdr, OP_DEALLOCATE, decode_deallocate_maxsz, hdr); in encode_deallocate()
365 struct compound_hdr *hdr) in encode_read_plus() argument
367 encode_op_hdr(xdr, OP_READ_PLUS, decode_read_plus_maxsz, hdr); in encode_read_plus()
375 struct compound_hdr *hdr) in encode_seek() argument
377 encode_op_hdr(xdr, OP_SEEK, decode_seek_maxsz, hdr); in encode_seek()
386 struct compound_hdr *hdr) in encode_layoutstats() argument
390 encode_op_hdr(xdr, OP_LAYOUTSTATS, decode_layoutstats_maxsz, hdr); in encode_layoutstats()
413 struct compound_hdr *hdr) in encode_clone() argument
417 encode_op_hdr(xdr, OP_CLONE, decode_clone_maxsz, hdr); in encode_clone()
440 struct compound_hdr *hdr) in encode_layouterror() argument
444 encode_op_hdr(xdr, OP_LAYOUTERROR, decode_layouterror_maxsz, hdr); in encode_layouterror()
456 struct compound_hdr *hdr) in encode_setxattr() argument
463 encode_op_hdr(xdr, OP_SETXATTR, decode_setxattr_maxsz, hdr); in encode_setxattr()
474 struct compound_hdr *hdr) in encode_getxattr() argument
476 encode_op_hdr(xdr, OP_GETXATTR, decode_getxattr_maxsz, hdr); in encode_getxattr()
481 struct compound_hdr *hdr) in encode_removexattr() argument
483 encode_op_hdr(xdr, OP_REMOVEXATTR, decode_removexattr_maxsz, hdr); in encode_removexattr()
489 struct compound_hdr *hdr) in encode_listxattrs() argument
493 encode_op_hdr(xdr, OP_LISTXATTRS, decode_listxattrs_maxsz, hdr); in encode_listxattrs()
516 struct compound_hdr hdr = { in nfs4_xdr_enc_allocate() local
520 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_allocate()
521 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_allocate()
522 encode_putfh(xdr, args->falloc_fh, &hdr); in nfs4_xdr_enc_allocate()
523 encode_allocate(xdr, args, &hdr); in nfs4_xdr_enc_allocate()
524 encode_getfattr(xdr, args->falloc_bitmask, &hdr); in nfs4_xdr_enc_allocate()
525 encode_nops(&hdr); in nfs4_xdr_enc_allocate()
536 struct compound_hdr hdr = { in nfs4_xdr_enc_copy() local
540 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_copy()
541 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_copy()
542 encode_putfh(xdr, args->src_fh, &hdr); in nfs4_xdr_enc_copy()
543 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_copy()
544 encode_putfh(xdr, args->dst_fh, &hdr); in nfs4_xdr_enc_copy()
545 encode_copy(xdr, args, &hdr); in nfs4_xdr_enc_copy()
547 encode_copy_commit(xdr, args, &hdr); in nfs4_xdr_enc_copy()
548 encode_nops(&hdr); in nfs4_xdr_enc_copy()
559 struct compound_hdr hdr = { in nfs4_xdr_enc_offload_cancel() local
563 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_offload_cancel()
564 encode_sequence(xdr, &args->osa_seq_args, &hdr); in nfs4_xdr_enc_offload_cancel()
565 encode_putfh(xdr, args->osa_src_fh, &hdr); in nfs4_xdr_enc_offload_cancel()
566 encode_offload_cancel(xdr, args, &hdr); in nfs4_xdr_enc_offload_cancel()
567 encode_nops(&hdr); in nfs4_xdr_enc_offload_cancel()
578 struct compound_hdr hdr = { in nfs4_xdr_enc_copy_notify() local
582 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_copy_notify()
583 encode_sequence(xdr, &args->cna_seq_args, &hdr); in nfs4_xdr_enc_copy_notify()
584 encode_putfh(xdr, args->cna_src_fh, &hdr); in nfs4_xdr_enc_copy_notify()
585 encode_copy_notify(xdr, args, &hdr); in nfs4_xdr_enc_copy_notify()
586 encode_nops(&hdr); in nfs4_xdr_enc_copy_notify()
597 struct compound_hdr hdr = { in nfs4_xdr_enc_deallocate() local
601 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_deallocate()
602 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_deallocate()
603 encode_putfh(xdr, args->falloc_fh, &hdr); in nfs4_xdr_enc_deallocate()
604 encode_deallocate(xdr, args, &hdr); in nfs4_xdr_enc_deallocate()
605 encode_getfattr(xdr, args->falloc_bitmask, &hdr); in nfs4_xdr_enc_deallocate()
606 encode_nops(&hdr); in nfs4_xdr_enc_deallocate()
617 struct compound_hdr hdr = { in nfs4_xdr_enc_read_plus() local
621 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_read_plus()
622 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_read_plus()
623 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_read_plus()
624 encode_read_plus(xdr, args, &hdr); in nfs4_xdr_enc_read_plus()
627 hdr.replen - READ_PLUS_SEGMENT_SIZE_DIFF); in nfs4_xdr_enc_read_plus()
628 encode_nops(&hdr); in nfs4_xdr_enc_read_plus()
639 struct compound_hdr hdr = { in nfs4_xdr_enc_seek() local
643 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_seek()
644 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_seek()
645 encode_putfh(xdr, args->sa_fh, &hdr); in nfs4_xdr_enc_seek()
646 encode_seek(xdr, args, &hdr); in nfs4_xdr_enc_seek()
647 encode_nops(&hdr); in nfs4_xdr_enc_seek()
660 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutstats() local
664 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutstats()
665 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutstats()
666 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_layoutstats()
669 encode_layoutstats(xdr, args, &args->devinfo[i], &hdr); in nfs4_xdr_enc_layoutstats()
670 encode_nops(&hdr); in nfs4_xdr_enc_layoutstats()
681 struct compound_hdr hdr = { in nfs4_xdr_enc_clone() local
685 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_clone()
686 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_clone()
687 encode_putfh(xdr, args->src_fh, &hdr); in nfs4_xdr_enc_clone()
688 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_clone()
689 encode_putfh(xdr, args->dst_fh, &hdr); in nfs4_xdr_enc_clone()
690 encode_clone(xdr, args, &hdr); in nfs4_xdr_enc_clone()
691 encode_getfattr(xdr, args->dst_bitmask, &hdr); in nfs4_xdr_enc_clone()
692 encode_nops(&hdr); in nfs4_xdr_enc_clone()
703 struct compound_hdr hdr = { in nfs4_xdr_enc_layouterror() local
708 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layouterror()
709 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layouterror()
710 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layouterror()
712 encode_layouterror(xdr, &args->errors[i], &hdr); in nfs4_xdr_enc_layouterror()
713 encode_nops(&hdr); in nfs4_xdr_enc_layouterror()
723 struct compound_hdr hdr = { in nfs4_xdr_enc_setxattr() local
727 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setxattr()
728 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setxattr()
729 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setxattr()
730 encode_setxattr(xdr, args, &hdr); in nfs4_xdr_enc_setxattr()
731 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_setxattr()
732 encode_nops(&hdr); in nfs4_xdr_enc_setxattr()
742 struct compound_hdr hdr = { in nfs4_xdr_enc_getxattr() local
747 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getxattr()
748 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getxattr()
749 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getxattr()
750 replen = hdr.replen + op_decode_hdr_maxsz + 1; in nfs4_xdr_enc_getxattr()
751 encode_getxattr(xdr, args->xattr_name, &hdr); in nfs4_xdr_enc_getxattr()
756 encode_nops(&hdr); in nfs4_xdr_enc_getxattr()
766 struct compound_hdr hdr = { in nfs4_xdr_enc_listxattrs() local
771 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_listxattrs()
772 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_listxattrs()
773 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_listxattrs()
774 replen = hdr.replen + op_decode_hdr_maxsz + 2 + 1; in nfs4_xdr_enc_listxattrs()
775 encode_listxattrs(xdr, args, &hdr); in nfs4_xdr_enc_listxattrs()
779 encode_nops(&hdr); in nfs4_xdr_enc_listxattrs()
789 struct compound_hdr hdr = { in nfs4_xdr_enc_removexattr() local
793 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_removexattr()
794 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_removexattr()
795 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_removexattr()
796 encode_removexattr(xdr, args->xattr_name, &hdr); in nfs4_xdr_enc_removexattr()
797 encode_nops(&hdr); in nfs4_xdr_enc_removexattr()
1045 struct nfs_pgio_header *hdr = in decode_read_plus() local
1047 struct nfs_pgio_args *args = &hdr->args; in decode_read_plus()
1290 struct compound_hdr hdr; in nfs4_xdr_dec_allocate() local
1293 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_allocate()
1318 struct compound_hdr hdr; in nfs4_xdr_dec_copy() local
1321 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy()
1353 struct compound_hdr hdr; in nfs4_xdr_dec_offload_cancel() local
1356 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_offload_cancel()
1379 struct compound_hdr hdr; in nfs4_xdr_dec_copy_notify() local
1382 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_copy_notify()
1405 struct compound_hdr hdr; in nfs4_xdr_dec_deallocate() local
1408 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_deallocate()
1433 struct compound_hdr hdr; in nfs4_xdr_dec_read_plus() local
1438 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read_plus()
1462 struct compound_hdr hdr; in nfs4_xdr_dec_seek() local
1465 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_seek()
1487 struct compound_hdr hdr; in nfs4_xdr_dec_layoutstats() local
1490 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutstats()
1518 struct compound_hdr hdr; in nfs4_xdr_dec_clone() local
1521 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_clone()
1553 struct compound_hdr hdr; in nfs4_xdr_dec_layouterror() local
1556 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layouterror()
1578 struct compound_hdr hdr; in nfs4_xdr_dec_setxattr() local
1581 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setxattr()
1605 struct compound_hdr hdr; in nfs4_xdr_dec_getxattr() local
1608 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getxattr()
1629 struct compound_hdr hdr; in nfs4_xdr_dec_listxattrs() local
1634 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_listxattrs()
1655 struct compound_hdr hdr; in nfs4_xdr_dec_removexattr() local
1658 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_removexattr()