Home
last modified time | relevance | path

Searched refs:i_df (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2_sf.c245 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf()
282 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_addname()
290 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname()
291 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname()
292 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname()
376 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy()
386 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy()
440 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard()
472 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard()
527 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_pick()
[all …]
Dxfs_inode_fork.h44 &(ip)->i_df : \
Dxfs_inode_fork.c674 return &ip->i_df; in xfs_iext_state_to_fork()
Dxfs_dir2.c184 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
Dxfs_attr_leaf.c461 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit()
472 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit()
488 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
Dxfs_bmap.c932 if (ip->i_df.if_broot_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_btree()
999 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local()
/linux-4.19.296/fs/xfs/
Dxfs_inode_item.c42 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size()
50 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_data_fork_size()
51 *nbytes += ip->i_df.if_broot_bytes; in xfs_inode_item_data_fork_size()
57 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size()
58 *nbytes += roundup(ip->i_df.if_bytes, 4); in xfs_inode_item_data_fork_size()
151 ip->i_df.if_bytes > 0) { in xfs_inode_item_format_data_fork()
154 ASSERT(xfs_iext_count(&ip->i_df) > 0); in xfs_inode_item_format_data_fork()
160 ASSERT(data_bytes <= ip->i_df.if_bytes); in xfs_inode_item_format_data_fork()
173 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_format_data_fork()
174 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_format_data_fork()
[all …]
Dxfs_symlink.c125 ASSERT(!(ip->i_df.if_flags & XFS_IFINLINE)); in xfs_readlink()
404 ASSERT(ip->i_df.if_flags & XFS_IFEXTENTS); in xfs_inactive_symlink_rmt()
475 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt()
476 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt()
477 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt()
520 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_inactive_symlink()
Dxfs_dir2_readdir.c61 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_getdents()
62 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents()
63 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_getdents()
65 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents()
Dxfs_bmap_util.c699 struct xfs_ifork *ifp = &ip->i_df; in xfs_bmap_punch_delalloc_range()
760 if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) in xfs_can_free_eofblocks()
1482 XFS_BMAP_BMDR_SPACE(tip->i_df.if_broot) > XFS_IFORK_BOFF(ip)) in xfs_swap_extents_check_format()
1492 XFS_BMAP_BMDR_SPACE(ip->i_df.if_broot) > XFS_IFORK_BOFF(tip)) in xfs_swap_extents_check_format()
1687 swap(ip->i_df, tip->i_df); in xfs_swap_extent_forks()
Dxfs_iops.c485 ASSERT(XFS_I(inode)->i_df.if_flags & XFS_IFINLINE); in xfs_vn_get_link_inline()
491 link = XFS_I(inode)->i_df.if_u1.if_data; in xfs_vn_get_link_inline()
1360 if (ip->i_df.if_flags & XFS_IFINLINE) in xfs_setup_iops()
Dxfs_inode.h38 struct xfs_ifork i_df; /* data fork */ member
Dxfs_inode.c116 (ip->i_df.if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_data_map_shared()
866 ip->i_df.if_flags = 0; in xfs_ialloc()
929 ip->i_df.if_flags = XFS_IFEXTENTS; in xfs_ialloc()
930 ip->i_df.if_bytes = 0; in xfs_ialloc()
931 ip->i_df.if_u1.if_root = NULL; in xfs_ialloc()
1853 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inactive()
Dxfs_aops.c368 (ip->i_df.if_flags & XFS_IFEXTENTS)); in xfs_map_blocks()
418 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
Dxfs_dquot.c635 if (!(quotip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_dq_get_next_id()
641 if (xfs_iext_lookup_extent(quotip, &quotip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
Dxfs_icache.c69 memset(&ip->i_df, 0, sizeof(ip->i_df)); in xfs_inode_alloc()
Dxfs_ioctl.c909 if (ip->i_df.if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr()
910 fa.fsx_nextents = xfs_iext_count(&ip->i_df); in xfs_ioc_fsgetxattr()
Dxfs_iomap.c964 if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_ilock_for_iomap()
Dxfs_trace.h1909 __entry->broot_size = ip->i_df.if_broot_bytes;