Searched refs:total_sectors (Results 1 – 6 of 6) sorted by relevance
350 c->total_sectors = 0; in f2fs_init_configuration()437 uint32_t total_sectors; in f2fs_get_device_info() local441 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 …]
39 range[1] = config.total_sectors * config.sector_size; in f2fs_trim_device()61 config.total_sectors); in f2fs_trim_device()
105 config.total_sectors = atoll(argv[optind+1]); in f2fs_parse_options()107 config.total_sectors, argv[optind+1]); in f2fs_parse_options()
198 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()
41 double total_sectors; member216 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()
235 u_int64_t total_sectors; member