Lines Matching refs:lcp
1685 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local
1686 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit()
1689 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit()
1699 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit()
1713 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit()
1718 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit()
1719 false, lcp->lc_layout_type, in nfsd4_layoutcommit()
1722 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit()
1733 lcp->lc_size_chg = 1; in nfsd4_layoutcommit()
1734 lcp->lc_newsize = new_size; in nfsd4_layoutcommit()
1736 lcp->lc_size_chg = 0; in nfsd4_layoutcommit()
1739 nfserr = ops->proc_layoutcommit(inode, lcp); in nfsd4_layoutcommit()