Lines Matching refs:lgp
1556 struct nfsd4_layoutget *lgp) in nfsd4_decode_layoutget() argument
1561 lgp->lg_signal = be32_to_cpup(p++); in nfsd4_decode_layoutget()
1562 lgp->lg_layout_type = be32_to_cpup(p++); in nfsd4_decode_layoutget()
1563 lgp->lg_seg.iomode = be32_to_cpup(p++); in nfsd4_decode_layoutget()
1564 p = xdr_decode_hyper(p, &lgp->lg_seg.offset); in nfsd4_decode_layoutget()
1565 p = xdr_decode_hyper(p, &lgp->lg_seg.length); in nfsd4_decode_layoutget()
1566 p = xdr_decode_hyper(p, &lgp->lg_minlength); in nfsd4_decode_layoutget()
1568 status = nfsd4_decode_stateid(argp, &lgp->lg_sid); in nfsd4_decode_layoutget()
1573 lgp->lg_maxcount = be32_to_cpup(p++); in nfsd4_decode_layoutget()
4091 struct nfsd4_layoutget *lgp) in nfsd4_encode_layoutget() argument
4095 nfsd4_layout_ops[lgp->lg_layout_type]; in nfsd4_encode_layoutget()
4108 *p++ = cpu_to_be32(lgp->lg_sid.si_generation); in nfsd4_encode_layoutget()
4109 p = xdr_encode_opaque_fixed(p, &lgp->lg_sid.si_opaque, in nfsd4_encode_layoutget()
4113 p = xdr_encode_hyper(p, lgp->lg_seg.offset); in nfsd4_encode_layoutget()
4114 p = xdr_encode_hyper(p, lgp->lg_seg.length); in nfsd4_encode_layoutget()
4115 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
4116 *p++ = cpu_to_be32(lgp->lg_layout_type); in nfsd4_encode_layoutget()
4118 nfserr = ops->encode_layoutget(xdr, lgp); in nfsd4_encode_layoutget()
4120 kfree(lgp->lg_content); in nfsd4_encode_layoutget()