Searched refs:lg_seg (Results 1 – 6 of 6) sorted by relevance
26 struct nfsd4_layout_seg *seg = &args->lg_seg; in nfsd4_ff_proc_layoutget()
2223 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()2232 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()2258 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget()2260 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget()2261 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget()2262 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget()2264 if (lgp->lg_seg.length == 0) in nfsd4_layoutget()
24 struct nfsd4_layout_seg *seg = &args->lg_seg; in nfsd4_block_proc_layoutget()
485 struct nfsd4_layout_seg lg_seg; /* request/response */ member
405 struct nfsd4_layout_seg *seg = &lgp->lg_seg; in nfsd4_insert_layout()
1807 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_seg.iomode) < 0) in nfsd4_decode_layoutget()1809 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.offset) < 0) in nfsd4_decode_layoutget()1811 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.length) < 0) in nfsd4_decode_layoutget()4746 p = xdr_encode_hyper(p, lgp->lg_seg.offset); in nfsd4_encode_layoutget()4747 p = xdr_encode_hyper(p, lgp->lg_seg.length); in nfsd4_encode_layoutget()4748 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()