Searched refs:lcp (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/fs/nfsd/ |
D | blocklayout.c | 116 nfsd4_block_commit_blocks(struct inode *inode, struct nfsd4_layoutcommit *lcp, in nfsd4_block_commit_blocks() argument 119 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_block_commit_blocks() 123 if (lcp->lc_mtime.tv_nsec == UTIME_NOW || in nfsd4_block_commit_blocks() 124 timespec64_compare(&lcp->lc_mtime, &inode->i_mtime) < 0) in nfsd4_block_commit_blocks() 125 lcp->lc_mtime = current_time(inode); in nfsd4_block_commit_blocks() 127 iattr.ia_atime = iattr.ia_ctime = iattr.ia_mtime = lcp->lc_mtime; in nfsd4_block_commit_blocks() 176 struct nfsd4_layoutcommit *lcp) in nfsd4_block_proc_layoutcommit() argument 181 nr_iomaps = nfsd4_block_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_block_proc_layoutcommit() 182 lcp->lc_up_len, &iomaps, i_blocksize(inode)); in nfsd4_block_proc_layoutcommit() 186 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_block_proc_layoutcommit() [all …]
|
D | nfs4xdr.c | 584 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutupdate4() argument 586 if (xdr_stream_decode_u32(argp->xdr, &lcp->lc_layout_type) < 0) in nfsd4_decode_layoutupdate4() 588 if (lcp->lc_layout_type < LAYOUT_NFSV4_1_FILES) in nfsd4_decode_layoutupdate4() 590 if (lcp->lc_layout_type >= LAYOUT_TYPE_MAX) in nfsd4_decode_layoutupdate4() 593 if (xdr_stream_decode_u32(argp->xdr, &lcp->lc_up_len) < 0) in nfsd4_decode_layoutupdate4() 595 if (lcp->lc_up_len > 0) { in nfsd4_decode_layoutupdate4() 596 lcp->lc_up_layout = xdr_inline_decode(argp->xdr, lcp->lc_up_len); in nfsd4_decode_layoutupdate4() 597 if (!lcp->lc_up_layout) in nfsd4_decode_layoutupdate4() 1720 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutcommit() argument 1724 memset(lcp, 0, sizeof(*lcp)); in nfsd4_decode_layoutcommit() [all …]
|
D | pnfs.h | 38 struct nfsd4_layoutcommit *lcp);
|
D | nfs4proc.c | 2286 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local 2287 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit() 2290 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit() 2300 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit() 2314 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit() 2319 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit() 2320 false, lcp->lc_layout_type, in nfsd4_layoutcommit() 2323 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit() 2334 lcp->lc_size_chg = 1; in nfsd4_layoutcommit() 2335 lcp->lc_newsize = new_size; in nfsd4_layoutcommit() [all …]
|
/Linux-v6.1/drivers/usb/c67x00/ |
D | c67x00-ll-hpi.c | 240 res = wait_for_completion_timeout(&dev->hpi.lcp.msg_received, 5 * HZ); in ll_recv_msg() 285 mutex_lock(&dev->hpi.lcp.mutex); in c67x00_comm_exec_int() 291 mutex_unlock(&dev->hpi.lcp.mutex); in c67x00_comm_exec_int() 301 mutex_lock(&dev->hpi.lcp.mutex); in c67x00_ll_set_husb_eot() 303 mutex_unlock(&dev->hpi.lcp.mutex); in c67x00_ll_set_husb_eot() 378 dev->hpi.lcp.last_msg = hpi_recv_mbox(dev); in c67x00_ll_irq() 379 complete(&dev->hpi.lcp.msg_received); in c67x00_ll_irq() 388 mutex_lock(&dev->hpi.lcp.mutex); in c67x00_ll_reset() 391 mutex_unlock(&dev->hpi.lcp.mutex); in c67x00_ll_reset() 471 mutex_init(&dev->hpi.lcp.mutex); in c67x00_ll_init() [all …]
|
D | c67x00.h | 223 struct c67x00_lcp lcp; member
|