Searched refs:freehdr (Results 1 – 2 of 2) sorted by relevance
347 struct xfs_dir3_icfree_hdr freehdr; in xfs_dir2_leaf_to_node() local369 xfs_dir3_free_hdr_from_disk(&freehdr, free); in xfs_dir2_leaf_to_node()390 freehdr.nused = n; in xfs_dir2_leaf_to_node()391 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()393 xfs_dir3_free_hdr_to_disk(fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node()394 xfs_dir2_free_log_bests(tp, fbp, 0, freehdr.nvalid - 1); in xfs_dir2_leaf_to_node()1118 struct xfs_dir3_icfree_hdr freehdr; in xfs_dir3_data_block_free() local1120 xfs_dir3_free_hdr_from_disk(&freehdr, free); in xfs_dir3_data_block_free()1134 freehdr.nused--; in xfs_dir3_data_block_free()1141 if (findex == freehdr.nvalid - 1) { in xfs_dir3_data_block_free()[all …]
2118 struct xfs_dir3_icfree_hdr freehdr; in xfs_dir2_node_to_leaf() local2180 xfs_dir3_free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_to_leaf()2182 ASSERT(!freehdr.firstdb); in xfs_dir2_node_to_leaf()2188 if (xfs_dir3_leaf_size(&leafhdr, freehdr.nvalid) > mp->m_dirblksize) { in xfs_dir2_node_to_leaf()2209 ltp->bestcount = cpu_to_be32(freehdr.nvalid); in xfs_dir2_node_to_leaf()2215 freehdr.nvalid * sizeof(xfs_dir2_data_off_t)); in xfs_dir2_node_to_leaf()