Lines Matching refs:lcp
1451 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local
1452 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit()
1455 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit()
1465 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit()
1479 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit()
1484 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit()
1485 false, lcp->lc_layout_type, in nfsd4_layoutcommit()
1488 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit()
1499 lcp->lc_size_chg = 1; in nfsd4_layoutcommit()
1500 lcp->lc_newsize = new_size; in nfsd4_layoutcommit()
1502 lcp->lc_size_chg = 0; in nfsd4_layoutcommit()
1505 nfserr = ops->proc_layoutcommit(inode, lcp); in nfsd4_layoutcommit()