Lines Matching defs:inode
21 * Add a locked inode to the transaction.
23 * The inode must be locked, and it cannot be associated with any transaction.
24 * If lock_flags is non-zero the inode will be unlocked on transaction commit.
50 * Transactional inode timestamp update. Requires the inode to be locked and
52 * track dirty state and update/writeback the inode accordingly.
60 struct inode *inode = VFS_I(ip);
66 tv = current_time(inode);
69 inode->i_mtime = tv;
71 inode->i_ctime = tv;
78 * logged when the transaction is committed. The inode must already be
82 * of the core inode if any of it has changed, and we always log all of the
85 * Grab and pin the cluster buffer associated with this inode to avoid RMW
86 * cycles at inode writeback time. Avoid the need to add error handling to every
98 struct inode *inode = VFS_I(ip);
113 if (inode->i_state & I_DIRTY_TIME) {
114 spin_lock(&inode->i_lock);
115 inode->i_state &= ~I_DIRTY_TIME;
116 spin_unlock(&inode->i_lock);
120 * First time we log the inode in a transaction, bump the inode change
122 * inode locked exclusively for metadata modification, we can usually
129 if (IS_I_VERSION(inode) &&
130 inode_maybe_inc_iversion(inode, flags & XFS_ILOG_CORE))
135 * If we're updating the inode core or the timestamps and it's possible
136 * to upgrade this inode to bigtime format, do so now.
158 * We hold the ILOCK here, so this inode is not going to be
178 * we've attached the inode log item to the buffer log item