Lines Matching refs:free
251 xfs_dir2_free_t *free; /* freespace structure */ in xfs_dir2_free_log_bests() local
254 free = bp->b_addr; in xfs_dir2_free_log_bests()
255 bests = args->dp->d_ops->free_bests_p(free); in xfs_dir2_free_log_bests()
256 ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || in xfs_dir2_free_log_bests()
257 free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); in xfs_dir2_free_log_bests()
259 (uint)((char *)&bests[first] - (char *)free), in xfs_dir2_free_log_bests()
260 (uint)((char *)&bests[last] - (char *)free + in xfs_dir2_free_log_bests()
273 xfs_dir2_free_t *free; /* freespace structure */ in xfs_dir2_free_log_header() local
275 free = bp->b_addr; in xfs_dir2_free_log_header()
276 ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || in xfs_dir2_free_log_header()
277 free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); in xfs_dir2_free_log_header()
297 xfs_dir2_free_t *free; /* freespace structure */ in xfs_dir2_leaf_to_node() local
326 free = fbp->b_addr; in xfs_dir2_leaf_to_node()
327 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_leaf_to_node()
338 to = dp->d_ops->free_bests_p(free); in xfs_dir2_leaf_to_node()
524 xfs_dir2_free_t *free = NULL; /* free block structure */ in xfs_dir2_leafn_lookup_for_addname() local
557 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
558 ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || in xfs_dir2_leafn_lookup_for_addname()
559 free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); in xfs_dir2_leafn_lookup_for_addname()
611 free = curbp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
622 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_leafn_lookup_for_addname()
1072 struct xfs_dir2_free *free, in xfs_dir3_data_block_free() argument
1083 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir3_data_block_free()
1084 bests = dp->d_ops->free_bests_p(free); in xfs_dir3_data_block_free()
1118 dp->d_ops->free_hdr_to_disk(free, &freehdr); in xfs_dir3_data_block_free()
1238 xfs_dir2_free_t *free; /* freeblock structure */ in xfs_dir2_leafn_remove() local
1250 free = fbp->b_addr; in xfs_dir2_leafn_remove()
1254 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_leafn_remove()
1291 error = xfs_dir3_data_block_free(args, hdr, free, in xfs_dir2_leafn_remove()
1656 xfs_dir2_free_t *free=NULL; /* freespace block structure */ in xfs_dir2_node_addname_int() local
1685 free = fbp->b_addr; in xfs_dir2_node_addname_int()
1687 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1688 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_addname_int()
1770 free = fbp->b_addr; in xfs_dir2_node_addname_int()
1781 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1782 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_addname_int()
1879 free = fbp->b_addr; in xfs_dir2_node_addname_int()
1880 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1881 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_addname_int()
1891 free = fbp->b_addr; in xfs_dir2_node_addname_int()
1892 bests = dp->d_ops->free_bests_p(free); in xfs_dir2_node_addname_int()
1893 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_addname_int()
1990 bests = dp->d_ops->free_bests_p(free); /* gcc is so stupid */ in xfs_dir2_node_addname_int()
2232 xfs_dir2_free_t *free; /* freespace structure */ in xfs_dir2_node_trim_free() local
2250 free = bp->b_addr; in xfs_dir2_node_trim_free()
2251 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_trim_free()