Searched refs:i8count (Results 1 – 4 of 4) sorted by relevance
58 int i8count; /* count of big-inode entries */ in xfs_dir2_block_sfsize() local77 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 …]
218 uint8_t i8count; /* count of 8-byte inode #s */ member235 static inline int xfs_dir2_sf_hdr_size(int i8count) in xfs_dir2_sf_hdr_size() argument238 (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()
28 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()
1088 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(oldsfp->i8count)); in xfs_dir2_sf_to_block()