Lines Matching refs:i_d

489 	if (ip->i_d.di_nextents * sizeof(xfs_bmbt_rec_t) <= XFS_IFORK_DSIZE(ip))  in xfs_bmap_add_attrfork_extents()
519 if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR) { in xfs_bmap_add_attrfork_local()
833 ip->i_d.di_nextents--; in xfs_bmap_add_extent_delay_real()
938 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1011 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1026 if (ip->i_d.di_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_add_extent_delay_real()
1027 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real()
1099 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1114 if (ip->i_d.di_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_add_extent_delay_real()
1115 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real()
1150 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1165 if (ip->i_d.di_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_add_extent_delay_real()
1166 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real()
1371 ip->i_d.di_nextents -= 2; in xfs_bmap_add_extent_unwritten_real()
1416 ip->i_d.di_nextents--; in xfs_bmap_add_extent_unwritten_real()
1456 ip->i_d.di_nextents--; in xfs_bmap_add_extent_unwritten_real()
1572 ip->i_d.di_nextents++; in xfs_bmap_add_extent_unwritten_real()
1650 ip->i_d.di_nextents++; in xfs_bmap_add_extent_unwritten_real()
1697 ip->i_d.di_nextents += 2; in xfs_bmap_add_extent_unwritten_real()
2196 if (!(extsz = ap->ip->i_d.di_extsize)) in xfs_bmap_alloc()
2493 ap->ip->i_d.di_nblocks += ralen; in xfs_bmap_alloc()
2597 if (ap->ip->i_d.di_extsize) { in xfs_bmap_alloc()
2598 args.prod = ap->ip->i_d.di_extsize; in xfs_bmap_alloc()
2713 ap->ip->i_d.di_nblocks += args.len; in xfs_bmap_alloc()
2780 ip->i_d.di_nblocks--; in xfs_bmap_btree_to_extents()
2860 (ip->i_d.di_flags & XFS_DIFLAG_REALTIME)) { in xfs_bmap_del_extent()
3100 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent()
3256 ip->i_d.di_nblocks++; in xfs_bmap_extents_to_btree()
3352 ASSERT(!((ip->i_d.di_mode & S_IFMT) == S_IFREG && in xfs_bmap_local_to_extents()
3399 ip->i_d.di_nblocks = 1; in xfs_bmap_local_to_extents()
3553 rt = ip->i_d.di_flags & XFS_DIFLAG_REALTIME; in xfs_bmap_search_extents()
3762 (void *)(__psint_t)((ip->i_d.di_size >> 32) & 0xffffffff), in xfs_bunmap_trace()
3763 (void *)(__psint_t)(ip->i_d.di_size & 0xffffffff), in xfs_bunmap_trace()
3822 if (ip->i_d.di_aformat != XFS_DINODE_FMT_EXTENTS) { in xfs_bmap_add_attrfork()
3826 ASSERT(ip->i_d.di_aformat == 0); in xfs_bmap_add_attrfork()
3827 ip->i_d.di_aformat = XFS_DINODE_FMT_EXTENTS; in xfs_bmap_add_attrfork()
3829 ASSERT(ip->i_d.di_anextents == 0); in xfs_bmap_add_attrfork()
3833 switch (ip->i_d.di_format) { in xfs_bmap_add_attrfork()
3835 ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; in xfs_bmap_add_attrfork()
3838 ip->i_d.di_forkoff = roundup(sizeof(uuid_t), 8) >> 3; in xfs_bmap_add_attrfork()
3843 ip->i_d.di_forkoff = mp->m_attroffset >> 3; in xfs_bmap_add_attrfork()
3859 switch (ip->i_d.di_format) { in xfs_bmap_add_attrfork()
4268 return ip->i_d.di_size == ip->i_mount->m_sb.sb_blocksize; in xfs_bmap_one_block()
4280 ASSERT(ip->i_d.di_size == ip->i_mount->m_sb.sb_blocksize); in xfs_bmap_one_block()
4721 if (ip->i_d.di_flags & XFS_DIFLAG_REALTIME) { in xfs_bmapi()
4724 if (!(extsz = ip->i_d.di_extsize)) in xfs_bmapi()
5207 (ip->i_d.di_flags & XFS_DIFLAG_REALTIME); in xfs_bunmapi()
5561 if (ip->i_d.di_aformat != XFS_DINODE_FMT_EXTENTS && in xfs_getbmap()
5562 ip->i_d.di_aformat != XFS_DINODE_FMT_BTREE && in xfs_getbmap()
5563 ip->i_d.di_aformat != XFS_DINODE_FMT_LOCAL) in xfs_getbmap()
5566 ip->i_d.di_aformat != 0 && in xfs_getbmap()
5567 ip->i_d.di_aformat != XFS_DINODE_FMT_EXTENTS)) { in xfs_getbmap()
5572 } else if (ip->i_d.di_format != XFS_DINODE_FMT_EXTENTS && in xfs_getbmap()
5573 ip->i_d.di_format != XFS_DINODE_FMT_BTREE && in xfs_getbmap()
5574 ip->i_d.di_format != XFS_DINODE_FMT_LOCAL) in xfs_getbmap()
5577 if (ip->i_d.di_flags & XFS_DIFLAG_PREALLOC) { in xfs_getbmap()
5582 fixlen = ip->i_d.di_size; in xfs_getbmap()