Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.c3364 memcpy(lunprov->wwid, asa.wwid, sizeof(lunprov->wwid)); in cxlflash_lun_provision()
/linux-6.12.1/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.h347 __be32 wwid[2]; member
352 __be32 wwid[4]; member
996 __be32 wwid[2]; member
1012 __be32 wwid[2]; member
Dipr.c1515 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd_compact()
1528 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), in ipr_log_ext_vpd()
1529 be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd()
2098 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2104 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2110 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2116 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2122 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2132 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2168 be32_to_cpu(cfg->wwid[0]), in ipr_log64_path_elem()
[all …]
Dmvumi.h478 u64 wwid; member
Dscsi_sysfs.c1072 static DEVICE_ATTR(wwid, S_IRUGO, sdev_show_wwid, NULL);
/linux-6.12.1/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c584 sas_address = raid_device->wwid; in _scsih_determine_boot_device()
590 sas_address = pcie_device->wwid; in _scsih_determine_boot_device()
1095 __mpt3sas_get_pdev_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) in __mpt3sas_get_pdev_by_wwid() argument
1102 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1106 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1128 mpt3sas_get_pdev_by_wwid(struct MPT3SAS_ADAPTER *ioc, u64 wwid) in mpt3sas_get_pdev_by_wwid() argument
1134 pcie_device = __mpt3sas_get_pdev_by_wwid(ioc, wwid); in mpt3sas_get_pdev_by_wwid()
1258 pcie_device->handle, (u64)pcie_device->wwid); in _scsih_pcie_device_remove()
1349 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_add()
1400 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_init_add()
[all …]
Dmpt3sas_base.h628 u64 wwid; member
717 u64 wwid; member
1952 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()
/linux-6.12.1/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.12.1/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.h972 __be64 wwid; member
982 u8 wwid[16]; member
1123 u8 wwid[16]; member
1547 u8 wwid[20]; member
Dsmartpqi_init.c1263 …_wwid_list->lun_entries[i].wwid[0], &rpl_8byte_wwid_list->lun_entries[i].wwid, sizeof(rpl_8byte_ww… in pqi_report_phys_luns()
1264 memset(&rpl_16byte_wwid_list->lun_entries[i].wwid[8], 0, 8); in pqi_report_phys_luns()
1953 return memcmp(dev1->wwid, dev2->wwid, sizeof(dev1->wwid)) == 0; in pqi_device_equal()
2024 get_unaligned_be64(&device->wwid[0]), in pqi_dev_info()
2025 get_unaligned_be64(&device->wwid[8])); in pqi_dev_info()
2528 get_unaligned_be64(&phys_lun->wwid[0]), in pqi_update_scsi_devices()
2529 get_unaligned_be64(&phys_lun->wwid[8])); in pqi_update_scsi_devices()
2546 memcpy(device->wwid, phys_lun->wwid, sizeof(device->wwid)); in pqi_update_scsi_devices()
2559 device->sas_address = get_unaligned_be64(&device->wwid[0]); in pqi_update_scsi_devices()
7133 memcpy(unique_id, device->wwid, sizeof(device->wwid)); in pqi_unique_id_show()
/linux-6.12.1/include/uapi/linux/
Dedd.h145 __u64 wwid; member
/linux-6.12.1/drivers/firmware/
Dedd.c205 info->params.device_path.fibre.wwid, in edd_show_interface()
/linux-6.12.1/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h381 __le64 wwid; member
Dmpi30_cnfg.h2391 __le64 wwid; member
/linux-6.12.1/drivers/scsi/mpi3mr/
Dmpi3mr.h758 u64 wwid; member
Dmpi3mr_os.c910 __func__, tgtdev->dev_handle, (unsigned long long)tgtdev->wwid); in mpi3mr_remove_tgtdev_from_host()
939 __func__, tgtdev->dev_handle, (unsigned long long)tgtdev->wwid); in mpi3mr_remove_tgtdev_from_host()
1159 tgtdev->wwid = le64_to_cpu(dev_pg0->wwid); in mpi3mr_update_tgtdev()
/linux-6.12.1/drivers/nvme/host/
Dsysfs.c132 static DEVICE_ATTR_RO(wwid);
/linux-6.12.1/drivers/scsi/aacraid/
Daacraid.h361 u8 wwid[20]; member

12