Lines Matching refs:iip

32 	struct xfs_inode_log_item *iip,  in xfs_inode_item_data_fork_size()  argument
36 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size()
40 if ((iip->ili_fields & XFS_ILOG_DEXT) && in xfs_inode_item_data_fork_size()
49 if ((iip->ili_fields & XFS_ILOG_DBROOT) && in xfs_inode_item_data_fork_size()
56 if ((iip->ili_fields & XFS_ILOG_DDATA) && in xfs_inode_item_data_fork_size()
73 struct xfs_inode_log_item *iip, in xfs_inode_item_attr_fork_size() argument
77 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size()
81 if ((iip->ili_fields & XFS_ILOG_AEXT) && in xfs_inode_item_attr_fork_size()
90 if ((iip->ili_fields & XFS_ILOG_ABROOT) && in xfs_inode_item_attr_fork_size()
97 if ((iip->ili_fields & XFS_ILOG_ADATA) && in xfs_inode_item_attr_fork_size()
122 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_size() local
123 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size()
129 xfs_inode_item_data_fork_size(iip, nvecs, nbytes); in xfs_inode_item_size()
131 xfs_inode_item_attr_fork_size(iip, nvecs, nbytes); in xfs_inode_item_size()
136 struct xfs_inode_log_item *iip, in xfs_inode_item_format_data_fork() argument
141 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork()
146 iip->ili_fields &= in xfs_inode_item_format_data_fork()
149 if ((iip->ili_fields & XFS_ILOG_DEXT) && in xfs_inode_item_format_data_fork()
165 iip->ili_fields &= ~XFS_ILOG_DEXT; in xfs_inode_item_format_data_fork()
169 iip->ili_fields &= in xfs_inode_item_format_data_fork()
172 if ((iip->ili_fields & XFS_ILOG_DBROOT) && in xfs_inode_item_format_data_fork()
181 ASSERT(!(iip->ili_fields & in xfs_inode_item_format_data_fork()
183 iip->ili_fields &= ~XFS_ILOG_DBROOT; in xfs_inode_item_format_data_fork()
187 iip->ili_fields &= in xfs_inode_item_format_data_fork()
189 if ((iip->ili_fields & XFS_ILOG_DDATA) && in xfs_inode_item_format_data_fork()
204 iip->ili_fields &= ~XFS_ILOG_DDATA; in xfs_inode_item_format_data_fork()
208 iip->ili_fields &= in xfs_inode_item_format_data_fork()
210 if (iip->ili_fields & XFS_ILOG_DEV) in xfs_inode_item_format_data_fork()
221 struct xfs_inode_log_item *iip, in xfs_inode_item_format_attr_fork() argument
226 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_attr_fork()
231 iip->ili_fields &= in xfs_inode_item_format_attr_fork()
234 if ((iip->ili_fields & XFS_ILOG_AEXT) && in xfs_inode_item_format_attr_fork()
249 iip->ili_fields &= ~XFS_ILOG_AEXT; in xfs_inode_item_format_attr_fork()
253 iip->ili_fields &= in xfs_inode_item_format_attr_fork()
256 if ((iip->ili_fields & XFS_ILOG_ABROOT) && in xfs_inode_item_format_attr_fork()
266 iip->ili_fields &= ~XFS_ILOG_ABROOT; in xfs_inode_item_format_attr_fork()
270 iip->ili_fields &= in xfs_inode_item_format_attr_fork()
273 if ((iip->ili_fields & XFS_ILOG_ADATA) && in xfs_inode_item_format_attr_fork()
288 iip->ili_fields &= ~XFS_ILOG_ADATA; in xfs_inode_item_format_attr_fork()
392 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_format() local
393 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format()
420 xfs_inode_item_format_data_fork(iip, ilf, lv, &vecp); in xfs_inode_item_format()
422 xfs_inode_item_format_attr_fork(iip, ilf, lv, &vecp); in xfs_inode_item_format()
424 iip->ili_fields &= in xfs_inode_item_format()
429 ilf->ilf_fields |= (iip->ili_fields & ~XFS_ILOG_TIMESTAMP); in xfs_inode_item_format()
492 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_push() local
493 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_push()
546 ASSERT(iip->ili_fields != 0 || XFS_FORCED_SHUTDOWN(ip->i_mount)); in xfs_inode_item_push()
547 ASSERT(iip->ili_logged == 0 || XFS_FORCED_SHUTDOWN(ip->i_mount)); in xfs_inode_item_push()
571 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_unlock() local
572 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_unlock()
578 lock_flags = iip->ili_lock_flags; in xfs_inode_item_unlock()
579 iip->ili_lock_flags = 0; in xfs_inode_item_unlock()
611 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_committed() local
612 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_committed()
653 struct xfs_inode_log_item *iip; in xfs_inode_item_init() local
656 iip = ip->i_itemp = kmem_zone_zalloc(xfs_ili_zone, KM_SLEEP); in xfs_inode_item_init()
658 iip->ili_inode = ip; in xfs_inode_item_init()
659 xfs_log_item_init(mp, &iip->ili_item, XFS_LI_INODE, in xfs_inode_item_init()
692 struct xfs_inode_log_item *iip; in xfs_iflush_done() local
714 iip = INODE_ITEM(blip); in xfs_iflush_done()
715 if ((iip->ili_logged && blip->li_lsn == iip->ili_flush_lsn) || in xfs_iflush_done()
721 iip = INODE_ITEM(lip); in xfs_iflush_done()
722 if ((iip->ili_logged && lip->li_lsn == iip->ili_flush_lsn) || in xfs_iflush_done()
768 iip = INODE_ITEM(blip); in xfs_iflush_done()
769 iip->ili_logged = 0; in xfs_iflush_done()
770 iip->ili_last_fields = 0; in xfs_iflush_done()
771 xfs_ifunlock(iip->ili_inode); in xfs_iflush_done()
787 xfs_inode_log_item_t *iip = ip->i_itemp; in xfs_iflush_abort() local
789 if (iip) { in xfs_iflush_abort()
790 if (test_bit(XFS_LI_IN_AIL, &iip->ili_item.li_flags)) { in xfs_iflush_abort()
791 xfs_trans_ail_remove(&iip->ili_item, in xfs_iflush_abort()
795 iip->ili_logged = 0; in xfs_iflush_abort()
800 iip->ili_last_fields = 0; in xfs_iflush_abort()
805 iip->ili_fields = 0; in xfs_iflush_abort()
806 iip->ili_fsync_fields = 0; in xfs_iflush_abort()