Lines Matching refs:sector_size
198 uint64_t sector_size; member
1602 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()
3407 r = fdisk_partition_set_start(q, p->offset / context->sector_size); in context_mangle_partitions()
3411 r = fdisk_partition_set_size(q, p->new_size / context->sector_size); in context_mangle_partitions()