Lines Matching refs:lgp
2216 struct nfsd4_layoutget *lgp = &u->layoutget;
2223 switch (lgp->lg_seg.iomode) {
2232 __func__, lgp->lg_seg.iomode);
2242 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type);
2258 if (lgp->lg_seg.length < lgp->lg_minlength ||
2259 (lgp->lg_minlength != NFS4_MAX_UINT64 &&
2260 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) ||
2261 (lgp->lg_seg.length != NFS4_MAX_UINT64 &&
2262 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset))
2264 if (lgp->lg_seg.length == 0)
2267 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid,
2268 true, lgp->lg_layout_type, &ls);
2270 trace_nfsd_layout_get_lookup_fail(&lgp->lg_sid);
2279 current_fh, lgp);
2283 nfserr = nfsd4_insert_layout(lgp, ls);