Searched refs:i_df (Results 1 – 20 of 20) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 259 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf() 296 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_addname() 304 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname() 305 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname() 306 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname() 390 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 400 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 454 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard() 486 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard() 541 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 | 94 &(ip)->i_df : \
|
D | xfs_inode_fork.c | 129 ip->i_df.if_u2.if_rdev = xfs_dinode_get_rdev(dip); in xfs_iformat_fork() 897 xfs_dinode_put_rdev(dip, ip->i_df.if_u2.if_rdev); in xfs_iflush_fork() 905 &ip->i_df.if_u2.if_uuid, in xfs_iflush_fork() 953 return &ip->i_df; in xfs_iext_state_to_fork()
|
D | xfs_dir2.c | 193 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_attr_leaf.c | 430 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit() 441 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit() 457 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
|
D | xfs_bmap.c | 970 if (ip->i_df.if_broot_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_btree() 1044 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local()
|
/fs/xfs/ |
D | xfs_inode_item.c | 53 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size() 61 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_data_fork_size() 62 *nbytes += ip->i_df.if_broot_bytes; in xfs_inode_item_data_fork_size() 68 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size() 69 *nbytes += roundup(ip->i_df.if_bytes, 4); in xfs_inode_item_data_fork_size() 164 ip->i_df.if_bytes > 0) { in xfs_inode_item_format_data_fork() 167 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_format_data_fork() 168 ASSERT(xfs_iext_count(&ip->i_df) > 0); in xfs_inode_item_format_data_fork() 174 ASSERT(data_bytes <= ip->i_df.if_bytes); in xfs_inode_item_format_data_fork() 188 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_format_data_fork() [all …]
|
D | xfs_symlink.c | 137 ASSERT(!(ip->i_df.if_flags & XFS_IFINLINE)); in xfs_readlink() 440 ASSERT(ip->i_df.if_flags & XFS_IFEXTENTS); in xfs_inactive_symlink_rmt() 523 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt() 524 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt() 525 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt() 573 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_inactive_symlink() 574 if (ip->i_df.if_bytes > 0) in xfs_inactive_symlink() 575 xfs_idata_realloc(ip, -(ip->i_df.if_bytes), in xfs_inactive_symlink() 578 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink()
|
D | xfs_dir2_readdir.c | 73 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_getdents() 74 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents() 75 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_getdents() 77 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents()
|
D | xfs_iops.c | 486 ASSERT(XFS_I(inode)->i_df.if_flags & XFS_IFINLINE); in xfs_vn_get_link_inline() 487 return XFS_I(inode)->i_df.if_u1.if_data; in xfs_vn_get_link_inline() 538 stat->rdev = MKDEV(sysv_major(ip->i_df.if_u2.if_rdev) & 0x1ff, in xfs_vn_getattr() 539 sysv_minor(ip->i_df.if_u2.if_rdev)); in xfs_vn_getattr() 1263 MKDEV(sysv_major(ip->i_df.if_u2.if_rdev) & 0x1ff, in xfs_setup_inode() 1264 sysv_minor(ip->i_df.if_u2.if_rdev)); in xfs_setup_inode() 1320 if (ip->i_df.if_flags & XFS_IFINLINE) in xfs_setup_iops()
|
D | xfs_bmap_util.c | 921 if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) in xfs_can_free_eofblocks() 1660 XFS_BMAP_BMDR_SPACE(tip->i_df.if_broot) > XFS_IFORK_BOFF(ip)) in xfs_swap_extents_check_format() 1670 XFS_BMAP_BMDR_SPACE(ip->i_df.if_broot) > XFS_IFORK_BOFF(tip)) in xfs_swap_extents_check_format() 1874 ifp = &ip->i_df; in xfs_swap_extent_forks() 1875 tifp = &tip->i_df; in xfs_swap_extent_forks() 1914 nextents = xfs_iext_count(&ip->i_df); in xfs_swap_extent_forks() 1932 nextents = xfs_iext_count(&tip->i_df); in xfs_swap_extent_forks()
|
D | xfs_inode.c | 126 (ip->i_df.if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_data_map_shared() 870 ip->i_df.if_u2.if_rdev = rdev; in xfs_ialloc() 871 ip->i_df.if_flags = 0; in xfs_ialloc() 934 ip->i_df.if_flags = XFS_IFEXTENTS; in xfs_ialloc() 935 ip->i_df.if_bytes = ip->i_df.if_real_bytes = 0; in xfs_ialloc() 936 ip->i_df.if_u1.if_extents = NULL; in xfs_ialloc() 1897 ASSERT(ip->i_df.if_real_bytes == 0); in xfs_inactive() 1898 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inactive()
|
D | xfs_inode.h | 51 xfs_ifork_t i_df; /* data fork */ member
|
D | xfs_dquot.c | 724 if (!(quotip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_dq_get_next_id() 730 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &idx, &got)) { in xfs_dq_get_next_id()
|
D | xfs_itable.c | 122 buf->bs_rdev = ip->i_df.if_u2.if_rdev; in xfs_bulkstat_one_int()
|
D | xfs_ioctl.c | 922 if (ip->i_df.if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr() 923 fa.fsx_nextents = xfs_iext_count(&ip->i_df); in xfs_ioc_fsgetxattr()
|
D | xfs_iomap.c | 999 if ((flags & IOMAP_NOWAIT) && !(ip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_file_iomap_begin()
|
D | xfs_aops.c | 399 (ip->i_df.if_flags & XFS_IFEXTENTS)); in xfs_map_blocks()
|
D | xfs_icache.c | 80 memset(&ip->i_df, 0, sizeof(xfs_ifork_t)); in xfs_inode_alloc()
|
D | xfs_trace.h | 1973 __entry->broot_size = ip->i_df.if_broot_bytes;
|