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()
306 hdr->nops = be32_to_cpup(p); in decode_cb_compound4res()
324 struct nfs4_cb_compound_hdr *hdr) in encode_cb_recall4args() argument
336 hdr->nops++; in encode_cb_recall4args()
353 struct nfs4_cb_compound_hdr *hdr) in encode_cb_sequence4args() argument
358 if (hdr->minorversion == 0) in encode_cb_sequence4args()
371 hdr->nops++; in encode_cb_sequence4args()
486 struct nfs4_cb_compound_hdr hdr = { in nfs4_xdr_enc_cb_recall() local
491 encode_cb_compound4args(xdr, &hdr); in nfs4_xdr_enc_cb_recall()
492 encode_cb_sequence4args(xdr, cb, &hdr); in nfs4_xdr_enc_cb_recall()
493 encode_cb_recall4args(xdr, dp, &hdr); in nfs4_xdr_enc_cb_recall()
494 encode_cb_nops(&hdr); in nfs4_xdr_enc_cb_recall()
520 struct nfs4_cb_compound_hdr hdr; in nfs4_xdr_dec_cb_recall() local
523 status = decode_cb_compound4res(xdr, &hdr); in nfs4_xdr_dec_cb_recall()
565 struct nfs4_cb_compound_hdr *hdr) in encode_cb_layout4args() argument
569 BUG_ON(hdr->minorversion == 0); in encode_cb_layout4args()
586 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()
610 struct nfs4_cb_compound_hdr hdr; in nfs4_xdr_dec_cb_layout() local
613 status = decode_cb_compound4res(xdr, &hdr); in nfs4_xdr_dec_cb_layout()