Lines Matching defs:indirect
187 /* Size of indirect block */
189 metablocks += ds->indirect.len;
192 * Double indir block, plus all the indirect blocks it maps.
193 * In the double-indirect range, all block runs of data are
195 * how many data block runs are in the double-indirect region,
196 * and from that we know how many indirect blocks it takes to
197 * map them. We assume that the indirect blocks are also
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;
318 befs_blocknr_t indirblockno = iaddr2blockno(sb, &indirect);
326 /* Examine blocks of the indirect run one at a time */
327 for (i = 0; i < indirect.len; i++) {
331 "disk block %lu from the indirect brun",
354 "%lu at indirect[%d]", __func__,
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
444 * the double indirect block
454 * the indirect block contains pos.
461 /* Read double indirect block */
464 befs_error(sb, "The double-indirect index calculated by "
466 "of the double-indirect block", __func__,
476 "double-indirect block at blockno %lu", __func__,
489 /* Read indirect block */
492 befs_error(sb, "The indirect index calculated by "
494 "of the indirect block", __func__, indir_indx);
501 befs_error(sb, "%s couldn't read the indirect block "