Lines Matching defs:blocks
161 * befs_count_blocks - blocks used by a file
165 * Counts the number of fs blocks that the file represented by
174 befs_blocknr_t blocks;
175 befs_blocknr_t datablocks; /* File data blocks */
176 befs_blocknr_t metablocks; /* FS metadata blocks */
192 * Double indir block, plus all the indirect blocks it maps.
194 * BEFS_DBLINDIR_BRUN_LEN blocks long. Therefore, we know
196 * and from that we know how many indirect blocks it takes to
197 * map them. We assume that the indirect blocks are also
198 * BEFS_DBLINDIR_BRUN_LEN blocks long.
215 blocks = datablocks + metablocks;
216 befs_debug(sb, "<--- %s %u blocks", __func__, (unsigned int)blocks);
218 return blocks;
239 * keeps a count of the number of blocks searched so far (sum),
326 /* Examine blocks of the indirect run one at a time */
389 * They are always allocated 4 fs blocks at a time, so each
401 * Oh, and once we've done that, we actually read in the blocks
403 * though the double-indirect run may be several blocks long,
404 * we can calculate which of those blocks will contain the index
438 /* number of data blocks mapped by each of the iaddrs in
443 /* number of data blocks mapped by each of the iaddrs in
451 /* First, discover which of the double_indir->indir blocks