Lines Matching full: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; in befs_count_blocks() local
175 befs_blocknr_t datablocks; /* File data blocks */ in befs_count_blocks()
176 befs_blocknr_t metablocks; /* FS metadata blocks */ in befs_count_blocks()
192 * Double indir block, plus all the indirect blocks it maps. in befs_count_blocks()
194 * BEFS_DBLINDIR_BRUN_LEN blocks long. Therefore, we know in befs_count_blocks()
196 * and from that we know how many indirect blocks it takes to in befs_count_blocks()
197 * map them. We assume that the indirect blocks are also in befs_count_blocks()
198 * BEFS_DBLINDIR_BRUN_LEN blocks long. in befs_count_blocks()
215 blocks = datablocks + metablocks; in befs_count_blocks()
216 befs_debug(sb, "<--- %s %u blocks", __func__, (unsigned int)blocks); in befs_count_blocks()
218 return blocks; in befs_count_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 */ in befs_find_brun_indirect()
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 in befs_find_brun_dblindirect()
443 /* number of data blocks mapped by each of the iaddrs in in befs_find_brun_dblindirect()
451 /* First, discover which of the double_indir->indir blocks in befs_find_brun_dblindirect()