Lines Matching refs:primary
631 bool primary) in dasd_devmap_entry_from_pprc_data() argument
636 if (primary) { in dasd_devmap_entry_from_pprc_data()
638 data->dev_info[i].primary == uid.real_unit_addr) in dasd_devmap_entry_from_pprc_data()
673 i = dasd_devmap_entry_from_pprc_data(data, uid, entry->primary); in dasd_devmap_check_copy_relation()
680 if (entry->primary) { in dasd_devmap_check_copy_relation()
686 data->dev_info[i].primary != uid.real_unit_addr) { in dasd_devmap_check_copy_relation()
691 data->dev_info[i].primary); in dasd_devmap_check_copy_relation()
726 if (dasd_devmap_entry_from_pprc_data(tmp_dat, uid, entry->primary) < 0) { in dasd_devmap_check_copy_relation()
2070 if (copy->entry[i].configured && copy->entry[i].primary) { in dasd_copy_pair_show()
2081 if (copy->entry[i].configured && !copy->entry[i].primary) in dasd_copy_pair_show()
2093 char *busid, bool primary) in dasd_devmap_set_copy_relation() argument
2112 if (primary) { in dasd_devmap_set_copy_relation()
2114 copy->entry[i].primary = true; in dasd_devmap_set_copy_relation()
2143 copy->entry[i].primary = false; in dasd_devmap_del_copy_relation()
2200 char *primary, *secondary, *tmp, *pt; in dasd_devmap_parse_busid() local
2208 primary = strsep(&tmp, ","); in dasd_devmap_parse_busid()
2209 if (!primary) { in dasd_devmap_parse_busid()
2218 if (dasd_busid(primary, &id0, &id1, &id2)) { in dasd_devmap_parse_busid()