Lines Matching defs:blocks

244 	xfs_agblock_t		blocks;
253 error = xfs_btree_count_blocks(cur, &blocks);
257 btreeblks = blocks - 1;
264 error = xfs_btree_count_blocks(cur, &blocks);
268 btreeblks += blocks - 1;
272 error = xfs_btree_count_blocks(cur, &blocks);
276 agf->agf_rmap_blocks = cpu_to_be32(blocks);
277 btreeblks += blocks - 1;
285 error = xfs_btree_count_blocks(cur, &blocks);
289 agf->agf_refcount_blocks = cpu_to_be32(blocks);
382 * Load the AGFL so that we can screen out OWN_AG blocks that are on
383 * the AGFL now; these blocks might have once been part of the
395 * Spot-check the AGFL blocks; if they're obviously corrupt then
431 /* Bitmap of other OWN_AG metadata blocks. */
454 /* Record all the OWN_AG blocks. */
468 * which blocks belong to the AGFL.
470 * Compute the set of old AGFL blocks by subtracting from the list of OWN_AG
471 * blocks the list of blocks owned by all other OWN_AG metadata (bnobt, cntbt,
472 * rmapbt). These are the old AGFL blocks, so return that list and the number
473 * of blocks we're actually going to put back on the AGFL.
498 /* Find all blocks currently being used by the bnobt. */
506 /* Find all blocks currently being used by the cntbt. */
516 * Drop the freesp meta blocks that are in use by btrees.
517 * The remaining blocks /should/ be AGFL blocks.
525 * Calculate the new AGFL size. If we found more blocks than fit in
592 * Fill the AGFL with the remaining blocks. If agfl_extents has more
593 * blocks than fit in the AGFL, they will be freed in a subsequent
814 xfs_agblock_t blocks;
816 error = xfs_btree_count_blocks(cur, &blocks);
819 agi->agi_iblocks = cpu_to_be32(blocks);
828 xfs_agblock_t blocks;
834 error = xfs_btree_count_blocks(cur, &blocks);
838 agi->agi_fblocks = cpu_to_be32(blocks);