Lines Matching refs:num_blocks
273 blk_t *num_blocks) in check_for_inode_bad_blocks() argument
308 *num_blocks = 1; in check_for_inode_bad_blocks()
320 if ((blk + *num_blocks) > bb->list[scan->bad_block_ptr]) in check_for_inode_bad_blocks()
321 *num_blocks = (int) (bb->list[scan->bad_block_ptr] - blk); in check_for_inode_bad_blocks()
332 blk_t num_blocks; in get_next_blocks() local
340 num_blocks = scan->inode_buffer_blocks; in get_next_blocks()
341 if (num_blocks > scan->blocks_left) in get_next_blocks()
342 num_blocks = scan->blocks_left; in get_next_blocks()
358 retval = check_for_inode_bad_blocks(scan, &num_blocks); in get_next_blocks()
366 (size_t) num_blocks * scan->fs->blocksize); in get_next_blocks()
370 (int) num_blocks, in get_next_blocks()
376 scan->bytes_left = num_blocks * scan->fs->blocksize; in get_next_blocks()
378 scan->blocks_left -= num_blocks; in get_next_blocks()
380 scan->current_block += num_blocks; in get_next_blocks()