Home
last modified time | relevance | path

Searched refs:i8count (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_dir2_sf.c58 int i8count; /* count of big-inode entries */ in xfs_dir2_block_sfsize() local
77 count = i8count = namelen = 0; in xfs_dir2_block_sfsize()
103 i8count += be64_to_cpu(dep->inumber) > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_block_sfsize()
114 size = xfs_dir2_sf_hdr_size(i8count) + /* header */ in xfs_dir2_block_sfsize()
117 (i8count ? /* inumber */ in xfs_dir2_block_sfsize()
127 sfhp->i8count = i8count; in xfs_dir2_block_sfsize()
174 memcpy(sfp, sfhp, xfs_dir2_sf_hdr_size(sfhp->i8count)); in xfs_dir2_block_to_sf()
290 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->i8count)); in xfs_dir2_sf_addname()
300 if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && sfp->i8count == 0) { in xfs_dir2_sf_addname()
399 sfp->i8count++; in xfs_dir2_sf_addname_easy()
[all …]
Dxfs_da_format.h218 uint8_t i8count; /* count of 8-byte inode #s */ member
235 static inline int xfs_dir2_sf_hdr_size(int i8count) in xfs_dir2_sf_hdr_size() argument
238 (i8count == 0) * XFS_INO64_DIFF; in xfs_dir2_sf_hdr_size()
257 ((char *)hdr + xfs_dir2_sf_hdr_size(hdr->i8count)); in xfs_dir2_sf_firstentry()
Dxfs_da_format.c28 count += hdr->i8count ? XFS_INO64_SIZE : XFS_INO32_SIZE; /* ino # */ in xfs_dir2_sf_entsize()
114 if (hdr->i8count) in xfs_dir2_sf_get_ino()
128 if (hdr->i8count) in xfs_dir2_sf_put_ino()
Dxfs_dir2_block.c1088 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(oldsfp->i8count)); in xfs_dir2_sf_to_block()