Searched refs:lcp (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/fs/nfsd/ |
A D | blocklayout.c | 120 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_block_commit_blocks() 124 if (lcp->lc_mtime.tv_nsec == UTIME_NOW || in nfsd4_block_commit_blocks() 125 timespec64_compare(&lcp->lc_mtime, &inode->i_mtime) < 0) in nfsd4_block_commit_blocks() 126 lcp->lc_mtime = current_time(inode); in nfsd4_block_commit_blocks() 177 struct nfsd4_layoutcommit *lcp) in nfsd4_block_proc_layoutcommit() argument 182 nr_iomaps = nfsd4_block_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_block_proc_layoutcommit() 183 lcp->lc_up_len, &iomaps, i_blocksize(inode)); in nfsd4_block_proc_layoutcommit() 187 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_block_proc_layoutcommit() 315 struct nfsd4_layoutcommit *lcp) in nfsd4_scsi_proc_layoutcommit() argument 320 nr_iomaps = nfsd4_scsi_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_scsi_proc_layoutcommit() [all …]
|
A D | nfs4xdr.c | 584 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutupdate4() argument 590 if (lcp->lc_layout_type >= LAYOUT_TYPE_MAX) 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() 1765 memset(lcp, 0, sizeof(*lcp)); in nfsd4_decode_layoutcommit() 1777 if (lcp->lc_newoffset) { in nfsd4_decode_layoutcommit() 1781 lcp->lc_last_wr = 0; in nfsd4_decode_layoutcommit() 1790 lcp->lc_mtime.tv_nsec = UTIME_NOW; in nfsd4_decode_layoutcommit() 4763 *p++ = cpu_to_be32(lcp->lc_size_chg); in nfsd4_encode_layoutcommit() [all …]
|
A D | pnfs.h | 38 struct nfsd4_layoutcommit *lcp);
|
A D | nfs4proc.c | 2269 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local 2270 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit() 2273 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit() 2297 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit() 2302 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit() 2303 false, lcp->lc_layout_type, in nfsd4_layoutcommit() 2306 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit() 2317 lcp->lc_size_chg = 1; in nfsd4_layoutcommit() 2318 lcp->lc_newsize = new_size; in nfsd4_layoutcommit() 2320 lcp->lc_size_chg = 0; in nfsd4_layoutcommit() [all …]
|
/linux-6.3-rc2/drivers/usb/c67x00/ |
A 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 …]
|
A D | c67x00.h | 223 struct c67x00_lcp lcp; member
|
Completed in 23 milliseconds