Searched refs:total_sectors (Results 1 – 7 of 7) sorted by relevance
200 dev->nr_zones = dev->total_sectors / sectors; in f2fs_get_zone_blocks()201 if (dev->total_sectors % sectors) in f2fs_get_zone_blocks()242 uint64_t total_sectors = (dev->total_sectors * c.sector_size) in f2fs_report_zones() local253 while (sector < total_sectors) { in f2fs_report_zones()295 uint64_t total_sectors; in f2fs_check_zones() local315 total_sectors = (dev->total_sectors * c.sector_size) >> 9; in f2fs_check_zones()317 while (sector < total_sectors) { in f2fs_check_zones()336 for (i = 0; i < rep->nr_zones && sector < total_sectors; i++) { in f2fs_check_zones()388 if (sector != total_sectors) { in f2fs_check_zones()391 (unsigned long long)dev->total_sectors); in f2fs_check_zones()[all …]
895 uint32_t total_sectors; in get_device_info() local966 dev->total_sectors = c.device_size / dev->sector_size; in get_device_info()968 dev->total_sectors = stat_buf->st_size / dev->sector_size; in get_device_info()977 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()983 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) { in get_device_info()988 dev->total_sectors = total_sectors; in get_device_info()990 dev->total_sectors /= dev->sector_size; in get_device_info()1089 c.total_sectors += dev->total_sectors; in get_device_info()1180 dev->total_sectors = device_size / dev->sector_size; in get_device_info()1184 c.total_sectors += dev->total_sectors; in get_device_info()[all …]
58 uint64_t bytes = dev->total_sectors * dev->sector_size; in trim_device()
255 set_sb(block_count, c.total_sectors >> log_sectors_per_block); in f2fs_prepare_super_block()279 (c.devices[0].total_sectors * c.sector_size) % zone_size_bytes; in f2fs_prepare_super_block()301 (c.devices[i].total_sectors * in f2fs_prepare_super_block()310 c.devices[i].total_sectors / in f2fs_prepare_super_block()498 (c.devices[0].total_sectors * in f2fs_prepare_super_block()
1005 c.target_sectors = c.total_sectors; in do_resize()1007 if (c.target_sectors > c.total_sectors) { in do_resize()1009 c.target_sectors, c.total_sectors); in do_resize()
1074 u64 total_sectors; in init_sb_info() local1123 total_sectors = get_sb(block_count) << sbi->log_sectors_per_block; in init_sb_info()1127 total_sectors, total_sectors >> in init_sb_info()
395 uint64_t total_sectors; /* got by get_device_info */ member477 uint64_t total_sectors; member