Lines Matching refs:Primary_Element_Count
333 GET16D(meta, vdc->Primary_Element_Count)); in g_raid_md_ddf_print()
371 num2 = GET16D(meta, vdc->Primary_Element_Count); in g_raid_md_ddf_print()
523 i += GET16(vmeta, vdc->Primary_Element_Count); // XXX in ddf_meta_find_disk()
526 for (pos = 0; pos < GET16(vmeta, bvdc[bvd]->Primary_Element_Count); in ddf_meta_find_disk()
979 for (pos = 0; pos < GET16D(meta, vdc->Primary_Element_Count); pos++) in ddf_meta_unused_range()
982 if (pos == GET16D(meta, vdc->Primary_Element_Count)) in ddf_meta_unused_range()
1699 md_disk_bvd = disk_pos / GET16(vmeta, vdc->Primary_Element_Count); // XXX in g_raid_md_ddf_start_disk()
1700 md_disk_pos = disk_pos % GET16(vmeta, vdc->Primary_Element_Count); // XXX in g_raid_md_ddf_start_disk()
1884 vol->v_disks_count = GET16(vmeta, vdc->Primary_Element_Count) * in g_raid_md_ddf_start()
1895 if (j == GET16(vmeta, vdc->Primary_Element_Count)) { in g_raid_md_ddf_start()
2039 need += GET16(vmeta, vdc->Primary_Element_Count); in g_raid_md_ddf_new_disk()
2042 cnt = GET16(vmeta, bvdc[k]->Primary_Element_Count); in g_raid_md_ddf_new_disk()
2776 SET16(vmeta, vdc->Primary_Element_Count, 2); in g_raid_md_write_ddf()
2778 SET16(vmeta, vdc->Primary_Element_Count, in g_raid_md_write_ddf()
2829 bvd = i / GET16(vmeta, vdc->Primary_Element_Count); in g_raid_md_write_ddf()
2830 pos = i % GET16(vmeta, vdc->Primary_Element_Count); in g_raid_md_write_ddf()
2979 vdc->Primary_Element_Count); in g_raid_md_write_ddf()