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()
2194 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()2203 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()2229 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget()2231 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget()2232 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget()2233 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget()2235 if (lgp->lg_seg.length == 0) in nfsd4_layoutget()
23 struct nfsd4_layout_seg *seg = &args->lg_seg; in nfsd4_block_proc_layoutget()
485 struct nfsd4_layout_seg lg_seg; /* request/response */ member
1765 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_seg.iomode) < 0) in nfsd4_decode_layoutget()1767 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.offset) < 0) in nfsd4_decode_layoutget()1769 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.length) < 0) in nfsd4_decode_layoutget()4630 p = xdr_encode_hyper(p, lgp->lg_seg.offset); in nfsd4_encode_layoutget()4631 p = xdr_encode_hyper(p, lgp->lg_seg.length); in nfsd4_encode_layoutget()4632 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
405 struct nfsd4_layout_seg *seg = &lgp->lg_seg; in nfsd4_insert_layout()