Home
last modified time | relevance | path

Searched refs:blocks_count (Results 1 – 12 of 12) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dsparse_io.c44 uint64_t blocks_count; member
53 uint64_t blocks_count; member
64 for (i = 0; i < sm->blocks_count; ++i) in free_sparse_blocks()
104 sm->blocks_count = (sparse_file_len(sparse_file, 0, 0) - 1) in io_manager_import_sparse()
106 sm->blocks = calloc(sm->blocks_count, sizeof(char*)); in io_manager_import_sparse()
140 if (!params->block_size || !params->blocks_count) { in io_manager_configure()
145 sm->blocks_count = params->blocks_count; in io_manager_configure()
146 sm->blocks = calloc(params->blocks_count, sizeof(void*)); in io_manager_configure()
153 img_size = (uint64_t)sm->block_size * sm->blocks_count; in io_manager_configure()
212 sparse_params->blocks_count = 0; in read_sparse_argv()
[all …]
Dext2_fs.h357 __u32 blocks_count; /* Total number of blocks in this group */ member
367 __u32 blocks_count; /* Total number of blocks in this group */ member
/external/e2fsprogs/resize/
Donline.c240 input.blocks_count = ext2fs_group_blocks_count(new_fs, i); in online_resize_fs()
241 input.reserved_blocks = (blk_t) (percent * input.blocks_count in online_resize_fs()
250 printf("new group has %u blocks\n", input.blocks_count); in online_resize_fs()
271 input64.blocks_count = input.blocks_count; in online_resize_fs()
/external/f2fs-tools/lib/
Dlibf2fs_io.c38 u_int64_t blocks_count; variable
303 blocks_count = c.device_size / F2FS_BLKSIZE; in f2fs_init_sparse_file()
304 blocks = calloc(blocks_count, sizeof(char *)); in f2fs_init_sparse_file()
338 for (j = 0; j < blocks_count; ++j) { in f2fs_finalize_device()
356 blocks_count - chunk_start); in f2fs_finalize_device()
364 for (j = 0; j < blocks_count; j++) in f2fs_finalize_device()
/external/e2fsprogs/contrib/android/
De2fsdroid.c210 blk64_t blocks_count; in main() local
359 blocks_count = ext2fs_blocks_count(fs->super); in main()
371 blocks_count - free_blocks_count, blocks_count); in main()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Ddlrr.cc45 size_t blocks_count = block_length_32bits / 3; in Parse() local
47 sub_blocks_.resize(blocks_count); in Parse()
/external/e2fsprogs/debugfs/
De2freefrag.c116 unsigned long long blocks_count = ext2fs_blocks_count(fs->super); in scan_block_bitmap() local
117 unsigned long long chunks = (blocks_count + info->blks_in_chunk) >> in scan_block_bitmap()
129 if (chunk_start_blk + info->blks_in_chunk > blocks_count) in scan_block_bitmap()
130 num_blks = blocks_count - chunk_start_blk; in scan_block_bitmap()
/external/e2fsprogs/misc/
De2freefrag.c116 unsigned long long blocks_count = ext2fs_blocks_count(fs->super); in scan_block_bitmap() local
117 unsigned long long chunks = (blocks_count + info->blks_in_chunk) >> in scan_block_bitmap()
129 if (chunk_start_blk + info->blks_in_chunk > blocks_count) in scan_block_bitmap()
130 num_blks = blocks_count - chunk_start_blk; in scan_block_bitmap()
/external/e2fsprogs/ext2ed/
Dfile_com.c37 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info()
79 if (file_info.block_num+block_offset >= file_info.blocks_count) { in type_file___nextblock()
211 if (block_offset < 0 || block_offset >= file_info.blocks_count) { in type_file___block()
387 wprintw (show_win,"File block %ld of %ld. ",file_info.block_num,file_info.blocks_count-1); in show_status()
Dext2ed.h135 long block_num,blocks_count; member
Ddir_com.c67 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_dir_info()
/external/toybox/toys/pending/
Dmke2fs.c108 uint32_t blocks_count; // Blocks count member
383 sb->blocks_count = SWAP_LE32(TT.blocks); in init_superblock()