Lines Matching refs:meta_dev_idx
836 switch (bdev->md.meta_dev_idx) { in drbd_md_set_sector_offsets()
1687 (new_disk_conf->meta_dev_idx < 0) ? (void*)device : (void*)drbd_m_holder, in open_backing_devices()
1690 (new_disk_conf->meta_dev_idx != DRBD_MD_INDEX_FLEX_INT && in open_backing_devices()
1691 new_disk_conf->meta_dev_idx != DRBD_MD_INDEX_INTERNAL)); in open_backing_devices()
1714 ldev->md.meta_dev_idx < 0 ? in drbd_backing_dev_free()
1807 if (new_disk_conf->meta_dev_idx < DRBD_MD_INDEX_FLEX_INT) { in drbd_adm_attach()
1828 (new_disk_conf->meta_dev_idx == DRBD_MD_INDEX_INTERNAL || in drbd_adm_attach()
1829 new_disk_conf->meta_dev_idx == DRBD_MD_INDEX_FLEX_INT)) { in drbd_adm_attach()
1858 if (new_disk_conf->meta_dev_idx < 0) { in drbd_adm_attach()
1864 min_md_device_sectors = MD_128MB_SECT * (new_disk_conf->meta_dev_idx + 1); in drbd_adm_attach()
1888 if (new_disk_conf->meta_dev_idx >= 0) in drbd_adm_attach()
2134 nbc->disk_conf->meta_dev_idx < 0 ? in drbd_adm_attach()