• Home
  • Raw
  • Download

Lines Matching refs:num_sectors

225 	long long num_sectors;		/* size of device in sectors */  member
585 opts2->num_sectors = -1; in mkntfs_init_options()
643 &opts2->num_sectors)) in mkntfs_parse_options()
3499 if (!opts.num_sectors) { in mkntfs_open_partition()
3506 opts.num_sectors = sbuf.st_size / opts.sector_size; in mkntfs_open_partition()
3508 opts.num_sectors = ((s64)sbuf.st_blocks << 9) / opts.sector_size; in mkntfs_open_partition()
3511 opts.num_sectors = sbuf.st_size / 512; in mkntfs_open_partition()
3513 opts.num_sectors = sbuf.st_blocks; in mkntfs_open_partition()
3607 if (opts.num_sectors < 0) { in mkntfs_override_vol_params()
3608 opts.num_sectors = ntfs_device_size_get(vol->dev, in mkntfs_override_vol_params()
3610 if (opts.num_sectors <= 0) { in mkntfs_override_vol_params()
3617 ntfs_log_debug("number of sectors = %lld (0x%llx)\n", opts.num_sectors, in mkntfs_override_vol_params()
3618 opts.num_sectors); in mkntfs_override_vol_params()
3627 opts.num_sectors -= i; in mkntfs_override_vol_params()
3700 volume_size = opts.num_sectors * opts.sector_size; in mkntfs_override_vol_params()
3786 if ((vol->nr_clusters != ((opts.num_sectors * opts.sector_size) / in mkntfs_override_vol_params()
3788 (volume_size / opts.sector_size) != opts.num_sectors || in mkntfs_override_vol_params()
3990 g_mftmirr_lcn = (opts.num_sectors * opts.sector_size >> 1) in mkntfs_initialize_rl_mft()
4350 if (g_vol->dev->d_ops->seek(g_vol->dev, (opts.num_sectors + 1) * in create_backup_boot_sector()
4663 bs->number_of_sectors = cpu_to_sle64(opts.num_sectors); in mkntfs_create_root_structures()