Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_int.h513 s32 meta_dev_idx; member
1729 switch (bdev->md.meta_dev_idx) { in drbd_md_first_sector()
1745 switch (bdev->md.meta_dev_idx) { in drbd_md_last_sector()
1773 switch (bdev->md.meta_dev_idx) { in drbd_get_max_capacity()
1802 const int meta_dev_idx = bdev->md.meta_dev_idx; in drbd_md_ss() local
1804 if (meta_dev_idx == DRBD_MD_INDEX_FLEX_EXT) in drbd_md_ss()
1809 if (meta_dev_idx == DRBD_MD_INDEX_INTERNAL || in drbd_md_ss()
1810 meta_dev_idx == DRBD_MD_INDEX_FLEX_INT) in drbd_md_ss()
1814 return MD_128MB_SECT * bdev->md.meta_dev_idx; in drbd_md_ss()
Ddrbd_nl.c836 switch (bdev->md.meta_dev_idx) { in drbd_md_set_sector_offsets()
1681 (new_disk_conf->meta_dev_idx < 0) ? (void*)device : (void*)drbd_m_holder, in open_backing_devices()
1684 (new_disk_conf->meta_dev_idx != DRBD_MD_INDEX_FLEX_INT && in open_backing_devices()
1685 new_disk_conf->meta_dev_idx != DRBD_MD_INDEX_INTERNAL)); in open_backing_devices()
1800 if (new_disk_conf->meta_dev_idx < DRBD_MD_INDEX_FLEX_INT) { in drbd_adm_attach()
1821 (new_disk_conf->meta_dev_idx == DRBD_MD_INDEX_INTERNAL || in drbd_adm_attach()
1822 new_disk_conf->meta_dev_idx == DRBD_MD_INDEX_FLEX_INT)) { in drbd_adm_attach()
1851 if (new_disk_conf->meta_dev_idx < 0) { in drbd_adm_attach()
1857 min_md_device_sectors = MD_128MB_SECT * (new_disk_conf->meta_dev_idx + 1); in drbd_adm_attach()
1881 if (new_disk_conf->meta_dev_idx >= 0) in drbd_adm_attach()
Ddrbd_main.c3138 if (in_core->meta_dev_idx >= 0) { in check_offsets_and_sizes()
3177 in_core->meta_dev_idx, in check_offsets_and_sizes()
3213 bdev->md.meta_dev_idx = bdev->disk_conf->meta_dev_idx; in drbd_md_read()
Ddrbd_bitmap.c980 switch (bdev->md.meta_dev_idx) { in drbd_md_last_bitmap_sector()
/linux-6.12.1/include/linux/
Ddrbd_genl.h108 __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)