Lines Matching defs:blockno
25 befs_blocknr_t blockno, befs_block_run * run);
29 befs_blocknr_t blockno,
34 befs_blocknr_t blockno,
215 Finds the block run that starts at file block number blockno
217 blockno is in the direct region of the datastream.
221 blockno: the blocknumber to find
229 contains the blockno-th filesystem block. This is necessary
237 When/if blockno is found, if blockno is inside of a block
239 of the block run, so that blockno is the start and len is
246 befs_blocknr_t blockno, befs_block_run * run)
254 befs_debug(sb, "---> befs_find_brun_direct(), find %lu", blockno);
256 if (blockno > max_block) {
264 if (blockno >= sum && blockno < sum + (array[i].len)) {
265 int offset = blockno - sum;
271 "found %lu at direct[%d]", blockno, i);
282 befs_data_stream * data, befs_blocknr_t blockno,
296 befs_debug(sb, "---> befs_find_brun_indirect(), find %lu", blockno);
299 search_blk = blockno - indir_start_blk;
330 blockno, j + (i * arraylen));
341 "file block %lu", blockno);
348 Finds the block run that starts at file block number blockno
350 blockno is in the double-indirect region of the datastream.
354 blockno: the blocknumber to find
390 befs_data_stream * data, befs_blocknr_t blockno,
411 off_t dbl_indir_off = blockno - indir_start_blk;
424 befs_debug(sb, "---> befs_find_brun_dblindirect() find %lu", blockno);
450 "double-indirect block at blockno %lu",
478 "indirect block at blockno %lu",
493 offset = blockno - blockno_at_run_start;
500 blockno, dblindir_indx, indir_indx, dblindir_leftover);