Lines Matching refs:lcp
2302 struct nfsd4_layoutcommit *lcp = &u->layoutcommit;
2303 const struct nfsd4_layout_seg *seg = &lcp->lc_seg;
2306 loff_t new_size = lcp->lc_last_wr + 1;
2316 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type);
2330 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) {
2335 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid,
2336 false, lcp->lc_layout_type,
2339 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid);
2350 lcp->lc_size_chg = 1;
2351 lcp->lc_newsize = new_size;
2353 lcp->lc_size_chg = 0;
2356 nfserr = ops->proc_layoutcommit(inode, lcp);