Lines Matching full:indirect

187 	/* Size of indirect block */  in befs_count_blocks()
189 metablocks += ds->indirect.len; in befs_count_blocks()
192 * Double indir block, plus all the indirect blocks it maps. in befs_count_blocks()
193 * In the double-indirect range, all block runs of data are in befs_count_blocks()
195 * how many data block runs are in the double-indirect region, 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()
243 * as in the indirect region code).
291 * blockno is in the indirect region of the datastream.
297 * For each block in the indirect run of the datastream, read
301 * Really should check to make sure blockno is inside indirect
317 befs_block_run indirect = data->indirect; in befs_find_brun_indirect() local
318 befs_blocknr_t indirblockno = iaddr2blockno(sb, &indirect); in befs_find_brun_indirect()
326 /* Examine blocks of the indirect run one at a time */ in befs_find_brun_indirect()
327 for (i = 0; i < indirect.len; i++) { in befs_find_brun_indirect()
331 "disk block %lu from the indirect brun", in befs_find_brun_indirect()
354 "%lu at indirect[%d]", __func__, in befs_find_brun_indirect()
382 * blockno is in the double-indirect region of the datastream.
388 * The block runs in the double-indirect region are different.
392 * double-indirect region we need to go to get to the one that
396 * inode addresses in the double-indirect block will point us
397 * to the indirect block that contains the mapping for the data,
399 * indirect block maps the data block we are after.
403 * though the double-indirect run may be several blocks long,
406 * the indirect block and perform a similar process to find
439 * the indirect block pointed to by the double indirect block in befs_find_brun_dblindirect()
444 * the double indirect block in befs_find_brun_dblindirect()
454 * the indirect block contains pos. in befs_find_brun_dblindirect()
461 /* Read double indirect block */ in befs_find_brun_dblindirect()
464 befs_error(sb, "The double-indirect index calculated by " in befs_find_brun_dblindirect()
466 "of the double-indirect block", __func__, in befs_find_brun_dblindirect()
476 "double-indirect block at blockno %lu", __func__, in befs_find_brun_dblindirect()
489 /* Read indirect block */ in befs_find_brun_dblindirect()
492 befs_error(sb, "The indirect index calculated by " in befs_find_brun_dblindirect()
494 "of the indirect block", __func__, indir_indx); in befs_find_brun_dblindirect()
501 befs_error(sb, "%s couldn't read the indirect block " in befs_find_brun_dblindirect()