Searched refs:hdr_d (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dir_leaf.c | 1031 xfs_dir_leaf_hdr_t *hdr_s, *hdr_d; in xfs_dir_leaf_compact() local 1060 hdr_d = &leaf_d->hdr; in xfs_dir_leaf_compact() 1061 hdr_d->info = hdr_s->info; /* struct copy */ in xfs_dir_leaf_compact() 1062 INT_SET(hdr_d->firstused, ARCH_CONVERT, lbsize); in xfs_dir_leaf_compact() 1063 if (INT_ISZERO(hdr_d->firstused, ARCH_CONVERT)) in xfs_dir_leaf_compact() 1064 INT_SET(hdr_d->firstused, ARCH_CONVERT, lbsize - 1); in xfs_dir_leaf_compact() 1065 INT_ZERO(hdr_d->namebytes, ARCH_CONVERT); in xfs_dir_leaf_compact() 1066 INT_ZERO(hdr_d->count, ARCH_CONVERT); in xfs_dir_leaf_compact() 1067 hdr_d->holes = 0; in xfs_dir_leaf_compact() 1068 INT_SET(hdr_d->freemap[0].base, ARCH_CONVERT, sizeof(xfs_dir_leaf_hdr_t)); in xfs_dir_leaf_compact() [all …]
|
D | xfs_attr_leaf.c | 1080 xfs_attr_leaf_hdr_t *hdr_s, *hdr_d; in xfs_attr_leaf_compact() local 1096 hdr_d = &leaf_d->hdr; in xfs_attr_leaf_compact() 1097 hdr_d->info = hdr_s->info; /* struct copy */ in xfs_attr_leaf_compact() 1098 INT_SET(hdr_d->firstused, ARCH_CONVERT, XFS_LBSIZE(mp)); in xfs_attr_leaf_compact() 1100 if (INT_ISZERO(hdr_d->firstused, ARCH_CONVERT)) { in xfs_attr_leaf_compact() 1101 INT_SET(hdr_d->firstused, ARCH_CONVERT, in xfs_attr_leaf_compact() 1104 INT_ZERO(hdr_d->usedbytes, ARCH_CONVERT); in xfs_attr_leaf_compact() 1105 INT_ZERO(hdr_d->count, ARCH_CONVERT); in xfs_attr_leaf_compact() 1106 hdr_d->holes = 0; in xfs_attr_leaf_compact() 1107 INT_SET(hdr_d->freemap[0].base, ARCH_CONVERT, in xfs_attr_leaf_compact() [all …]
|