Lines Matching refs:i8count
81 int i8count; /* count of big-inode entries */
91 count = i8count = namelen = 0;
117 i8count += be64_to_cpu(dep->inumber) > XFS_DIR2_MAX_SHORT_INUM;
127 size = XFS_DIR2_SF_HDR_SIZE(i8count) + /* header */
131 (i8count ? /* inumber */
141 sfhp->i8count = i8count;
202 memcpy(sfp, sfhp, XFS_DIR2_SF_HDR_SIZE(sfhp->i8count));
297 ASSERT(dp->i_d.di_size >= XFS_DIR2_SF_HDR_SIZE(sfp->hdr.i8count));
308 if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && sfp->hdr.i8count == 0) {
416 sfp->hdr.i8count++;
425 * in which case we need to leave the i8count at 1.
505 sfp->hdr.i8count++;
610 int i8count; /* number of big inode#s */
621 i8count = ino > XFS_DIR2_MAX_SHORT_INUM;
628 i8count += ino > XFS_DIR2_MAX_SHORT_INUM;
633 ASSERT(i8count == sfp->hdr.i8count);
634 ASSERT(XFS_BIG_INUMS || i8count == 0);
652 int i8count; /* parent inode is an 8-byte number */
673 i8count = pino > XFS_DIR2_MAX_SHORT_INUM;
674 size = XFS_DIR2_SF_HDR_SIZE(i8count);
683 sfp->hdr.i8count = i8count;
685 * Now can put in the inode number, since i8count is set.
730 ASSERT(dp->i_d.di_size >= XFS_DIR2_SF_HDR_SIZE(sfp->hdr.i8count));
868 ASSERT(dp->i_d.di_size >= XFS_DIR2_SF_HDR_SIZE(sfp->hdr.i8count));
937 ASSERT(oldsize >= XFS_DIR2_SF_HDR_SIZE(sfp->hdr.i8count));
987 if (sfp->hdr.i8count == 1)
990 sfp->hdr.i8count--;
1011 int i8elevated; /* sf_toino8 set i8count=1 */
1030 ASSERT(dp->i_d.di_size >= XFS_DIR2_SF_HDR_SIZE(sfp->hdr.i8count));
1035 if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && sfp->hdr.i8count == 0) {
1116 if (sfp->hdr.i8count == 1)
1119 sfp->hdr.i8count--;
1127 * add to the i8count unless we just converted to 8-byte
1128 * inodes (which does an implied i8count = 1)
1130 ASSERT(sfp->hdr.i8count != 0);
1132 sfp->hdr.i8count++;
1171 ASSERT(oldsfp->hdr.i8count == 1);
1191 sfp->hdr.i8count = 0;
1248 ASSERT(oldsfp->hdr.i8count == 0);
1268 sfp->hdr.i8count = 1;