Searched refs:t10_wwn (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/target/ |
A D | target_core_configfs.c | 1362 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_vendor_id_store() local 1401 strlcpy(dev->t10_wwn.vendor, stripped, sizeof(dev->t10_wwn.vendor)); in target_wwn_vendor_id_store() 1418 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_product_id_store() local 1457 strlcpy(dev->t10_wwn.model, stripped, sizeof(dev->t10_wwn.model)); in target_wwn_product_id_store() 1460 dev->t10_wwn.model); in target_wwn_product_id_store() 1474 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_revision_store() local 1513 strlcpy(dev->t10_wwn.revision, stripped, sizeof(dev->t10_wwn.revision)); in target_wwn_revision_store() 1533 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_company_id_store() local 1582 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_vpd_unit_serial_store() local 1643 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_vpd_protocol_identifier_show() local [all …]
|
A D | target_core_device.c | 527 spin_lock(&dev->t10_wwn.t10_vpd_lock); in se_release_vpd_for_dev() 529 &dev->t10_wwn.t10_vpd_list, vpd_list) { in se_release_vpd_for_dev() 533 spin_unlock(&dev->t10_wwn.t10_vpd_lock); in se_release_vpd_for_dev() 714 struct t10_wwn *wwn = &dev->t10_wwn; in scsi_dump_inquiry() 773 INIT_LIST_HEAD(&dev->t10_wwn.t10_vpd_list); in target_alloc_device() 774 spin_lock_init(&dev->t10_wwn.t10_vpd_lock); in target_alloc_device() 786 dev->t10_wwn.t10_dev = dev; in target_alloc_device() 790 dev->t10_wwn.company_id = 0x001405; in target_alloc_device() 832 strlcpy(dev->t10_wwn.vendor, "LIO-ORG", sizeof(dev->t10_wwn.vendor)); in target_alloc_device() 834 sizeof(dev->t10_wwn.model)); in target_alloc_device() [all …]
|
A D | target_core_spc.c | 133 memcpy(&buf[8], dev->t10_wwn.vendor, in spc_emulate_inquiry_std() 134 strnlen(dev->t10_wwn.vendor, INQUIRY_VENDOR_LEN)); in spc_emulate_inquiry_std() 135 memcpy(&buf[16], dev->t10_wwn.model, in spc_emulate_inquiry_std() 136 strnlen(dev->t10_wwn.model, INQUIRY_MODEL_LEN)); in spc_emulate_inquiry_std() 137 memcpy(&buf[32], dev->t10_wwn.revision, in spc_emulate_inquiry_std() 163 len = sprintf(&buf[4], "%s", dev->t10_wwn.unit_serial); in spc_emulate_evpd_80() 176 unsigned char *p = &dev->t10_wwn.unit_serial[0]; in spc_gen_naa_6h_vendor_specific() 177 u32 company_id = dev->t10_wwn.company_id; in spc_gen_naa_6h_vendor_specific() 228 unsigned char *prod = &dev->t10_wwn.model[0]; in spc_emulate_evpd_83() 277 &dev->t10_wwn.unit_serial[0]); in spc_emulate_evpd_83() [all …]
|
A D | target_core_pscsi.c | 163 pscsi_set_inquiry_info(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_set_inquiry_info() 182 pscsi_get_inquiry_vpd_serial(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_serial() 216 struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_device_ident() 307 pscsi_set_inquiry_info(sd, &dev->t10_wwn); in pscsi_add_device_to_list() 313 if (!pscsi_get_inquiry_vpd_serial(sd, &dev->t10_wwn)) { in pscsi_add_device_to_list() 318 pscsi_get_inquiry_vpd_device_ident(sd, &dev->t10_wwn); in pscsi_add_device_to_list()
|
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() 765 struct t10_wwn *wwn; in target_stat_transport_dev_name_show() 771 wwn = &dev->t10_wwn; in target_stat_transport_dev_name_show()
|
A D | target_core_alua.c | 879 struct t10_wwn *wwn = &tg_pt_gp->tg_pt_gp_dev->t10_wwn; in core_alua_update_tpg_primary_metadata()
|
A D | target_core_sbc.c | 907 dev->t10_wwn.unit_serial); in sbc_parse_cdb()
|
A D | target_core_pr.c | 1956 struct t10_wwn *wwn = &dev->t10_wwn; in __core_scsi3_write_aptpl_to_file()
|
/linux-6.3-rc2/include/target/ |
A D | target_core_base.h | 326 struct t10_wwn { struct 846 struct t10_wwn t10_wwn; member
|
Completed in 41 milliseconds