t10_wwn           904 drivers/target/target_core_alua.c 	struct t10_wwn *wwn = &tg_pt_gp->tg_pt_gp_dev->t10_wwn;
t10_wwn           621 drivers/target/target_core_configfs.c 	strlcpy(dev->t10_wwn.model, configname, INQUIRY_MODEL_LEN);
t10_wwn           643 drivers/target/target_core_configfs.c 	BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1);
t10_wwn           647 drivers/target/target_core_configfs.c 		strlcpy(dev->t10_wwn.model, dev->transport->inquiry_prod,
t10_wwn           648 drivers/target/target_core_configfs.c 			sizeof(dev->t10_wwn.model));
t10_wwn          1217 drivers/target/target_core_configfs.c static struct t10_wwn *to_t10_wwn(struct config_item *item)
t10_wwn          1219 drivers/target/target_core_configfs.c 	return container_of(to_config_group(item), struct t10_wwn, t10_wwn_group);
t10_wwn          1257 drivers/target/target_core_configfs.c 	struct t10_wwn *t10_wwn = to_t10_wwn(item);
t10_wwn          1258 drivers/target/target_core_configfs.c 	struct se_device *dev = t10_wwn->t10_dev;
t10_wwn          1295 drivers/target/target_core_configfs.c 	BUILD_BUG_ON(sizeof(dev->t10_wwn.vendor) != INQUIRY_VENDOR_LEN + 1);
t10_wwn          1296 drivers/target/target_core_configfs.c 	strlcpy(dev->t10_wwn.vendor, stripped, sizeof(dev->t10_wwn.vendor));
t10_wwn          1299 drivers/target/target_core_configfs.c 		 " %s\n", dev->t10_wwn.vendor);
t10_wwn          1313 drivers/target/target_core_configfs.c 	struct t10_wwn *t10_wwn = to_t10_wwn(item);
t10_wwn          1314 drivers/target/target_core_configfs.c 	struct se_device *dev = t10_wwn->t10_dev;
t10_wwn          1351 drivers/target/target_core_configfs.c 	BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1);
t10_wwn          1352 drivers/target/target_core_configfs.c 	strlcpy(dev->t10_wwn.model, stripped, sizeof(dev->t10_wwn.model));
t10_wwn          1355 drivers/target/target_core_configfs.c 		 dev->t10_wwn.model);
t10_wwn          1369 drivers/target/target_core_configfs.c 	struct t10_wwn *t10_wwn = to_t10_wwn(item);
t10_wwn          1370 drivers/target/target_core_configfs.c 	struct se_device *dev = t10_wwn->t10_dev;
t10_wwn          1407 drivers/target/target_core_configfs.c 	BUILD_BUG_ON(sizeof(dev->t10_wwn.revision) != INQUIRY_REVISION_LEN + 1);
t10_wwn          1408 drivers/target/target_core_configfs.c 	strlcpy(dev->t10_wwn.revision, stripped, sizeof(dev->t10_wwn.revision));
t10_wwn          1411 drivers/target/target_core_configfs.c 		 dev->t10_wwn.revision);
t10_wwn          1429 drivers/target/target_core_configfs.c 	struct t10_wwn *t10_wwn = to_t10_wwn(item);
t10_wwn          1430 drivers/target/target_core_configfs.c 	struct se_device *dev = t10_wwn->t10_dev;
t10_wwn          1475 drivers/target/target_core_configfs.c 	snprintf(dev->t10_wwn.unit_serial, INQUIRY_VPD_SERIAL_LEN,
t10_wwn          1480 drivers/target/target_core_configfs.c 			" %s\n", dev->t10_wwn.unit_serial);
t10_wwn          1491 drivers/target/target_core_configfs.c 	struct t10_wwn *t10_wwn = to_t10_wwn(item);
t10_wwn          1498 drivers/target/target_core_configfs.c 	spin_lock(&t10_wwn->t10_vpd_lock);
t10_wwn          1499 drivers/target/target_core_configfs.c 	list_for_each_entry(vpd, &t10_wwn->t10_vpd_list, vpd_list) {
t10_wwn          1510 drivers/target/target_core_configfs.c 	spin_unlock(&t10_wwn->t10_vpd_lock);
t10_wwn          1522 drivers/target/target_core_configfs.c 	struct t10_wwn *t10_wwn = to_t10_wwn(item);			\
t10_wwn          1527 drivers/target/target_core_configfs.c 	spin_lock(&t10_wwn->t10_vpd_lock);				\
t10_wwn          1528 drivers/target/target_core_configfs.c 	list_for_each_entry(vpd, &t10_wwn->t10_vpd_list, vpd_list) {	\
t10_wwn          1550 drivers/target/target_core_configfs.c 	spin_unlock(&t10_wwn->t10_vpd_lock);				\
t10_wwn          3176 drivers/target/target_core_configfs.c 	config_group_init_type_name(&dev->t10_wwn.t10_wwn_group, "wwn",
t10_wwn          3178 drivers/target/target_core_configfs.c 	configfs_add_default_group(&dev->t10_wwn.t10_wwn_group,
t10_wwn           522 drivers/target/target_core_device.c 	spin_lock(&dev->t10_wwn.t10_vpd_lock);
t10_wwn           524 drivers/target/target_core_device.c 			&dev->t10_wwn.t10_vpd_list, vpd_list) {
t10_wwn           528 drivers/target/target_core_device.c 	spin_unlock(&dev->t10_wwn.t10_vpd_lock);
t10_wwn           709 drivers/target/target_core_device.c 	struct t10_wwn *wwn = &dev->t10_wwn;
t10_wwn           750 drivers/target/target_core_device.c 	INIT_LIST_HEAD(&dev->t10_wwn.t10_vpd_list);
t10_wwn           751 drivers/target/target_core_device.c 	spin_lock_init(&dev->t10_wwn.t10_vpd_lock);
t10_wwn           761 drivers/target/target_core_device.c 	dev->t10_wwn.t10_dev = dev;
t10_wwn           801 drivers/target/target_core_device.c 	strlcpy(dev->t10_wwn.vendor, "LIO-ORG", sizeof(dev->t10_wwn.vendor));
t10_wwn           802 drivers/target/target_core_device.c 	strlcpy(dev->t10_wwn.model, dev->transport->inquiry_prod,
t10_wwn           803 drivers/target/target_core_device.c 		sizeof(dev->t10_wwn.model));
t10_wwn           804 drivers/target/target_core_device.c 	strlcpy(dev->t10_wwn.revision, dev->transport->inquiry_rev,
t10_wwn           805 drivers/target/target_core_device.c 		sizeof(dev->t10_wwn.revision));
t10_wwn          1966 drivers/target/target_core_pr.c 	struct t10_wwn *wwn = &dev->t10_wwn;
t10_wwn           167 drivers/target/target_core_pscsi.c pscsi_set_inquiry_info(struct scsi_device *sdev, struct t10_wwn *wwn)
t10_wwn           186 drivers/target/target_core_pscsi.c pscsi_get_inquiry_vpd_serial(struct scsi_device *sdev, struct t10_wwn *wwn)
t10_wwn           220 drivers/target/target_core_pscsi.c 		struct t10_wwn *wwn)
t10_wwn           312 drivers/target/target_core_pscsi.c 	pscsi_set_inquiry_info(sd, &dev->t10_wwn);
t10_wwn           318 drivers/target/target_core_pscsi.c 	if (!pscsi_get_inquiry_vpd_serial(sd, &dev->t10_wwn)) {
t10_wwn           323 drivers/target/target_core_pscsi.c 		pscsi_get_inquiry_vpd_device_ident(sd, &dev->t10_wwn);
t10_wwn           968 drivers/target/target_core_sbc.c 					   dev->t10_wwn.unit_serial);
t10_wwn           105 drivers/target/target_core_spc.c 	memcpy(&buf[8], dev->t10_wwn.vendor,
t10_wwn           106 drivers/target/target_core_spc.c 	       strnlen(dev->t10_wwn.vendor, INQUIRY_VENDOR_LEN));
t10_wwn           107 drivers/target/target_core_spc.c 	memcpy(&buf[16], dev->t10_wwn.model,
t10_wwn           108 drivers/target/target_core_spc.c 	       strnlen(dev->t10_wwn.model, INQUIRY_MODEL_LEN));
t10_wwn           109 drivers/target/target_core_spc.c 	memcpy(&buf[32], dev->t10_wwn.revision,
t10_wwn           110 drivers/target/target_core_spc.c 	       strnlen(dev->t10_wwn.revision, INQUIRY_REVISION_LEN));
t10_wwn           125 drivers/target/target_core_spc.c 		len = sprintf(&buf[4], "%s", dev->t10_wwn.unit_serial);
t10_wwn           135 drivers/target/target_core_spc.c 	unsigned char *p = &dev->t10_wwn.unit_serial[0];
t10_wwn           175 drivers/target/target_core_spc.c 	unsigned char *prod = &dev->t10_wwn.model[0];
t10_wwn           239 drivers/target/target_core_spc.c 		unit_serial_len = strlen(&dev->t10_wwn.unit_serial[0]);
t10_wwn           243 drivers/target/target_core_spc.c 				&dev->t10_wwn.unit_serial[0]);
t10_wwn           250 drivers/target/target_core_spc.c 	memcpy(&buf[off+4], dev->t10_wwn.vendor,
t10_wwn           251 drivers/target/target_core_spc.c 	       strnlen(dev->t10_wwn.vendor, INQUIRY_VENDOR_LEN));
t10_wwn           229 drivers/target/target_core_stat.c 			(strlen(dev->t10_wwn.unit_serial)) ?
t10_wwn           230 drivers/target/target_core_stat.c 			dev->t10_wwn.unit_serial : "None");
t10_wwn           238 drivers/target/target_core_stat.c 			"s\n", dev->t10_wwn.vendor);
t10_wwn           246 drivers/target/target_core_stat.c 			"s\n", dev->t10_wwn.model);
t10_wwn           254 drivers/target/target_core_stat.c 			"s\n", dev->t10_wwn.revision);
t10_wwn           768 drivers/target/target_core_stat.c 	struct t10_wwn *wwn;
t10_wwn           774 drivers/target/target_core_stat.c 		wwn = &dev->t10_wwn;
t10_wwn           813 include/target/target_core_base.h 	struct t10_wwn		t10_wwn;