Lines Matching refs:sector_size
351 c->sector_size = DEFAULT_SECTOR_SIZE; in f2fs_init_configuration()
435 uint32_t sector_size; in f2fs_get_device_info() local
460 c->total_sectors = stat_buf.st_size / c->sector_size; in f2fs_get_device_info()
462 if (ioctl(fd, BLKSSZGET, §or_size) < 0) { in f2fs_get_device_info()
465 if (c->sector_size < sector_size) { in f2fs_get_device_info()
466 c->sector_size = sector_size; in f2fs_get_device_info()
467 c->sectors_per_blk = PAGE_SIZE / sector_size; in f2fs_get_device_info()
476 c->total_sectors /= c->sector_size; in f2fs_get_device_info()
482 total_sectors /= c->sector_size; in f2fs_get_device_info()
495 c->total_sectors, c->sector_size); in f2fs_get_device_info()
499 MSG(0, "Info: sector size = %u\n", c->sector_size); in f2fs_get_device_info()
501 c->total_sectors, c->sector_size); in f2fs_get_device_info()
503 (F2FS_MIN_VOLUME_SIZE / c->sector_size)) { in f2fs_get_device_info()