Searched refs:i_df (Results 1 – 15 of 15) sorted by relevance
/fs/xfs/ |
D | xfs_dir2_sf.c | 193 dp->i_df.if_flags &= ~XFS_IFEXTENTS; in xfs_dir2_block_to_sf() 194 dp->i_df.if_flags |= XFS_IFINLINE; in xfs_dir2_block_to_sf() 196 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf() 202 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_block_to_sf() 287 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_addname() 295 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname() 296 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname() 297 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname() 391 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 401 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() [all …]
|
D | xfs_inode_item.c | 78 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size() 79 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_size() 87 ASSERT(ip->i_df.if_ext_max == in xfs_inode_item_size() 93 (ip->i_df.if_broot_bytes > 0)) { in xfs_inode_item_size() 94 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_size() 102 ip->i_df.if_broot_bytes); in xfs_inode_item_size() 104 ip->i_df.if_broot, in xfs_inode_item_size() 107 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inode_item_size() 119 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size() 120 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_size() [all …]
|
D | xfs_trans_inode.c | 271 ASSERT((ip->i_df.if_broot != NULL) && in xfs_trans_inode_broot_debug() 272 (ip->i_df.if_broot_bytes > 0)); in xfs_trans_inode_broot_debug() 273 iip->ili_root_size = ip->i_df.if_broot_bytes; in xfs_trans_inode_broot_debug() 276 memcpy(iip->ili_orig_root, (char*)(ip->i_df.if_broot), in xfs_trans_inode_broot_debug()
|
D | xfs_dir2_block.c | 1056 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_to_block() 1064 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block() 1065 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_to_block() 1066 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_to_block() 1073 buf_len = dp->i_df.if_bytes; in xfs_dir2_sf_to_block() 1074 buf = kmem_alloc(dp->i_df.if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block() 1076 memcpy(buf, sfp, dp->i_df.if_bytes); in xfs_dir2_sf_to_block() 1077 xfs_idata_realloc(dp, -dp->i_df.if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
|
D | xfs_vnodeops.c | 573 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_readlink() 574 memcpy(link, ip->i_df.if_u1.if_data, pathlen); in xfs_readlink() 931 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt() 932 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt() 933 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt() 997 if (ip->i_df.if_bytes > 0) { in xfs_inactive_symlink_local() 999 -(ip->i_df.if_bytes), in xfs_inactive_symlink_local() 1001 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_local() 1101 (ip->i_df.if_flags & XFS_IFEXTENTS)) && in xfs_release() 1140 ASSERT(ip->i_df.if_real_bytes == 0); in xfs_inactive() [all …]
|
D | xfs_bmap.c | 469 if (ip->i_df.if_broot_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_btree() 537 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local() 821 ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1)) { in xfs_bmap_add_extent_delay_real() 856 ip->i_df.if_lastex = idx - 1; in xfs_bmap_add_extent_delay_real() 899 ip->i_df.if_lastex = idx - 1; in xfs_bmap_add_extent_delay_real() 934 ip->i_df.if_lastex = idx; in xfs_bmap_add_extent_delay_real() 968 ip->i_df.if_lastex = idx; in xfs_bmap_add_extent_delay_real() 1004 ip->i_df.if_lastex = idx - 1; in xfs_bmap_add_extent_delay_real() 1044 ip->i_df.if_lastex = idx; in xfs_bmap_add_extent_delay_real() 1061 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real() [all …]
|
D | xfs_dfrag.c | 274 ifp = &ip->i_df; in xfs_swap_extents() 275 tifp = &tip->i_df; in xfs_swap_extents()
|
D | xfs_inode.c | 318 ip->i_df.if_ext_max = in xfs_iformat() 359 ip->i_df.if_u2.if_rdev = xfs_dinode_get_rdev(dip); in xfs_iformat() 857 ip->i_df.if_ext_max = in xfs_iread() 1097 ip->i_df.if_u2.if_rdev = rdev; in xfs_ialloc() 1098 ip->i_df.if_flags = 0; in xfs_ialloc() 1152 ip->i_df.if_flags = XFS_IFEXTENTS; in xfs_ialloc() 1153 ip->i_df.if_bytes = ip->i_df.if_real_bytes = 0; in xfs_ialloc() 1154 ip->i_df.if_u1.if_extents = NULL; in xfs_ialloc() 1260 if (ip->i_df.if_flags & XFS_IFEXTENTS) { in xfs_file_last_byte() 2166 ip->i_df.if_ext_max = in xfs_ifree() [all …]
|
D | xfs_iget.c | 86 memset(&ip->i_df, 0, sizeof(xfs_ifork_t)); in xfs_inode_alloc() 372 ASSERT(ip->i_df.if_ext_max == in xfs_iget() 587 ((ip->i_df.if_flags & XFS_IFEXTENTS) == 0)) { in xfs_ilock_map_shared()
|
D | xfs_inode.h | 178 &(ip)->i_df : \ 249 xfs_ifork_t i_df; /* data fork */ member
|
D | xfs_attr_leaf.c | 147 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit() 158 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > mp->m_attroffset) in xfs_attr_shortform_bytesfit() 175 dsize = XFS_BMAP_BROOT_SPACE(dp->i_df.if_broot); in xfs_attr_shortform_bytesfit() 261 dp->i_df.if_ext_max = in xfs_attr_shortform_add() 360 dp->i_df.if_ext_max = in xfs_attr_shortform_remove() 373 dp->i_df.if_ext_max = in xfs_attr_shortform_remove() 800 dp->i_df.if_ext_max = in xfs_attr_leaf_to_shortform()
|
D | xfs_dir2.c | 136 sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_itable.c | 102 buf->bs_rdev = ip->i_df.if_u2.if_rdev; in xfs_bulkstat_one_iget()
|
/fs/xfs/linux-2.6/ |
D | xfs_iops.c | 572 stat->rdev = MKDEV(sysv_major(ip->i_df.if_u2.if_rdev) & 0x1ff, in xfs_vn_getattr() 573 sysv_minor(ip->i_df.if_u2.if_rdev)); in xfs_vn_getattr() 870 MKDEV(sysv_major(ip->i_df.if_u2.if_rdev) & 0x1ff, in xfs_setup_inode() 871 sysv_minor(ip->i_df.if_u2.if_rdev)); in xfs_setup_inode() 903 if (!(ip->i_df.if_flags & XFS_IFINLINE)) in xfs_setup_inode()
|
D | xfs_ioctl.c | 834 if (ip->i_df.if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr() 835 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
|