Lines Matching refs:uid
535 if (startpriv->uid.type == UA_BASE_PAV_ALIAS) in prefix_LRE()
538 if (startpriv->uid.type == UA_HYPER_PAV_ALIAS) { in prefix_LRE()
709 struct dasd_uid *uid; in create_uid() local
711 uid = &private->uid; in create_uid()
712 memset(uid, 0, sizeof(struct dasd_uid)); in create_uid()
713 memcpy(uid->vendor, private->ned->HDA_manufacturer, in create_uid()
714 sizeof(uid->vendor) - 1); in create_uid()
715 EBCASC(uid->vendor, sizeof(uid->vendor) - 1); in create_uid()
716 memcpy(uid->serial, private->ned->HDA_location, in create_uid()
717 sizeof(uid->serial) - 1); in create_uid()
718 EBCASC(uid->serial, sizeof(uid->serial) - 1); in create_uid()
719 uid->ssid = private->gneq->subsystemID; in create_uid()
720 uid->real_unit_addr = private->ned->unit_addr; in create_uid()
722 uid->type = private->sneq->sua_flags; in create_uid()
723 if (uid->type == UA_BASE_PAV_ALIAS) in create_uid()
724 uid->base_unit_addr = private->sneq->base_unit_addr; in create_uid()
726 uid->type = UA_BASE_DEVICE; in create_uid()
730 sprintf(uid->vduit+2*count, "%02x", in create_uid()
754 static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) in dasd_eckd_get_uid() argument
761 *uid = private->uid; in dasd_eckd_get_uid()
780 return memcmp(&device_uid, &private->uid, sizeof(struct dasd_uid)); in dasd_eckd_compare_path_uid()
995 struct dasd_uid *uid; in dasd_eckd_read_conf() local
1064 uid = &path_private.uid; in dasd_eckd_read_conf()
1065 if (strlen(uid->vduit) > 0) in dasd_eckd_read_conf()
1069 uid->vendor, uid->serial, in dasd_eckd_read_conf()
1070 uid->ssid, uid->real_unit_addr, in dasd_eckd_read_conf()
1071 uid->vduit); in dasd_eckd_read_conf()
1076 uid->vendor, uid->serial, in dasd_eckd_read_conf()
1077 uid->ssid, in dasd_eckd_read_conf()
1078 uid->real_unit_addr); in dasd_eckd_read_conf()
1079 uid = &private->uid; in dasd_eckd_read_conf()
1080 if (strlen(uid->vduit) > 0) in dasd_eckd_read_conf()
1084 uid->vendor, uid->serial, in dasd_eckd_read_conf()
1085 uid->ssid, uid->real_unit_addr, in dasd_eckd_read_conf()
1086 uid->vduit); in dasd_eckd_read_conf()
1091 uid->vendor, uid->serial, in dasd_eckd_read_conf()
1092 uid->ssid, in dasd_eckd_read_conf()
1093 uid->real_unit_addr); in dasd_eckd_read_conf()
1233 struct dasd_uid *uid; in do_path_verification_work() local
1342 uid = &path_private.uid; in do_path_verification_work()
1343 if (strlen(uid->vduit) > 0) in do_path_verification_work()
1346 uid->vendor, uid->serial, in do_path_verification_work()
1347 uid->ssid, uid->real_unit_addr, in do_path_verification_work()
1348 uid->vduit); in do_path_verification_work()
1352 uid->vendor, uid->serial, in do_path_verification_work()
1353 uid->ssid, in do_path_verification_work()
1354 uid->real_unit_addr); in do_path_verification_work()
1579 if (private->uid.type == UA_BASE_PAV_ALIAS || in dasd_eckd_validate_server()
1580 private->uid.type == UA_HYPER_PAV_ALIAS) in dasd_eckd_validate_server()
1591 "returned rc=%d", private->uid.ssid, rc); in dasd_eckd_validate_server()
3415 if (startpriv->uid.type == UA_BASE_PAV_ALIAS) in prepare_itcw()
3418 if (startpriv->uid.type == UA_HYPER_PAV_ALIAS) { in prepare_itcw()
4926 if (memcmp(&private->uid, &temp_uid, sizeof(struct dasd_uid)) != 0) in dasd_eckd_restore_device()
4980 struct dasd_uid uid; in dasd_eckd_reload_device() local
4990 old_base = private->uid.base_unit_addr; in dasd_eckd_reload_device()
5007 dasd_eckd_get_uid(device, &uid); in dasd_eckd_reload_device()
5009 if (old_base != uid.base_unit_addr) { in dasd_eckd_reload_device()
5010 if (strlen(uid.vduit) > 0) in dasd_eckd_reload_device()
5012 "%s.%s.%04x.%02x.%s", uid.vendor, uid.serial, in dasd_eckd_reload_device()
5013 uid.ssid, uid.base_unit_addr, uid.vduit); in dasd_eckd_reload_device()
5016 "%s.%s.%04x.%02x", uid.vendor, uid.serial, in dasd_eckd_reload_device()
5017 uid.ssid, uid.base_unit_addr); in dasd_eckd_reload_device()