Lines Matching refs:lgp
1905 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_layoutget() local
1912 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()
1921 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()
1931 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget()
1947 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget()
1948 (lgp->lg_minlength != NFS4_MAX_UINT64 && in nfsd4_layoutget()
1949 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget()
1950 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget()
1951 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget()
1953 if (lgp->lg_seg.length == 0) in nfsd4_layoutget()
1956 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid, in nfsd4_layoutget()
1957 true, lgp->lg_layout_type, &ls); in nfsd4_layoutget()
1959 trace_nfsd_layout_get_lookup_fail(&lgp->lg_sid); in nfsd4_layoutget()
1968 current_fh, lgp); in nfsd4_layoutget()
1972 nfserr = nfsd4_insert_layout(lgp, ls); in nfsd4_layoutget()