Lines Matching refs:lgp
1621 struct nfsd4_layoutget *lgp) in nfsd4_decode_layoutget() argument
1626 lgp->lg_signal = be32_to_cpup(p++); in nfsd4_decode_layoutget()
1627 lgp->lg_layout_type = be32_to_cpup(p++); in nfsd4_decode_layoutget()
1628 lgp->lg_seg.iomode = be32_to_cpup(p++); in nfsd4_decode_layoutget()
1629 p = xdr_decode_hyper(p, &lgp->lg_seg.offset); in nfsd4_decode_layoutget()
1630 p = xdr_decode_hyper(p, &lgp->lg_seg.length); in nfsd4_decode_layoutget()
1631 p = xdr_decode_hyper(p, &lgp->lg_minlength); in nfsd4_decode_layoutget()
1633 status = nfsd4_decode_stateid(argp, &lgp->lg_sid); in nfsd4_decode_layoutget()
1638 lgp->lg_maxcount = be32_to_cpup(p++); in nfsd4_decode_layoutget()
4442 struct nfsd4_layoutget *lgp) in nfsd4_encode_layoutget() argument
4453 *p++ = cpu_to_be32(lgp->lg_sid.si_generation); in nfsd4_encode_layoutget()
4454 p = xdr_encode_opaque_fixed(p, &lgp->lg_sid.si_opaque, in nfsd4_encode_layoutget()
4458 p = xdr_encode_hyper(p, lgp->lg_seg.offset); in nfsd4_encode_layoutget()
4459 p = xdr_encode_hyper(p, lgp->lg_seg.length); in nfsd4_encode_layoutget()
4460 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
4461 *p++ = cpu_to_be32(lgp->lg_layout_type); in nfsd4_encode_layoutget()
4463 ops = nfsd4_layout_ops[lgp->lg_layout_type]; in nfsd4_encode_layoutget()
4464 return ops->encode_layoutget(xdr, lgp); in nfsd4_encode_layoutget()