Lines Matching refs:lgp
2381 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_layoutget() local
2388 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()
2397 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()
2407 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget()
2423 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget()
2424 (lgp->lg_minlength != NFS4_MAX_UINT64 && in nfsd4_layoutget()
2425 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget()
2426 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget()
2427 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget()
2429 if (lgp->lg_seg.length == 0) in nfsd4_layoutget()
2432 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lgp->lg_sid, in nfsd4_layoutget()
2433 true, lgp->lg_layout_type, &ls); in nfsd4_layoutget()
2435 trace_nfsd_layout_get_lookup_fail(&lgp->lg_sid); in nfsd4_layoutget()
2444 current_fh, lgp); in nfsd4_layoutget()
2448 nfserr = nfsd4_insert_layout(lgp, ls); in nfsd4_layoutget()