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.h359 __u32 blocks_count; /* Total number of blocks in this group */ member
369 __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/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Ddlrr.cc53 size_t blocks_count = block_length_32bits / 3; in Parse() local
55 sub_blocks_.resize(blocks_count); in Parse()
/external/e2fsprogs/contrib/android/
De2fsdroid.c211 blk64_t blocks_count; in main() local
361 blocks_count = ext2fs_blocks_count(fs->super); in main()
373 blocks_count - free_blocks_count, blocks_count); in main()
/external/f2fs-tools/lib/
Dlibf2fs_io.c46 u_int64_t blocks_count; variable
671 blocks_count = c.device_size / F2FS_BLKSIZE; in f2fs_init_sparse_file()
672 blocks = calloc(blocks_count, sizeof(char *)); in f2fs_init_sparse_file()
702 for (j = 0; j < blocks_count; j++) in f2fs_release_sparse_resource()
733 for (j = 0; j < blocks_count; ++j) { in f2fs_finalize_device()
771 blocks_count - chunk_start, 0); in f2fs_finalize_device()
/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/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/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()