Home
last modified time | relevance | path

Searched refs:lcp (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/fs/nfsd/
H A Dblocklayout.c121 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_block_commit_blocks()
125 if (lcp->lc_mtime.tv_nsec == UTIME_NOW || in nfsd4_block_commit_blocks()
126 timespec64_compare(&lcp->lc_mtime, &mtime) < 0) in nfsd4_block_commit_blocks()
127 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 …]
H A Dpnfs.h38 struct nfsd4_layoutcommit *lcp);
H A Dnfs4xdr.c605 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutupdate4() argument
611 if (lcp->lc_layout_type >= LAYOUT_TYPE_MAX) in nfsd4_decode_layoutupdate4()
616 if (lcp->lc_up_len > 0) { in nfsd4_decode_layoutupdate4()
617 lcp->lc_up_layout = xdr_inline_decode(argp->xdr, lcp->lc_up_len); in nfsd4_decode_layoutupdate4()
618 if (!lcp->lc_up_layout) in nfsd4_decode_layoutupdate4()
1807 memset(lcp, 0, sizeof(*lcp)); in nfsd4_decode_layoutcommit()
1819 if (lcp->lc_newoffset) { in nfsd4_decode_layoutcommit()
1823 lcp->lc_last_wr = 0; in nfsd4_decode_layoutcommit()
1832 lcp->lc_mtime.tv_nsec = UTIME_NOW; in nfsd4_decode_layoutcommit()
1834 return nfsd4_decode_layoutupdate4(argp, lcp); in nfsd4_decode_layoutcommit()
[all …]
H A Dnfs4proc.c2467 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local
2468 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit()
2471 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit()
2496 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit()
2501 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit()
2502 false, lcp->lc_layout_type, in nfsd4_layoutcommit()
2505 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit()
2516 lcp->lc_size_chg = true; in nfsd4_layoutcommit()
2517 lcp->lc_newsize = new_size; in nfsd4_layoutcommit()
2519 lcp->lc_size_chg = false; in nfsd4_layoutcommit()
[all …]
/linux-6.15/drivers/usb/c67x00/
H A Dc67x00-ll-hpi.c240 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 …]
H A Dc67x00.h223 struct c67x00_lcp lcp; member