Searched refs:lg_seg (Results 1 – 6 of 6) sorted by relevance
25 struct nfsd4_layout_seg *seg = &args->lg_seg; in nfsd4_ff_proc_layoutget()
1906 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()1915 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()1941 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget()1943 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget()1944 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget()1945 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget()1947 if (lgp->lg_seg.length == 0) in nfsd4_layoutget()
27 struct nfsd4_layout_seg *seg = &args->lg_seg; in nfsd4_block_proc_layoutget()
494 struct nfsd4_layout_seg lg_seg; /* request/response */ member
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()4466 p = xdr_encode_hyper(p, lgp->lg_seg.offset); in nfsd4_encode_layoutget()4467 p = xdr_encode_hyper(p, lgp->lg_seg.length); in nfsd4_encode_layoutget()4468 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
404 struct nfsd4_layout_seg *seg = &lgp->lg_seg; in nfsd4_insert_layout()