Searched refs:t10_wwn (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/target/ |
| H A D | target_core_configfs.c | 655 strscpy(dev->t10_wwn.model, configname, INQUIRY_MODEL_LEN); in dev_set_t10_wwn_model_alias() 677 BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1); in emulate_model_alias_store() 681 strscpy(dev->t10_wwn.model, dev->transport->inquiry_prod); in emulate_model_alias_store() 1398 static struct t10_wwn *to_t10_wwn(struct config_item *item) in to_t10_wwn() 1400 return container_of(to_config_group(item), struct t10_wwn, t10_wwn_group); in to_t10_wwn() 1438 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_vendor_id_store() local 1439 struct se_device *dev = t10_wwn->t10_dev; in target_wwn_vendor_id_store() 1476 BUILD_BUG_ON(sizeof(dev->t10_wwn.vendor) != INQUIRY_VENDOR_LEN + 1); in target_wwn_vendor_id_store() 1477 strscpy(dev->t10_wwn.vendor, stripped); in target_wwn_vendor_id_store() 1480 " %s\n", dev->t10_wwn.vendor); in target_wwn_vendor_id_store() [all …]
|
| H A D | target_core_device.c | 501 spin_lock(&dev->t10_wwn.t10_vpd_lock); in se_release_vpd_for_dev() 503 &dev->t10_wwn.t10_vpd_list, vpd_list) { in se_release_vpd_for_dev() 507 spin_unlock(&dev->t10_wwn.t10_vpd_lock); in se_release_vpd_for_dev() 688 struct t10_wwn *wwn = &dev->t10_wwn; in scsi_dump_inquiry() 765 INIT_LIST_HEAD(&dev->t10_wwn.t10_vpd_list); in target_alloc_device() 766 spin_lock_init(&dev->t10_wwn.t10_vpd_lock); in target_alloc_device() 779 dev->t10_wwn.t10_dev = dev; in target_alloc_device() 783 dev->t10_wwn.company_id = 0x001405; in target_alloc_device() 827 strscpy(dev->t10_wwn.vendor, "LIO-ORG", sizeof(dev->t10_wwn.vendor)); in target_alloc_device() 828 strscpy(dev->t10_wwn.model, dev->transport->inquiry_prod, in target_alloc_device() [all …]
|
| H A D | target_core_pscsi.c | 164 pscsi_set_inquiry_info(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_set_inquiry_info() 183 pscsi_get_inquiry_vpd_serial(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_serial() 217 struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_device_ident() 308 pscsi_set_inquiry_info(sd, &dev->t10_wwn); in pscsi_add_device_to_list() 314 if (!pscsi_get_inquiry_vpd_serial(sd, &dev->t10_wwn)) { in pscsi_add_device_to_list() 319 pscsi_get_inquiry_vpd_device_ident(sd, &dev->t10_wwn); in pscsi_add_device_to_list()
|
| H A D | target_core_stat.c | 226 (strlen(dev->t10_wwn.unit_serial)) ? in target_stat_lu_lu_name_show() 227 dev->t10_wwn.unit_serial : "None"); in target_stat_lu_lu_name_show() 235 "s\n", dev->t10_wwn.vendor); in target_stat_lu_vend_show() 243 "s\n", dev->t10_wwn.model); in target_stat_lu_prod_show() 251 "s\n", dev->t10_wwn.revision); in target_stat_lu_rev_show() 746 struct t10_wwn *wwn; in target_stat_transport_dev_name_show() 752 wwn = &dev->t10_wwn; in target_stat_transport_dev_name_show()
|
| H A D | target_core_alua.c | 878 struct t10_wwn *wwn = &tg_pt_gp->tg_pt_gp_dev->t10_wwn; in core_alua_update_tpg_primary_metadata()
|
| H A D | target_core_sbc.c | 959 dev->t10_wwn.unit_serial); in sbc_parse_cdb()
|
| H A D | target_core_pr.c | 1959 struct t10_wwn *wwn = &dev->t10_wwn; in __core_scsi3_write_aptpl_to_file()
|
| /linux/include/target/ |
| H A D | target_core_base.h | 340 struct t10_wwn { 875 struct t10_wwn t10_wwn; 337 struct t10_wwn { global() struct 349 t10_wwn_groupt10_wwn global() argument 350 t10_vpd_listt10_wwn global() argument 871 struct t10_wwn t10_wwn; global() member
|