Lines Matching refs:ip
40 struct xfs_inode *ip, in xfs_trans_ijoin() argument
45 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ijoin()
46 if (ip->i_itemp == NULL) in xfs_trans_ijoin()
47 xfs_inode_item_init(ip, ip->i_mount); in xfs_trans_ijoin()
48 iip = ip->i_itemp; in xfs_trans_ijoin()
67 struct xfs_inode *ip, in xfs_trans_ichgtime() argument
70 struct inode *inode = VFS_I(ip); in xfs_trans_ichgtime()
74 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ichgtime()
81 ip->i_d.di_mtime.t_sec = tv.tv_sec; in xfs_trans_ichgtime()
82 ip->i_d.di_mtime.t_nsec = tv.tv_nsec; in xfs_trans_ichgtime()
87 ip->i_d.di_ctime.t_sec = tv.tv_sec; in xfs_trans_ichgtime()
88 ip->i_d.di_ctime.t_nsec = tv.tv_nsec; in xfs_trans_ichgtime()
104 xfs_inode_t *ip, in xfs_trans_log_inode() argument
107 ASSERT(ip->i_itemp != NULL); in xfs_trans_log_inode()
108 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_log_inode()
117 ip->i_itemp->ili_fsync_fields |= flags; in xfs_trans_log_inode()
126 if (!(ip->i_itemp->ili_item.li_desc->lid_flags & XFS_LID_DIRTY) && in xfs_trans_log_inode()
127 IS_I_VERSION(VFS_I(ip))) { in xfs_trans_log_inode()
128 ip->i_d.di_changecount = ++VFS_I(ip)->i_version; in xfs_trans_log_inode()
133 ip->i_itemp->ili_item.li_desc->lid_flags |= XFS_LID_DIRTY; in xfs_trans_log_inode()
142 flags |= ip->i_itemp->ili_last_fields; in xfs_trans_log_inode()
143 ip->i_itemp->ili_fields |= flags; in xfs_trans_log_inode()