Searched refs:prim_busid (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/s390/block/ |
D | dasd_devmap.c | 1935 char prim_busid[DASD_BUS_ID_SIZE]; in dasd_copy_pair_show() local 1952 strscpy(prim_busid, copy->entry[i].busid, in dasd_copy_pair_show() 1963 len += sysfs_emit_at(buf, len, "%s,%s ", prim_busid, in dasd_copy_pair_show() 2078 static int dasd_devmap_parse_busid(const char *buf, char *prim_busid, in dasd_devmap_parse_busid() argument 2103 sprintf(prim_busid, "%01x.%01x.%04x", id0, id1, id2); in dasd_devmap_parse_busid() 2119 char prim_busid[DASD_BUS_ID_SIZE]; in dasd_copy_pair_store() local 2132 rc = dasd_devmap_parse_busid(buf, prim_busid, sec_busid); in dasd_copy_pair_store() 2136 if (strncmp(dev_name(dev), prim_busid, DASD_BUS_ID_SIZE) != 0 && in dasd_copy_pair_store() 2141 prim_devmap = dasd_find_busid(prim_busid); in dasd_copy_pair_store() 2143 prim_devmap = dasd_add_busid(prim_busid, DASD_FEATURE_DEFAULT); in dasd_copy_pair_store() [all …]
|
D | dasd_eckd.c | 6164 static int dasd_eckd_copy_pair_swap(struct dasd_device *device, char *prim_busid, in dasd_eckd_copy_pair_swap() argument 6179 if (strncmp(dev_name(&primary->cdev->dev), prim_busid, DASD_BUS_ID_SIZE) != 0) in dasd_eckd_copy_pair_swap() 6200 copy_pair_set_active(copy, sec_busid, prim_busid); in dasd_eckd_copy_pair_swap()
|