lcp 240 drivers/usb/c67x00/c67x00-ll-hpi.c res = wait_for_completion_timeout(&dev->hpi.lcp.msg_received, 5 * HZ); lcp 285 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_lock(&dev->hpi.lcp.mutex); lcp 291 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_unlock(&dev->hpi.lcp.mutex); lcp 301 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_lock(&dev->hpi.lcp.mutex); lcp 303 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_unlock(&dev->hpi.lcp.mutex); lcp 378 drivers/usb/c67x00/c67x00-ll-hpi.c dev->hpi.lcp.last_msg = hpi_recv_mbox(dev); lcp 379 drivers/usb/c67x00/c67x00-ll-hpi.c complete(&dev->hpi.lcp.msg_received); lcp 388 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_lock(&dev->hpi.lcp.mutex); lcp 391 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_unlock(&dev->hpi.lcp.mutex); lcp 471 drivers/usb/c67x00/c67x00-ll-hpi.c mutex_init(&dev->hpi.lcp.mutex); lcp 472 drivers/usb/c67x00/c67x00-ll-hpi.c init_completion(&dev->hpi.lcp.msg_received); lcp 223 drivers/usb/c67x00/c67x00.h struct c67x00_lcp lcp; lcp 120 fs/nfsd/blocklayout.c nfsd4_block_commit_blocks(struct inode *inode, struct nfsd4_layoutcommit *lcp, lcp 123 fs/nfsd/blocklayout.c loff_t new_size = lcp->lc_last_wr + 1; lcp 127 fs/nfsd/blocklayout.c if (lcp->lc_mtime.tv_nsec == UTIME_NOW || lcp 128 fs/nfsd/blocklayout.c timespec64_compare(&lcp->lc_mtime, &inode->i_mtime) < 0) lcp 129 fs/nfsd/blocklayout.c lcp->lc_mtime = current_time(inode); lcp 131 fs/nfsd/blocklayout.c iattr.ia_atime = iattr.ia_ctime = iattr.ia_mtime = lcp->lc_mtime; lcp 180 fs/nfsd/blocklayout.c struct nfsd4_layoutcommit *lcp) lcp 185 fs/nfsd/blocklayout.c nr_iomaps = nfsd4_block_decode_layoutupdate(lcp->lc_up_layout, lcp 186 fs/nfsd/blocklayout.c lcp->lc_up_len, &iomaps, i_blocksize(inode)); lcp 190 fs/nfsd/blocklayout.c return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); lcp 391 fs/nfsd/blocklayout.c struct nfsd4_layoutcommit *lcp) lcp 396 fs/nfsd/blocklayout.c nr_iomaps = nfsd4_scsi_decode_layoutupdate(lcp->lc_up_layout, lcp 397 fs/nfsd/blocklayout.c lcp->lc_up_len, &iomaps, i_blocksize(inode)); lcp 401 fs/nfsd/blocklayout.c return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); lcp 1687 fs/nfsd/nfs4proc.c struct nfsd4_layoutcommit *lcp = &u->layoutcommit; lcp 1688 fs/nfsd/nfs4proc.c const struct nfsd4_layout_seg *seg = &lcp->lc_seg; lcp 1691 fs/nfsd/nfs4proc.c loff_t new_size = lcp->lc_last_wr + 1; lcp 1701 fs/nfsd/nfs4proc.c ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); lcp 1715 fs/nfsd/nfs4proc.c if (!lcp->lc_newoffset && new_size > i_size_read(inode)) { lcp 1720 fs/nfsd/nfs4proc.c nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lcp->lc_sid, lcp 1721 fs/nfsd/nfs4proc.c false, lcp->lc_layout_type, lcp 1724 fs/nfsd/nfs4proc.c trace_nfsd_layout_commit_lookup_fail(&lcp->lc_sid); lcp 1735 fs/nfsd/nfs4proc.c lcp->lc_size_chg = 1; lcp 1736 fs/nfsd/nfs4proc.c lcp->lc_newsize = new_size; lcp 1738 fs/nfsd/nfs4proc.c lcp->lc_size_chg = 0; lcp 1741 fs/nfsd/nfs4proc.c nfserr = ops->proc_layoutcommit(inode, lcp); lcp 1630 fs/nfsd/nfs4xdr.c struct nfsd4_layoutcommit *lcp) lcp 1636 fs/nfsd/nfs4xdr.c p = xdr_decode_hyper(p, &lcp->lc_seg.offset); lcp 1637 fs/nfsd/nfs4xdr.c p = xdr_decode_hyper(p, &lcp->lc_seg.length); lcp 1638 fs/nfsd/nfs4xdr.c lcp->lc_reclaim = be32_to_cpup(p++); lcp 1640 fs/nfsd/nfs4xdr.c status = nfsd4_decode_stateid(argp, &lcp->lc_sid); lcp 1645 fs/nfsd/nfs4xdr.c lcp->lc_newoffset = be32_to_cpup(p++); lcp 1646 fs/nfsd/nfs4xdr.c if (lcp->lc_newoffset) { lcp 1648 fs/nfsd/nfs4xdr.c p = xdr_decode_hyper(p, &lcp->lc_last_wr); lcp 1650 fs/nfsd/nfs4xdr.c lcp->lc_last_wr = 0; lcp 1654 fs/nfsd/nfs4xdr.c status = nfsd4_decode_time(argp, &lcp->lc_mtime); lcp 1658 fs/nfsd/nfs4xdr.c lcp->lc_mtime.tv_nsec = UTIME_NOW; lcp 1661 fs/nfsd/nfs4xdr.c lcp->lc_layout_type = be32_to_cpup(p++); lcp 1667 fs/nfsd/nfs4xdr.c lcp->lc_up_len = be32_to_cpup(p++); lcp 1668 fs/nfsd/nfs4xdr.c if (lcp->lc_up_len > 0) { lcp 1669 fs/nfsd/nfs4xdr.c READ_BUF(lcp->lc_up_len); lcp 1670 fs/nfsd/nfs4xdr.c READMEM(lcp->lc_up_layout, lcp->lc_up_len); lcp 4192 fs/nfsd/nfs4xdr.c struct nfsd4_layoutcommit *lcp) lcp 4200 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lcp->lc_size_chg); lcp 4201 fs/nfsd/nfs4xdr.c if (lcp->lc_size_chg) { lcp 4205 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, lcp->lc_newsize); lcp 38 fs/nfsd/pnfs.h struct nfsd4_layoutcommit *lcp);