Home
last modified time | relevance | path

Searched refs:sector_size (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/udev/mtd_probe/
Dprobe_smartmedia.c40 int sector_size; in probe_smart_media() local
56 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()
/systemd-251/src/basic/linux/
Dbtrfs_tree.h404 __le32 sector_size; member
457 __le32 sector_size; member
/systemd-251/src/partition/
Drepart.c198 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()
[all …]
/systemd-251/src/cryptsetup/
Dcryptsetup.c1603 .sector_size = arg_sector_size, in attach_luks_or_plain_or_bitlk()
/systemd-251/src/home/
Dhomework-luks.c1766 .sector_size = 512U, in luks_format()