Searched refs:sector_size (Results 1 – 5 of 5) sorted by relevance
40 int sector_size; in probe_smart_media() local56 sector_size = info->writesize; in probe_smart_media()60 if (!IN_SET(sector_size, SM_SECTOR_SIZE, SM_SMALL_PAGE)) in probe_smart_media()62 "Unexpected sector size: %i", sector_size); in probe_smart_media()77 for (offset = 0; offset < block_size * spare_count; offset += sector_size) { in probe_smart_media()
404 __le32 sector_size; member457 __le32 sector_size; member
198 uint64_t sector_size; member1602 context->sector_size = 512; in context_load_partition_table()1894 context->sector_size = secsz; in context_load_partition_table()2397 range[0] = round_up_size(offset, context->sector_size); in context_discard_range()2406 range[1] = round_down_size(end - range[0], context->sector_size); in context_discard_range()2616 .sector_size = context->sector_size, in partition_encrypt()3336 assert(p->new_size % context->sector_size == 0); in context_mangle_partitions()3342 … r = fdisk_partition_set_size(p->current_partition, p->new_size / context->sector_size); in context_mangle_partitions()3382 assert(p->offset % context->sector_size == 0); in context_mangle_partitions()3383 assert(p->new_size % context->sector_size == 0); in context_mangle_partitions()[all …]
1603 .sector_size = arg_sector_size, in attach_luks_or_plain_or_bitlk()
1766 .sector_size = 512U, in luks_format()