Searched refs:i_df (Results 1 – 18 of 18) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 260 dp->i_df.if_flags &= ~XFS_IFEXTENTS; in xfs_dir2_block_to_sf() 261 dp->i_df.if_flags |= XFS_IFINLINE; in xfs_dir2_block_to_sf() 263 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf() 267 memcpy(dp->i_df.if_u1.if_data, dst, size); in xfs_dir2_block_to_sf() 300 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_addname() 308 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname() 309 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname() 310 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname() 397 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 407 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() [all …]
|
D | xfs_inode_fork.h | 94 &(ip)->i_df : \
|
D | xfs_inode_fork.c | 134 ip->i_df.if_u2.if_rdev = xfs_dinode_get_rdev(dip); in xfs_iformat_fork() 859 xfs_dinode_put_rdev(dip, ip->i_df.if_u2.if_rdev); in xfs_iflush_fork() 867 &ip->i_df.if_u2.if_uuid, in xfs_iflush_fork() 917 xfs_ifork_t *ifp = (state & BMAP_ATTRFORK) ? ip->i_afp : &ip->i_df; in xfs_iext_insert() 1167 xfs_ifork_t *ifp = (state & BMAP_ATTRFORK) ? ip->i_afp : &ip->i_df; in xfs_iext_remove()
|
D | xfs_dir2.c | 184 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_attr_leaf.c | 424 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit() 435 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit() 451 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
|
D | xfs_bmap.c | 1001 if (ip->i_df.if_broot_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_btree() 1075 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local() 1790 if (bma->idx < bma->ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1) { in xfs_bmap_add_extent_delay_real() 2347 if (*idx < ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1) { in xfs_bmap_add_extent_unwritten_real() 2819 if (*idx < ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t)) { in xfs_bmap_add_extent_hole_delay()
|
/fs/xfs/ |
D | xfs_inode_item.c | 52 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size() 60 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_data_fork_size() 61 *nbytes += ip->i_df.if_broot_bytes; in xfs_inode_item_data_fork_size() 67 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size() 68 *nbytes += roundup(ip->i_df.if_bytes, 4); in xfs_inode_item_data_fork_size() 163 ip->i_df.if_bytes > 0) { in xfs_inode_item_format_data_fork() 166 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_format_data_fork() 167 ASSERT(ip->i_df.if_bytes / sizeof(xfs_bmbt_rec_t) > 0); in xfs_inode_item_format_data_fork() 173 ASSERT(data_bytes <= ip->i_df.if_bytes); in xfs_inode_item_format_data_fork() 187 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_format_data_fork() [all …]
|
D | xfs_symlink.c | 153 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_readlink() 154 memcpy(link, ip->i_df.if_u1.if_data, pathlen); in xfs_readlink() 307 memcpy(ip->i_df.if_u1.if_data, target_path, pathlen); in xfs_symlink() 313 ip->i_df.if_flags &= ~(XFS_IFEXTENTS | XFS_IFBROOT); in xfs_symlink() 314 ip->i_df.if_flags |= XFS_IFINLINE; in xfs_symlink() 450 ASSERT(ip->i_df.if_flags & XFS_IFEXTENTS); in xfs_inactive_symlink_rmt() 541 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt() 542 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt() 543 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt() 591 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_inactive_symlink() [all …]
|
D | xfs_dir2_readdir.c | 73 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_getdents() 82 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents() 83 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_getdents() 85 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents()
|
D | xfs_bmap_util.c | 840 if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) in xfs_can_free_eofblocks() 1669 XFS_BMAP_BMDR_SPACE(tip->i_df.if_broot) > XFS_IFORK_BOFF(ip)) in xfs_swap_extents_check_format() 1679 XFS_BMAP_BMDR_SPACE(ip->i_df.if_broot) > XFS_IFORK_BOFF(tip)) in xfs_swap_extents_check_format() 1863 ifp = &ip->i_df; in xfs_swap_extents() 1864 tifp = &tip->i_df; in xfs_swap_extents() 1903 nextents = ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_swap_extents() 1923 nextents = tip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_swap_extents()
|
D | xfs_iops.c | 473 stat->rdev = MKDEV(sysv_major(ip->i_df.if_u2.if_rdev) & 0x1ff, in xfs_vn_getattr() 474 sysv_minor(ip->i_df.if_u2.if_rdev)); in xfs_vn_getattr() 1240 MKDEV(sysv_major(ip->i_df.if_u2.if_rdev) & 0x1ff, in xfs_setup_inode() 1241 sysv_minor(ip->i_df.if_u2.if_rdev)); in xfs_setup_inode() 1277 if (!(ip->i_df.if_flags & XFS_IFINLINE)) in xfs_setup_inode()
|
D | xfs_inode.c | 100 (ip->i_df.if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_data_map_shared() 858 ip->i_df.if_u2.if_rdev = rdev; in xfs_ialloc() 859 ip->i_df.if_flags = 0; in xfs_ialloc() 906 ip->i_df.if_flags = XFS_IFEXTENTS; in xfs_ialloc() 907 ip->i_df.if_bytes = ip->i_df.if_real_bytes = 0; in xfs_ialloc() 908 ip->i_df.if_u1.if_extents = NULL; in xfs_ialloc() 1880 ASSERT(ip->i_df.if_real_bytes == 0); in xfs_inactive() 1881 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inactive()
|
D | xfs_inode.h | 50 xfs_ifork_t i_df; /* data fork */ member
|
D | xfs_itable.c | 112 buf->bs_rdev = ip->i_df.if_u2.if_rdev; in xfs_bulkstat_one_int()
|
D | xfs_ioctl.c | 936 if (ip->i_df.if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr() 937 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
|
D | xfs_icache.c | 79 memset(&ip->i_df, 0, sizeof(xfs_ifork_t)); in xfs_inode_alloc()
|
D | xfs_trace.h | 271 ip->i_afp : &ip->i_df; 1946 __entry->broot_size = ip->i_df.if_broot_bytes;
|
D | xfs_aops.c | 310 (ip->i_df.if_flags & XFS_IFEXTENTS)); in xfs_map_blocks()
|