Lines Matching refs:hdr_s
1031 xfs_dir_leaf_hdr_t *hdr_s, *hdr_d; in xfs_dir_leaf_compact() local
1059 hdr_s = &leaf_s->hdr; in xfs_dir_leaf_compact()
1061 hdr_d->info = hdr_s->info; /* struct copy */ in xfs_dir_leaf_compact()
1076 xfs_dir_leaf_moveents(leaf_s, 0, leaf_d, 0, (int)INT_GET(hdr_s->count, ARCH_CONVERT), mp); in xfs_dir_leaf_compact()
1790 xfs_dir_leaf_hdr_t *hdr_s, *hdr_d; in xfs_dir_leaf_moveents() local
1805 hdr_s = &leaf_s->hdr; in xfs_dir_leaf_moveents()
1807 …ASSERT((INT_GET(hdr_s->count, ARCH_CONVERT) > 0) && (INT_GET(hdr_s->count, ARCH_CONVERT) < (XFS_LB… in xfs_dir_leaf_moveents()
1808 ASSERT(INT_GET(hdr_s->firstused, ARCH_CONVERT) >= in xfs_dir_leaf_moveents()
1809 ((INT_GET(hdr_s->count, ARCH_CONVERT)*sizeof(*entry_s))+sizeof(*hdr_s))); in xfs_dir_leaf_moveents()
1814 ASSERT(start_s < INT_GET(hdr_s->count, ARCH_CONVERT)); in xfs_dir_leaf_moveents()
1816 ASSERT(count <= INT_GET(hdr_s->count, ARCH_CONVERT)); in xfs_dir_leaf_moveents()
1836 ASSERT(INT_GET(entry_s->nameidx, ARCH_CONVERT) >= INT_GET(hdr_s->firstused, ARCH_CONVERT)); in xfs_dir_leaf_moveents()
1848 INT_MOD(hdr_s->namebytes, ARCH_CONVERT, -(entry_d->namelen)); in xfs_dir_leaf_moveents()
1850 INT_MOD(hdr_s->count, ARCH_CONVERT, -1); in xfs_dir_leaf_moveents()
1861 if (start_s == INT_GET(hdr_s->count, ARCH_CONVERT)) { in xfs_dir_leaf_moveents()
1871 tmp = INT_GET(hdr_s->count, ARCH_CONVERT) - count; in xfs_dir_leaf_moveents()
1878 entry_s = &leaf_s->entries[INT_GET(hdr_s->count, ARCH_CONVERT)]; in xfs_dir_leaf_moveents()
1891 hdr_s->holes = 1; /* leaf may not be compact */ in xfs_dir_leaf_moveents()