Searched refs:lcp (Results 1 – 4 of 4) sorted by relevance
/fs/nfsd/ |
D | blocklayout.c | 120 nfsd4_block_commit_blocks(struct inode *inode, struct nfsd4_layoutcommit *lcp, in nfsd4_block_commit_blocks() argument 123 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_block_commit_blocks() 127 if (lcp->lc_mtime.tv_nsec == UTIME_NOW || in nfsd4_block_commit_blocks() 128 timespec64_compare(&lcp->lc_mtime, &inode->i_mtime) < 0) in nfsd4_block_commit_blocks() 129 lcp->lc_mtime = current_time(inode); in nfsd4_block_commit_blocks() 131 iattr.ia_atime = iattr.ia_ctime = iattr.ia_mtime = lcp->lc_mtime; in nfsd4_block_commit_blocks() 180 struct nfsd4_layoutcommit *lcp) in nfsd4_block_proc_layoutcommit() argument 185 nr_iomaps = nfsd4_block_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_block_proc_layoutcommit() 186 lcp->lc_up_len, &iomaps, i_blocksize(inode)); in nfsd4_block_proc_layoutcommit() 190 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_block_proc_layoutcommit() [all …]
|
D | nfs4xdr.c | 1645 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutcommit() argument 1651 p = xdr_decode_hyper(p, &lcp->lc_seg.offset); in nfsd4_decode_layoutcommit() 1652 p = xdr_decode_hyper(p, &lcp->lc_seg.length); in nfsd4_decode_layoutcommit() 1653 lcp->lc_reclaim = be32_to_cpup(p++); in nfsd4_decode_layoutcommit() 1655 status = nfsd4_decode_stateid(argp, &lcp->lc_sid); in nfsd4_decode_layoutcommit() 1660 lcp->lc_newoffset = be32_to_cpup(p++); in nfsd4_decode_layoutcommit() 1661 if (lcp->lc_newoffset) { in nfsd4_decode_layoutcommit() 1663 p = xdr_decode_hyper(p, &lcp->lc_last_wr); in nfsd4_decode_layoutcommit() 1665 lcp->lc_last_wr = 0; in nfsd4_decode_layoutcommit() 1669 status = nfsd4_decode_time(argp, &lcp->lc_mtime); in nfsd4_decode_layoutcommit() [all …]
|
D | nfs4proc.c | 1985 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local 1986 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit() 1989 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit() 1999 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit() 2013 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit() 2018 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit() 2019 false, lcp->lc_layout_type, in nfsd4_layoutcommit() 2022 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit() 2033 lcp->lc_size_chg = 1; in nfsd4_layoutcommit() 2034 lcp->lc_newsize = new_size; in nfsd4_layoutcommit() [all …]
|
D | pnfs.h | 38 struct nfsd4_layoutcommit *lcp);
|