Lines Matching refs:num_blocks
272 blk64_t *num_blocks) in check_for_inode_bad_blocks() argument
307 *num_blocks = 1; in check_for_inode_bad_blocks()
319 if ((blk + *num_blocks) > bb->list[scan->bad_block_ptr]) in check_for_inode_bad_blocks()
320 *num_blocks = (int) (bb->list[scan->bad_block_ptr] - blk); in check_for_inode_bad_blocks()
331 blk64_t num_blocks; in get_next_blocks() local
339 num_blocks = scan->inode_buffer_blocks; in get_next_blocks()
340 if (num_blocks > scan->blocks_left) in get_next_blocks()
341 num_blocks = scan->blocks_left; in get_next_blocks()
357 retval = check_for_inode_bad_blocks(scan, &num_blocks); in get_next_blocks()
365 (size_t) num_blocks * scan->fs->blocksize); in get_next_blocks()
369 (int) num_blocks, in get_next_blocks()
375 scan->bytes_left = num_blocks * scan->fs->blocksize; in get_next_blocks()
377 scan->blocks_left -= num_blocks; in get_next_blocks()
379 scan->current_block += num_blocks; in get_next_blocks()