Lines Matching refs:block_size
78 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
82 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); in read_ext()
85 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) in read_ext()
91 printf(" Block size: %d\n", info.block_size); in read_ext()
125 block_bitmap = malloc(info.block_size); in build_sparse_ext()
131 info.block_size * aux_info.first_data_block, 0); in build_sparse_ext()
137 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap, in build_sparse_ext()
142 ret = read(fd, block_bitmap, info.block_size); in build_sparse_ext()
145 if (ret != (int)info.block_size) in build_sparse_ext()
156 (u64)info.block_size * start_block, in build_sparse_ext()
157 info.block_size * len_blocks, start_block); in build_sparse_ext()
170 (u64)info.block_size * start_block, in build_sparse_ext()
171 info.block_size * len_blocks, start_block); in build_sparse_ext()
234 info.sparse_file = sparse_file_new(info.block_size, info.len); in main()