Searched refs:i_df (Results 1 – 15 of 15) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_inode_item.c | 99 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size() 100 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_size() 108 ASSERT(ip->i_df.if_ext_max == in xfs_inode_item_size() 114 (ip->i_df.if_broot_bytes > 0)) { in xfs_inode_item_size() 115 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_size() 123 ip->i_df.if_broot_bytes); in xfs_inode_item_size() 125 ip->i_df.if_broot, in xfs_inode_item_size() 128 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inode_item_size() 140 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size() 141 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_size() [all …]
|
D | xfs_dir2_sf.c | 216 dp->i_df.if_flags &= ~XFS_IFEXTENTS; in xfs_dir2_block_to_sf() 217 dp->i_df.if_flags |= XFS_IFINLINE; in xfs_dir2_block_to_sf() 219 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf() 225 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_block_to_sf() 310 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_addname() 318 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname() 319 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname() 320 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname() 414 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 424 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() [all …]
|
D | xfs_trans_inode.c | 333 ASSERT((ip->i_df.if_broot != NULL) && in xfs_trans_inode_broot_debug() 334 (ip->i_df.if_broot_bytes > 0)); in xfs_trans_inode_broot_debug() 335 iip->ili_root_size = ip->i_df.if_broot_bytes; in xfs_trans_inode_broot_debug() 338 memcpy(iip->ili_orig_root, (char*)(ip->i_df.if_broot), in xfs_trans_inode_broot_debug()
|
D | xfs_dir_leaf.c | 154 dp->i_df.if_flags &= ~XFS_IFEXTENTS; /* just in case */ in xfs_dir_shortform_create() 157 dp->i_df.if_flags |= XFS_IFINLINE; in xfs_dir_shortform_create() 159 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir_shortform_create() 160 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir_shortform_create() 162 hdr = (xfs_dir_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_shortform_create() 184 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir_shortform_addname() 193 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir_shortform_addname() 194 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir_shortform_addname() 195 sf = (xfs_dir_shortform_t *)dp->i_df.if_u1.if_data; in xfs_dir_shortform_addname() 208 sf = (xfs_dir_shortform_t *)dp->i_df.if_u1.if_data; in xfs_dir_shortform_addname() [all …]
|
D | xfs_dir2_block.c | 1075 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_to_block() 1083 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block() 1084 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_to_block() 1085 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_to_block() 1092 buf_len = dp->i_df.if_bytes; in xfs_dir2_sf_to_block() 1093 buf = kmem_alloc(dp->i_df.if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block() 1095 memcpy(buf, sfp, dp->i_df.if_bytes); in xfs_dir2_sf_to_block() 1096 xfs_idata_realloc(dp, -dp->i_df.if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
|
D | xfs_bmap.c | 449 if (ip->i_df.if_broot_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_btree() 517 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local() 762 base = ip->i_df.if_u1.if_extents; in xfs_bmap_add_extent_delay_real() 796 ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1)) { in xfs_bmap_add_extent_delay_real() 832 ip->i_df.if_lastex = idx - 1; in xfs_bmap_add_extent_delay_real() 870 ip->i_df.if_lastex = idx - 1; in xfs_bmap_add_extent_delay_real() 904 ip->i_df.if_lastex = idx; in xfs_bmap_add_extent_delay_real() 937 ip->i_df.if_lastex = idx; in xfs_bmap_add_extent_delay_real() 973 ip->i_df.if_lastex = idx - 1; in xfs_bmap_add_extent_delay_real() 1010 ip->i_df.if_lastex = idx; in xfs_bmap_add_extent_delay_real() [all …]
|
D | xfs_vnodeops.c | 228 vap->va_rdev = ip->i_df.if_u2.if_rdev; in xfs_getattr() 264 (ip->i_df.if_flags & XFS_IFEXTENTS) ? in xfs_getattr() 265 ip->i_df.if_bytes / sizeof(xfs_bmbt_rec_t) : in xfs_getattr() 1033 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_readlink() 1034 error = uio_read(ip->i_df.if_u1.if_data, pathlen, uiop); in xfs_readlink() 1413 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt() 1414 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt() 1415 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt() 1479 if (ip->i_df.if_bytes > 0) { in xfs_inactive_symlink_local() 1481 -(ip->i_df.if_bytes), in xfs_inactive_symlink_local() [all …]
|
D | xfs_inode.c | 458 ip->i_df.if_ext_max = in xfs_iformat() 501 ip->i_df.if_u2.if_rdev = INT_GET(dip->di_u.di_dev, ARCH_CONVERT); in xfs_iformat() 1008 ip->i_df.if_ext_max = in xfs_iread() 1241 ip->i_df.if_u2.if_rdev = rdev; in xfs_ialloc() 1242 ip->i_df.if_flags = 0; in xfs_ialloc() 1272 ip->i_df.if_flags = XFS_IFEXTENTS; in xfs_ialloc() 1273 ip->i_df.if_bytes = ip->i_df.if_real_bytes = 0; in xfs_ialloc() 1274 ip->i_df.if_u1.if_extents = NULL; in xfs_ialloc() 1368 if (ip->i_df.if_flags & XFS_IFEXTENTS) { in xfs_file_last_byte() 2369 ip->i_df.if_ext_max = in xfs_ifree() [all …]
|
D | xfs_dfrag.c | 289 ifp = &ip->i_df; in xfs_swapext() 290 tifp = &tip->i_df; in xfs_swapext()
|
D | xfs_inode.h | 264 xfs_ifork_t i_df; /* data fork */ member 321 #define XFS_IFORK_PTR(ip,w) ((w) == XFS_DATA_FORK ? &(ip)->i_df : (ip)->i_afp)
|
D | xfs_iget.c | 426 ASSERT(ip->i_df.if_ext_max == in xfs_iget_core() 784 ((ip->i_df.if_flags & XFS_IFEXTENTS) == 0)) { in xfs_ilock_map_shared()
|
D | xfs_dir2.c | 167 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_isempty()
|
D | xfs_itable.c | 180 buf->bs_rdev = ip->i_df.if_u2.if_rdev; in xfs_bulkstat_one()
|
D | xfs_dir.c | 224 hdr = (xfs_dir_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_super.c | 166 xfs_dev_t dev = ip->i_df.if_u2.if_rdev; in xfs_revalidate_inode()
|