Home
last modified time | relevance | path

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

/linux/fs/nfsd/
A Dblocklayout.c120 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 Dnfs4xdr.c584 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutupdate4() argument
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()
1699 struct nfsd4_layoutcommit *lcp) in nfsd4_decode_layoutcommit() argument
1714 if (lcp->lc_newoffset) { in nfsd4_decode_layoutcommit()
1718 lcp->lc_last_wr = 0; in nfsd4_decode_layoutcommit()
1727 lcp->lc_mtime.tv_nsec = UTIME_NOW; in nfsd4_decode_layoutcommit()
4600 struct nfsd4_layoutcommit *lcp) in nfsd4_encode_layoutcommit() argument
4608 *p++ = cpu_to_be32(lcp->lc_size_chg); in nfsd4_encode_layoutcommit()
[all …]
A Dpnfs.h38 struct nfsd4_layoutcommit *lcp);
A Dnfs4proc.c2138 struct nfsd4_layoutcommit *lcp = &u->layoutcommit; in nfsd4_layoutcommit() local
2139 const struct nfsd4_layout_seg *seg = &lcp->lc_seg; in nfsd4_layoutcommit()
2142 loff_t new_size = lcp->lc_last_wr + 1; in nfsd4_layoutcommit()
2166 if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { in nfsd4_layoutcommit()
2171 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, in nfsd4_layoutcommit()
2172 false, lcp->lc_layout_type, in nfsd4_layoutcommit()
2175 trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); in nfsd4_layoutcommit()
2186 lcp->lc_size_chg = 1; in nfsd4_layoutcommit()
2187 lcp->lc_newsize = new_size; in nfsd4_layoutcommit()
2189 lcp->lc_size_chg = 0; in nfsd4_layoutcommit()
[all …]
/linux/drivers/usb/c67x00/
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 …]
A Dc67x00.h223 struct c67x00_lcp lcp; member

Completed in 23 milliseconds