Searched refs:i_df (Results 1 – 19 of 19) sorted by relevance
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 245 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 …]
|
D | xfs_inode_fork.h | 44 &(ip)->i_df : \
|
D | xfs_inode_fork.c | 674 return &ip->i_df; in xfs_iext_state_to_fork()
|
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 | 461 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()
|
D | xfs_bmap.c | 932 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/ |
D | xfs_inode_item.c | 42 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 …]
|
D | xfs_symlink.c | 125 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()
|
D | xfs_dir2_readdir.c | 61 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()
|
D | xfs_bmap_util.c | 699 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()
|
D | xfs_iops.c | 485 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()
|
D | xfs_inode.h | 38 struct xfs_ifork i_df; /* data fork */ member
|
D | xfs_inode.c | 116 (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()
|
D | xfs_aops.c | 368 (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()
|
D | xfs_dquot.c | 635 if (!(quotip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_dq_get_next_id() 641 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
|
D | xfs_icache.c | 69 memset(&ip->i_df, 0, sizeof(ip->i_df)); in xfs_inode_alloc()
|
D | xfs_ioctl.c | 909 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()
|
D | xfs_iomap.c | 964 if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_ilock_for_iomap()
|
D | xfs_trace.h | 1909 __entry->broot_size = ip->i_df.if_broot_bytes;
|