Lines Matching refs:lrp
492 struct nfsd4_layoutreturn *lrp) in nfsd4_return_file_layouts() argument
500 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
501 false, lrp->lr_layout_type, in nfsd4_return_file_layouts()
504 trace_nfsd_layout_return_lookup_fail(&lrp->lr_sid); in nfsd4_return_file_layouts()
510 if (layouts_overlapping(lp, &lrp->lr_seg)) { in nfsd4_return_file_layouts()
511 nfsd4_return_file_layout(lp, &lrp->lr_seg, &reaplist); in nfsd4_return_file_layouts()
517 nfs4_inc_and_copy_stateid(&lrp->lr_sid, &ls->ls_stid); in nfsd4_return_file_layouts()
518 lrp->lrs_present = 1; in nfsd4_return_file_layouts()
522 lrp->lrs_present = 0; in nfsd4_return_file_layouts()
535 struct nfsd4_layoutreturn *lrp) in nfsd4_return_client_layouts() argument
542 lrp->lrs_present = 0; in nfsd4_return_client_layouts()
546 if (ls->ls_layout_type != lrp->lr_layout_type) in nfsd4_return_client_layouts()
549 if (lrp->lr_return_type == RETURN_FSID && in nfsd4_return_client_layouts()
556 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
557 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()