Lines Matching refs:blk64_t
58 #define NO_BLK ((blk64_t) -1)
76 static blk64_t source_offset, dest_offset;
82 static blk64_t align_offset(blk64_t offset, unsigned int n) in align_offset()
84 return (offset + n - 1) & ~((blk64_t) n - 1); in align_offset()
162 static void generic_write(int fd, void *buf, int blocksize, blk64_t block) in generic_write()
301 static blk64_t meta_blocks_count;
367 blk64_t *block_nr, in process_dir_block()
369 blk64_t ref_block EXT2FS_ATTR((unused)), in process_dir_block()
385 blk64_t *block_nr, in process_file_block()
387 blk64_t ref_block EXT2FS_ATTR((unused)), in process_file_block()
400 blk64_t first_block, b; in mark_table_blocks()
491 static void scramble_dir_block(ext2_filsys fs, blk64_t blk, char *buf) in scramble_dir_block()
565 static int print_progress(blk64_t num, blk64_t total) in print_progress()
574 blk64_t blk; in output_meta_data_blocks()
577 blk64_t start = 0; in output_meta_data_blocks()
578 blk64_t distance = 0; in output_meta_data_blocks()
579 blk64_t end = ext2fs_blocks_count(fs->super); in output_meta_data_blocks()
582 blk64_t total_written = 0; in output_meta_data_blocks()
847 static int init_refcount(struct ext2_qcow2_image *img, blk64_t table_offset) in init_refcount()
850 blk64_t table_clusters; in init_refcount()
889 blk64_t total_size, offset; in initialize_qcow2_image()
926 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); in initialize_qcow2_image()
1006 blk64_t seek = 0; in flush_l2_cache()
1063 static int add_l2_item(struct ext2_qcow2_image *img, blk64_t blk, in add_l2_item()
1064 blk64_t data, blk64_t next) in add_l2_item()
1068 blk64_t l1_index = blk / img->l2_size; in add_l2_item()
1069 blk64_t l2_index = blk & (img->l2_size - 1); in add_l2_item()
1091 blk64_t offset, blk64_t rfblk_pos) in update_refcount()
1151 blk64_t blk, offset, size, end; in output_qcow2_meta_data_blocks()