Lines Matching refs:lgp
1899 struct nfsd4_layoutget *lgp = &u->layoutget;
1906 switch (lgp->lg_seg.iomode) {
1915 __func__, lgp->lg_seg.iomode);
1925 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type);
1941 if (lgp->lg_seg.length < lgp->lg_minlength ||
1942 (lgp->lg_minlength != NFS4_MAX_UINT64 &&
1943 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) ||
1944 (lgp->lg_seg.length != NFS4_MAX_UINT64 &&
1945 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset))
1947 if (lgp->lg_seg.length == 0)
1950 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid,
1951 true, lgp->lg_layout_type, &ls);
1953 trace_nfsd_layout_get_lookup_fail(&lgp->lg_sid);
1962 current_fh, lgp);
1966 nfserr = nfsd4_insert_layout(lgp, ls);