• Home
  • Raw
  • Download

Lines Matching refs:hdr

260 				    struct nfs4_cb_compound_hdr *hdr)  in encode_cb_compound4args()  argument
266 *p++ = cpu_to_be32(hdr->minorversion); in encode_cb_compound4args()
267 *p++ = cpu_to_be32(hdr->ident); in encode_cb_compound4args()
269 hdr->nops_p = p; in encode_cb_compound4args()
270 *p = cpu_to_be32(hdr->nops); /* argarray element count */ in encode_cb_compound4args()
276 static void encode_cb_nops(struct nfs4_cb_compound_hdr *hdr) in encode_cb_nops() argument
278 BUG_ON(hdr->nops > NFS4_MAX_BACK_CHANNEL_OPS); in encode_cb_nops()
279 *hdr->nops_p = cpu_to_be32(hdr->nops); in encode_cb_nops()
292 struct nfs4_cb_compound_hdr *hdr) in decode_cb_compound4res() argument
300 hdr->status = be32_to_cpup(p++); in decode_cb_compound4res()
307 hdr->nops = be32_to_cpup(p); in decode_cb_compound4res()
325 struct nfs4_cb_compound_hdr *hdr) in encode_cb_recall4args() argument
337 hdr->nops++; in encode_cb_recall4args()
354 struct nfs4_cb_compound_hdr *hdr) in encode_cb_sequence4args() argument
359 if (hdr->minorversion == 0) in encode_cb_sequence4args()
372 hdr->nops++; in encode_cb_sequence4args()
484 struct nfs4_cb_compound_hdr hdr = { in nfs4_xdr_enc_cb_recall() local
489 encode_cb_compound4args(xdr, &hdr); in nfs4_xdr_enc_cb_recall()
490 encode_cb_sequence4args(xdr, cb, &hdr); in nfs4_xdr_enc_cb_recall()
491 encode_cb_recall4args(xdr, dp, &hdr); in nfs4_xdr_enc_cb_recall()
492 encode_cb_nops(&hdr); in nfs4_xdr_enc_cb_recall()
519 struct nfs4_cb_compound_hdr hdr; in nfs4_xdr_dec_cb_recall() local
522 status = decode_cb_compound4res(xdr, &hdr); in nfs4_xdr_dec_cb_recall()
564 struct nfs4_cb_compound_hdr *hdr) in encode_cb_layout4args() argument
568 BUG_ON(hdr->minorversion == 0); in encode_cb_layout4args()
585 hdr->nops++; in encode_cb_layout4args()
595 struct nfs4_cb_compound_hdr hdr = { in nfs4_xdr_enc_cb_layout() local
600 encode_cb_compound4args(xdr, &hdr); in nfs4_xdr_enc_cb_layout()
601 encode_cb_sequence4args(xdr, cb, &hdr); in nfs4_xdr_enc_cb_layout()
602 encode_cb_layout4args(xdr, ls, &hdr); in nfs4_xdr_enc_cb_layout()
603 encode_cb_nops(&hdr); in nfs4_xdr_enc_cb_layout()
611 struct nfs4_cb_compound_hdr hdr; in nfs4_xdr_dec_cb_layout() local
614 status = decode_cb_compound4res(xdr, &hdr); in nfs4_xdr_dec_cb_layout()
644 struct nfs4_cb_compound_hdr hdr = { in nfs4_xdr_enc_cb_notify_lock() local
651 BUG_ON(hdr.minorversion == 0); in nfs4_xdr_enc_cb_notify_lock()
653 encode_cb_compound4args(xdr, &hdr); in nfs4_xdr_enc_cb_notify_lock()
654 encode_cb_sequence4args(xdr, cb, &hdr); in nfs4_xdr_enc_cb_notify_lock()
660 hdr.nops++; in nfs4_xdr_enc_cb_notify_lock()
662 encode_cb_nops(&hdr); in nfs4_xdr_enc_cb_notify_lock()
670 struct nfs4_cb_compound_hdr hdr; in nfs4_xdr_dec_cb_notify_lock() local
673 status = decode_cb_compound4res(xdr, &hdr); in nfs4_xdr_dec_cb_notify_lock()