Lines Matching refs:ili_format
64 iip->ili_format.ilf_fields |= XFS_ILOG_CORE; in xfs_inode_item_size()
68 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
71 if ((iip->ili_format.ilf_fields & XFS_ILOG_DEXT) && in xfs_inode_item_size()
77 iip->ili_format.ilf_fields &= ~XFS_ILOG_DEXT; in xfs_inode_item_size()
84 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
87 if ((iip->ili_format.ilf_fields & XFS_ILOG_DBROOT) && in xfs_inode_item_size()
92 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_size()
105 iip->ili_format.ilf_fields &= ~XFS_ILOG_DBROOT; in xfs_inode_item_size()
110 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
113 if ((iip->ili_format.ilf_fields & XFS_ILOG_DDATA) && in xfs_inode_item_size()
119 iip->ili_format.ilf_fields &= ~XFS_ILOG_DDATA; in xfs_inode_item_size()
124 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
130 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
146 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
156 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
158 if ((iip->ili_format.ilf_fields & XFS_ILOG_AEXT) && in xfs_inode_item_size()
164 iip->ili_format.ilf_fields &= ~XFS_ILOG_AEXT; in xfs_inode_item_size()
169 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
171 if ((iip->ili_format.ilf_fields & XFS_ILOG_ABROOT) && in xfs_inode_item_size()
176 iip->ili_format.ilf_fields &= ~XFS_ILOG_ABROOT; in xfs_inode_item_size()
181 iip->ili_format.ilf_fields &= in xfs_inode_item_size()
183 if ((iip->ili_format.ilf_fields & XFS_ILOG_ADATA) && in xfs_inode_item_size()
188 iip->ili_format.ilf_fields &= ~XFS_ILOG_ADATA; in xfs_inode_item_size()
253 vecp->i_addr = &iip->ili_format; in xfs_inode_item_format()
300 iip->ili_format.ilf_fields |= XFS_ILOG_CORE; in xfs_inode_item_format()
333 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
336 if (iip->ili_format.ilf_fields & XFS_ILOG_DEXT) { in xfs_inode_item_format()
361 iip->ili_format.ilf_dsize = vecp->i_len; in xfs_inode_item_format()
368 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
371 if (iip->ili_format.ilf_fields & XFS_ILOG_DBROOT) { in xfs_inode_item_format()
379 iip->ili_format.ilf_dsize = ip->i_df.if_broot_bytes; in xfs_inode_item_format()
384 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
387 if (iip->ili_format.ilf_fields & XFS_ILOG_DDATA) { in xfs_inode_item_format()
405 iip->ili_format.ilf_dsize = (unsigned)data_bytes; in xfs_inode_item_format()
410 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
413 if (iip->ili_format.ilf_fields & XFS_ILOG_DEV) { in xfs_inode_item_format()
414 iip->ili_format.ilf_u.ilfu_rdev = in xfs_inode_item_format()
420 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
423 if (iip->ili_format.ilf_fields & XFS_ILOG_UUID) { in xfs_inode_item_format()
424 iip->ili_format.ilf_u.ilfu_uuid = in xfs_inode_item_format()
441 iip->ili_format.ilf_size = nvecs; in xfs_inode_item_format()
442 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
449 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
451 if (iip->ili_format.ilf_fields & XFS_ILOG_AEXT) { in xfs_inode_item_format()
474 iip->ili_format.ilf_asize = vecp->i_len; in xfs_inode_item_format()
481 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
483 if (iip->ili_format.ilf_fields & XFS_ILOG_ABROOT) { in xfs_inode_item_format()
491 iip->ili_format.ilf_asize = ip->i_afp->if_broot_bytes; in xfs_inode_item_format()
496 ASSERT(!(iip->ili_format.ilf_fields & in xfs_inode_item_format()
498 if (iip->ili_format.ilf_fields & XFS_ILOG_ADATA) { in xfs_inode_item_format()
515 iip->ili_format.ilf_asize = (unsigned)data_bytes; in xfs_inode_item_format()
525 iip->ili_format.ilf_size = nvecs; in xfs_inode_item_format()
613 ASSERT(iip->ili_format.ilf_fields != 0); in xfs_inode_item_trylock()
650 ASSERT(iip->ili_format.ilf_fields & XFS_ILOG_DEXT); in xfs_inode_item_unlock()
658 ASSERT(iip->ili_format.ilf_fields & XFS_ILOG_AEXT); in xfs_inode_item_unlock()
734 bp = xfs_incore(ip->i_mount->m_ddev_targp, iip->ili_format.ilf_blkno, in xfs_inode_item_pushbuf()
735 iip->ili_format.ilf_len, XBF_TRYLOCK); in xfs_inode_item_pushbuf()
770 iip->ili_format.ilf_fields != 0); in xfs_inode_item_push()
829 iip->ili_format.ilf_type = XFS_LI_INODE; in xfs_inode_item_init()
830 iip->ili_format.ilf_ino = ip->i_ino; in xfs_inode_item_init()
831 iip->ili_format.ilf_blkno = ip->i_imap.im_blkno; in xfs_inode_item_init()
832 iip->ili_format.ilf_len = ip->i_imap.im_len; in xfs_inode_item_init()
833 iip->ili_format.ilf_boffset = ip->i_imap.im_boffset; in xfs_inode_item_init()
994 iip->ili_format.ilf_fields = 0; in xfs_iflush_abort()