Lines Matching refs:lrp
491 struct nfsd4_layoutreturn *lrp) in nfsd4_return_file_layouts() argument
499 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
500 false, lrp->lr_layout_type, in nfsd4_return_file_layouts()
503 trace_nfsd_layout_return_lookup_fail(&lrp->lr_sid); in nfsd4_return_file_layouts()
509 if (layouts_overlapping(lp, &lrp->lr_seg)) { in nfsd4_return_file_layouts()
510 nfsd4_return_file_layout(lp, &lrp->lr_seg, &reaplist); in nfsd4_return_file_layouts()
516 nfs4_inc_and_copy_stateid(&lrp->lr_sid, &ls->ls_stid); in nfsd4_return_file_layouts()
517 lrp->lrs_present = 1; in nfsd4_return_file_layouts()
521 lrp->lrs_present = 0; in nfsd4_return_file_layouts()
534 struct nfsd4_layoutreturn *lrp) in nfsd4_return_client_layouts() argument
541 lrp->lrs_present = 0; in nfsd4_return_client_layouts()
545 if (ls->ls_layout_type != lrp->lr_layout_type) in nfsd4_return_client_layouts()
548 if (lrp->lr_return_type == RETURN_FSID && in nfsd4_return_client_layouts()
555 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
556 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()