Home
last modified time | relevance | path

Searched refs:total_sectors (Results 1 – 6 of 6) sorted by relevance

/external/f2fs-tools/lib/
Dlibf2fs.c350 c->total_sectors = 0; in f2fs_init_configuration()
437 uint32_t total_sectors; in f2fs_get_device_info() local
441 u_int64_t wanted_total_sectors = c->total_sectors; in f2fs_get_device_info()
460 c->total_sectors = stat_buf.st_size / c->sector_size; in f2fs_get_device_info()
472 if (ioctl(fd, BLKGETSIZE64, &c->total_sectors) < 0) { in f2fs_get_device_info()
476 c->total_sectors /= c->sector_size; in f2fs_get_device_info()
478 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) { in f2fs_get_device_info()
482 total_sectors /= c->sector_size; in f2fs_get_device_info()
483 c->total_sectors = total_sectors; in f2fs_get_device_info()
493 if (wanted_total_sectors && wanted_total_sectors < c->total_sectors) { in f2fs_get_device_info()
[all …]
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c39 range[1] = config.total_sectors * config.sector_size; in f2fs_trim_device()
61 config.total_sectors); in f2fs_trim_device()
Df2fs_format_main.c105 config.total_sectors = atoll(argv[optind+1]); in f2fs_parse_options()
107 config.total_sectors, argv[optind+1]); in f2fs_parse_options()
Df2fs_format.c198 set_sb(block_count, config.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()
214 set_sb(segment_count, (config.total_sectors * config.sector_size - in f2fs_prepare_super_block()
/external/blktrace/btt/
Dseek.c41 double total_sectors; member
216 sip->total_sectors = 0.0; in seeki_alloc()
266 sip->total_sectors += dist; in seeki_add()
280 return sip->total_sectors / sip->tot_seeks; in seeki_mean()
/external/f2fs-tools/include/
Df2fs_fs.h235 u_int64_t total_sectors; member