Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_sf.c259 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 …]
Dxfs_inode_fork.h94 &(ip)->i_df : \
Dxfs_inode_fork.c129 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()
Dxfs_dir2.c193 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
Dxfs_attr_leaf.c430 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()
Dxfs_bmap.c970 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/
Dxfs_inode_item.c53 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 …]
Dxfs_symlink.c137 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()
Dxfs_dir2_readdir.c73 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()
Dxfs_iops.c486 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()
Dxfs_bmap_util.c921 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()
Dxfs_inode.c126 (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()
Dxfs_inode.h51 xfs_ifork_t i_df; /* data fork */ member
Dxfs_dquot.c724 if (!(quotip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_dq_get_next_id()
730 if (xfs_iext_lookup_extent(quotip, &quotip->i_df, start, &idx, &got)) { in xfs_dq_get_next_id()
Dxfs_itable.c122 buf->bs_rdev = ip->i_df.if_u2.if_rdev; in xfs_bulkstat_one_int()
Dxfs_ioctl.c922 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()
Dxfs_iomap.c999 if ((flags & IOMAP_NOWAIT) && !(ip->i_df.if_flags & XFS_IFEXTENTS)) { in xfs_file_iomap_begin()
Dxfs_aops.c399 (ip->i_df.if_flags & XFS_IFEXTENTS)); in xfs_map_blocks()
Dxfs_icache.c80 memset(&ip->i_df, 0, sizeof(xfs_ifork_t)); in xfs_inode_alloc()
Dxfs_trace.h1973 __entry->broot_size = ip->i_df.if_broot_bytes;