Lines Matching refs:lrp
463 struct nfsd4_layoutreturn *lrp) in nfsd4_return_file_layouts() argument
471 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
472 false, lrp->lr_layout_type, in nfsd4_return_file_layouts()
475 trace_layout_return_lookup_fail(&lrp->lr_sid); in nfsd4_return_file_layouts()
481 if (layouts_overlapping(lp, &lrp->lr_seg)) { in nfsd4_return_file_layouts()
482 nfsd4_return_file_layout(lp, &lrp->lr_seg, &reaplist); in nfsd4_return_file_layouts()
488 nfs4_inc_and_copy_stateid(&lrp->lr_sid, &ls->ls_stid); in nfsd4_return_file_layouts()
489 lrp->lrs_present = 1; in nfsd4_return_file_layouts()
493 lrp->lrs_present = 0; in nfsd4_return_file_layouts()
506 struct nfsd4_layoutreturn *lrp) in nfsd4_return_client_layouts() argument
513 lrp->lrs_present = 0; in nfsd4_return_client_layouts()
517 if (ls->ls_layout_type != lrp->lr_layout_type) in nfsd4_return_client_layouts()
520 if (lrp->lr_return_type == RETURN_FSID && in nfsd4_return_client_layouts()
527 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
528 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()