Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs_zoned.c188 dev->nr_zones = dev->total_sectors / sectors; in f2fs_get_zone_blocks()
189 if (dev->total_sectors % sectors) in f2fs_get_zone_blocks()
230 u_int64_t total_sectors = (dev->total_sectors * c.sector_size) in f2fs_report_zones() local
241 while (sector < total_sectors) { in f2fs_report_zones()
283 u_int64_t total_sectors; in f2fs_check_zones() local
303 total_sectors = (dev->total_sectors * c.sector_size) >> 9; in f2fs_check_zones()
305 while (sector < total_sectors) { in f2fs_check_zones()
324 for (i = 0; i < rep->nr_zones && sector < total_sectors; i++) { in f2fs_check_zones()
376 if (sector != total_sectors) { in f2fs_check_zones()
379 (unsigned long long)dev->total_sectors); in f2fs_check_zones()
[all …]
Dlibf2fs.c883 uint32_t total_sectors; in get_device_info() local
954 dev->total_sectors = c.device_size / dev->sector_size; in get_device_info()
956 dev->total_sectors = stat_buf->st_size / dev->sector_size; in get_device_info()
965 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()
971 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) { in get_device_info()
976 dev->total_sectors = total_sectors; in get_device_info()
978 dev->total_sectors /= dev->sector_size; in get_device_info()
1069 c.total_sectors += dev->total_sectors; in get_device_info()
1160 dev->total_sectors = device_size / dev->sector_size; in get_device_info()
1164 c.total_sectors += dev->total_sectors; in get_device_info()
[all …]
/external/blktrace/btt/
Dseek.c41 double total_sectors; member
215 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/mkfs/
Df2fs_format_utils.c55 u_int64_t bytes = dev->total_sectors * dev->sector_size; in trim_device()
Df2fs_format.c245 set_sb(block_count, c.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()
269 (c.devices[0].total_sectors * c.sector_size) % zone_size_bytes; in f2fs_prepare_super_block()
291 (c.devices[i].total_sectors * in f2fs_prepare_super_block()
300 c.devices[i].total_sectors / in f2fs_prepare_super_block()
473 (c.devices[0].total_sectors * in f2fs_prepare_super_block()
/external/f2fs-tools/fsck/
Dmain.c973 c.target_sectors = c.total_sectors; in do_resize()
975 if (c.target_sectors > c.total_sectors) { in do_resize()
977 c.target_sectors, c.total_sectors); in do_resize()
Dmount.c1003 u64 total_sectors; in init_sb_info() local
1052 total_sectors = get_sb(block_count) << sbi->log_sectors_per_block; in init_sb_info()
1054 total_sectors, total_sectors >> in init_sb_info()
/external/f2fs-tools/include/
Df2fs_fs.h376 u_int64_t total_sectors; /* got by get_device_info */ member
457 u_int64_t total_sectors; member