Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_sf.c73 int i8count; /* count of big-inode entries */ in xfs_dir2_block_sfsize() local
92 count = i8count = namelen = 0; in xfs_dir2_block_sfsize()
118 i8count += be64_to_cpu(dep->inumber) > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_block_sfsize()
129 size = xfs_dir2_sf_hdr_size(i8count) + /* header */ in xfs_dir2_block_sfsize()
133 (i8count ? /* inumber */ in xfs_dir2_block_sfsize()
143 sfhp->i8count = i8count; in xfs_dir2_block_sfsize()
191 memcpy(sfp, sfhp, xfs_dir2_sf_hdr_size(sfhp->i8count)); in xfs_dir2_block_to_sf()
311 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->i8count)); in xfs_dir2_sf_addname()
321 if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && sfp->i8count == 0) { in xfs_dir2_sf_addname()
423 sfp->i8count++; in xfs_dir2_sf_addname_easy()
[all …]
Dxfs_da_format.h248 __uint8_t i8count; /* count of 8-byte inode #s */ member
265 static inline int xfs_dir2_sf_hdr_size(int i8count) in xfs_dir2_sf_hdr_size() argument
268 (i8count == 0) * in xfs_dir2_sf_hdr_size()
288 ((char *)hdr + xfs_dir2_sf_hdr_size(hdr->i8count)); in xfs_dir2_sf_firstentry()
Dxfs_da_format.c43 count += hdr->i8count ? sizeof(xfs_dir2_ino8_t) : in xfs_dir2_sf_entsize()
130 if (hdr->i8count) in xfs_dir2_sf_get_ino()
144 if (hdr->i8count) in xfs_dir2_sf_put_ino()
Dxfs_dir2_block.c1094 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(oldsfp->i8count)); in xfs_dir2_sf_to_block()
/fs/xfs/
Dxfs_dir2_readdir.c87 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->i8count)); in xfs_dir2_sf_getdents()