Home
last modified time | relevance | path

Searched refs:wwid (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/scsi/cxlflash/
Dlunmgt.c31 static struct llun_info *create_local(struct scsi_device *sdev, u8 *wwid) in create_local() argument
47 memcpy(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN); in create_local()
59 static struct glun_info *create_global(struct scsi_device *sdev, u8 *wwid) in create_global() argument
72 memcpy(gli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN); in create_global()
84 static struct llun_info *lookup_local(struct cxlflash_cfg *cfg, u8 *wwid) in lookup_local() argument
89 if (!memcmp(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN)) in lookup_local()
101 static struct glun_info *lookup_global(u8 *wwid) in lookup_global() argument
106 if (!memcmp(gli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN)) in lookup_global()
132 static struct llun_info *find_and_create_lun(struct scsi_device *sdev, u8 *wwid) in find_and_create_lun() argument
139 if (unlikely(!wwid)) in find_and_create_lun()
[all …]
Dsuperpipe.h45 u8 wwid[16]; member
61 u8 wwid[16]; /* Keep a duplicate copy here? */ member
Dsislite.h207 u8 wwid[SISL_WWID_DATA_LEN]; member
Dmain.c3359 memcpy(lunprov->wwid, asa.wwid, sizeof(lunprov->wwid)); in cxlflash_lun_provision()
/linux-6.1.9/drivers/scsi/
Dmvumi.c1415 u64 wwid = 0; in mvumi_inquiry() local
1445 wwid = id + 1; in mvumi_inquiry()
1447 memcpy((void *)&wwid, in mvumi_inquiry()
1451 "inquiry device(0:%d:0) wwid(%llx)\n", id, wwid); in mvumi_inquiry()
1453 wwid = 0; in mvumi_inquiry()
1458 return wwid; in mvumi_inquiry()
1474 mv_dev->id, mv_dev->wwid); in mvumi_detach_devices()
1480 mv_dev->id, mv_dev->wwid); in mvumi_detach_devices()
1508 static int mvumi_match_devices(struct mvumi_hba *mhba, int id, u64 wwid) in mvumi_match_devices() argument
1513 if (mv_dev->wwid == wwid) { in mvumi_match_devices()
[all …]
Dhpsa_cmd.h269 u8 wwid[8]; member
804 u8 wwid[20]; member
Dipr.h350 __be32 wwid[2]; member
355 __be32 wwid[4]; member
1049 __be32 wwid[2]; member
1065 __be32 wwid[2]; member
Dipr.c1602 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd_compact()
1615 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), in ipr_log_ext_vpd()
1616 be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd()
2185 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2191 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2197 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2203 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2209 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2219 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2255 be32_to_cpu(cfg->wwid[0]), in ipr_log64_path_elem()
[all …]
Dmvumi.h478 u64 wwid; member
Dscsi_sysfs.c1081 static DEVICE_ATTR(wwid, S_IRUGO, sdev_show_wwid, NULL);
/linux-6.1.9/include/uapi/scsi/
Dcxlflash_ioctl.h167 __u8 wwid[DK_CXLFLASH_MANAGE_LUN_WWID_LEN]; /* Page83 WWID, NAA-6 */ member
239 __u8 wwid[CXLFLASH_WWID_LEN];/* Page83 WWID, NAA-6 */ member
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c585 sas_address = raid_device->wwid; in _scsih_determine_boot_device()
591 sas_address = pcie_device->wwid; in _scsih_determine_boot_device()
1096 __mpt3sas_get_pdev_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) in __mpt3sas_get_pdev_by_wwid() argument
1103 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1107 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1129 mpt3sas_get_pdev_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) in mpt3sas_get_pdev_by_wwid() argument
1135 pcie_device = __mpt3sas_get_pdev_by_wwid(ioc, wwid); in mpt3sas_get_pdev_by_wwid()
1259 pcie_device->handle, (u64)pcie_device->wwid); in _scsih_pcie_device_remove()
1350 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_add()
1401 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_init_add()
[all …]
Dmpt3sas_base.h628 u64 wwid; member
717 u64 wwid; member
1951 u16 volume_handle, u64 *wwid);
Dmpt3sas_config.c2781 u64 *wwid) in mpt3sas_config_get_volume_wwid() argument
2786 *wwid = 0; in mpt3sas_config_get_volume_wwid()
2790 *wwid = le64_to_cpu(raid_vol_pg1.WWID); in mpt3sas_config_get_volume_wwid()
Dmpt3sas_ctl.c228 (unsigned long long)pcie_device->wwid, in _ctl_display_some_debug()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c346 *identifier = get_unaligned_be64(&found_device->wwid[8]); in pqi_sas_get_enclosure_identifier()
367 get_unaligned_be64(&device->wwid[8]); in pqi_sas_get_enclosure_identifier()
383 *identifier = get_unaligned_be64(&device->wwid[8]); in pqi_sas_get_enclosure_identifier()
Dsmartpqi.h962 __be64 wwid; member
972 u8 wwid[16]; member
1099 u8 wwid[16]; member
1522 u8 wwid[20]; member
Dsmartpqi_init.c1207 …_wwid_list->lun_entries[i].wwid[0], &rpl_8byte_wwid_list->lun_entries[i].wwid, sizeof(rpl_8byte_ww… in pqi_report_phys_luns()
1208 memset(&rpl_16byte_wwid_list->lun_entries[i].wwid[8], 0, 8); in pqi_report_phys_luns()
1951 return memcmp(dev1->wwid, dev2->wwid, sizeof(dev1->wwid)) == 0; in pqi_device_equal()
2022 get_unaligned_be64(&device->wwid[0]), in pqi_dev_info()
2023 get_unaligned_be64(&device->wwid[8])); in pqi_dev_info()
2503 get_unaligned_be64(&phys_lun->wwid[0]), in pqi_update_scsi_devices()
2504 get_unaligned_be64(&phys_lun->wwid[8])); in pqi_update_scsi_devices()
2517 memcpy(device->wwid, phys_lun->wwid, sizeof(device->wwid)); in pqi_update_scsi_devices()
2530 device->sas_address = get_unaligned_be64(&device->wwid[0]); in pqi_update_scsi_devices()
7038 memcpy(unique_id, device->wwid, sizeof(device->wwid)); in pqi_unique_id_show()
/linux-6.1.9/include/uapi/linux/
Dedd.h145 __u64 wwid; member
/linux-6.1.9/drivers/firmware/
Dedd.c205 info->params.device_path.fibre.wwid, in edd_show_interface()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr.h697 u64 wwid; member
Dmpi3mr_os.c862 __func__, tgtdev->dev_handle, (unsigned long long)tgtdev->wwid); in mpi3mr_remove_tgtdev_from_host()
889 __func__, tgtdev->dev_handle, (unsigned long long)tgtdev->wwid); in mpi3mr_remove_tgtdev_from_host()
1081 tgtdev->wwid = le64_to_cpu(dev_pg0->wwid); in mpi3mr_update_tgtdev()
/linux-6.1.9/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h368 __le64 wwid; member
Dmpi30_cnfg.h2283 __le64 wwid; member
/linux-6.1.9/drivers/scsi/aacraid/
Daacraid.h361 u8 wwid[20]; member

12