Searched refs:total_sectors (Results 1 – 7 of 7) sorted by relevance
190 dev->nr_zones = dev->total_sectors / sectors; in f2fs_get_zone_blocks()191 if (dev->total_sectors % sectors) in f2fs_get_zone_blocks()232 u_int64_t total_sectors = (dev->total_sectors * c.sector_size) in f2fs_report_zones() local243 while (sector < total_sectors) { in f2fs_report_zones()285 u_int64_t total_sectors; in f2fs_check_zones() local305 total_sectors = (dev->total_sectors * c.sector_size) >> 9; in f2fs_check_zones()307 while (sector < total_sectors) { in f2fs_check_zones()326 for (i = 0; i < rep->nr_zones && sector < total_sectors; i++) { in f2fs_check_zones()378 if (sector != total_sectors) { in f2fs_check_zones()381 (unsigned long long)dev->total_sectors); in f2fs_check_zones()[all …]
880 uint32_t total_sectors; in get_device_info() local951 dev->total_sectors = c.device_size / dev->sector_size; in get_device_info()953 dev->total_sectors = stat_buf->st_size / dev->sector_size; in get_device_info()962 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()968 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) { in get_device_info()973 dev->total_sectors = total_sectors; in get_device_info()975 dev->total_sectors /= dev->sector_size; in get_device_info()1066 c.total_sectors += dev->total_sectors; in get_device_info()1157 dev->total_sectors = device_size / dev->sector_size; in get_device_info()1161 c.total_sectors += dev->total_sectors; in get_device_info()[all …]
55 u_int64_t bytes = dev->total_sectors * dev->sector_size; in trim_device()
240 set_sb(block_count, c.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()275 (c.devices[i].total_sectors * in f2fs_prepare_super_block()284 c.devices[i].total_sectors / in f2fs_prepare_super_block()448 (c.devices[0].total_sectors * in f2fs_prepare_super_block()
787 c.target_sectors = c.total_sectors; in do_resize()789 if (c.target_sectors > c.total_sectors) { in do_resize()791 c.target_sectors, c.total_sectors); in do_resize()
990 u64 total_sectors; in init_sb_info() local1039 total_sectors = get_sb(block_count) << sbi->log_sectors_per_block; in init_sb_info()1041 total_sectors, total_sectors >> in init_sb_info()
325 u_int64_t total_sectors; /* got by get_device_info */ member365 u_int64_t total_sectors; member