Searched refs:freehdr (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_dir2_node.c | 356 struct xfs_dir3_icfree_hdr freehdr; in xfs_dir2_leaf_to_node() local 377 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_leaf_to_node() 399 freehdr.nused = n; in xfs_dir2_leaf_to_node() 400 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node() 402 dp->d_ops->free_hdr_to_disk(fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node() 403 xfs_dir2_free_log_bests(args, fbp, 0, freehdr.nvalid - 1); in xfs_dir2_leaf_to_node() 1130 struct xfs_dir3_icfree_hdr freehdr; in xfs_dir3_data_block_free() local 1133 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir3_data_block_free() 1146 freehdr.nused--; in xfs_dir3_data_block_free() 1153 if (findex == freehdr.nvalid - 1) { in xfs_dir3_data_block_free() [all …]
|
D | xfs_dir2_leaf.c | 1714 struct xfs_dir3_icfree_hdr freehdr; in xfs_dir2_node_to_leaf() local 1776 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_node_to_leaf() 1778 ASSERT(!freehdr.firstdb); in xfs_dir2_node_to_leaf() 1784 if (xfs_dir3_leaf_size(&leafhdr, freehdr.nvalid) > args->geo->blksize) { in xfs_dir2_node_to_leaf() 1805 ltp->bestcount = cpu_to_be32(freehdr.nvalid); in xfs_dir2_node_to_leaf() 1811 freehdr.nvalid * sizeof(xfs_dir2_data_off_t)); in xfs_dir2_node_to_leaf()
|
/linux-4.19.296/fs/xfs/scrub/ |
D | dir.c | 582 struct xfs_dir3_icfree_hdr freehdr; in xchk_directory_free_bestfree() local 605 sc->ip->d_ops->free_hdr_from_disk(&freehdr, bp->b_addr); in xchk_directory_free_bestfree() 607 for (i = 0; i < freehdr.nvalid; i++, bestp++) { in xchk_directory_free_bestfree() 614 (freehdr.firstdb + i) * args->geo->fsbcount, in xchk_directory_free_bestfree() 623 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
|