Lines Matching refs:lgp
1253 struct nfsd4_layoutget *lgp) in nfsd4_layoutget() argument
1261 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()
1270 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()
1280 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget()
1296 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget()
1297 (lgp->lg_minlength != NFS4_MAX_UINT64 && in nfsd4_layoutget()
1298 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget()
1299 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget()
1300 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget()
1302 if (lgp->lg_seg.length == 0) in nfsd4_layoutget()
1305 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid, in nfsd4_layoutget()
1306 true, lgp->lg_layout_type, &ls); in nfsd4_layoutget()
1308 trace_layout_get_lookup_fail(&lgp->lg_sid); in nfsd4_layoutget()
1317 current_fh, lgp); in nfsd4_layoutget()
1321 nfserr = nfsd4_insert_layout(lgp, ls); in nfsd4_layoutget()