Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/cxlflash/
H A 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 …]
H A Dsuperpipe.h45 u8 wwid[16]; member
61 u8 wwid[16]; /* Keep a duplicate copy here? */ member
H A Dsislite.h207 u8 wwid[SISL_WWID_DATA_LEN]; member
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/
H A D0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch7 /proc/cmdline for mpath.wwid=<WWID> options, and adds any wwids it finds
33 @@ -439,3 +439,47 @@ int unmark_failed_wwid(const char *wwid)
34 print_failed_wwid_result("unmark_failed", wwid, r);
61 + while((ptr = strstr(next, "mpath.wwid="))) {
73 + condlog(0, "empty mpath.wwid kernel command line option");
85 @@ -17,6 +17,7 @@ int remember_wwid(char *wwid);
86 int check_wwids_file(char *wwid, int write_wwid);
87 int remove_wwid(char *wwid);
H A Dmultipath.conf.example42 ## The wwid line in the following blacklist section is shown as an example
43 ## of how to blacklist devices by wwid. The 2 devnode lines are the
47 ## a wwid line. Since there is no guarantee that a specific device will
52 # wwid 26353900f02796769
58 # wwid 3600508b4000156d700012000000b0000
68 # wwid 1DEC_____321816758474
H A D0005-RH-add-mpathconf.patch311 + wwid '"\"${WWID_LIST[$INDEX]}\""'
371 + if sed -n '/^blacklist[[:space:]]*{/,/^}/ p' $TMPFILE | grep -q "^[[:space:]]*wwid \"\.\?\*\"" ; …
373 + elif sed -n '/^blacklist[[:space:]]*{/,/^}/ p' $TMPFILE | grep -q "^[[:space:]]*#[[:space:]]*wwid
451 + wwid ".*"
454 + sed -i '/^blacklist[[:space:]]*{/,/^}/ s/^[[:space:]]*#[[:space:]]*wwid \"\.\?\*\"/ wwid ".*"/' …
457 + sed -i '/^blacklist_exceptions[[:space:]]*{/,/^}/ {/^[[:space:]]*wwid/ d}' $TMPFILE
/openbmc/linux/drivers/scsi/
H A 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 …]
H A Dhpsa_cmd.h269 u8 wwid[8]; member
804 u8 wwid[20]; member
H A Dipr.h347 __be32 wwid[2]; member
352 __be32 wwid[4]; member
996 __be32 wwid[2]; member
1012 __be32 wwid[2]; member
H A Dipr.c1514 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd_compact()
1527 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), in ipr_log_ext_vpd()
1528 be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd()
2097 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2103 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2109 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2115 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2121 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2131 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); in ipr_log_path_elem()
2167 be32_to_cpu(cfg->wwid[0]), in ipr_log64_path_elem()
[all …]
H A Dmvumi.h478 u64 wwid; member
/openbmc/linux/drivers/scsi/mpt3sas/
H A 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 …]
H A Dmpt3sas_base.h628 u64 wwid; member
717 u64 wwid; member
1952 u16 volume_handle, u64 *wwid);
H A 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()
/openbmc/linux/include/uapi/scsi/
H A 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
/openbmc/linux/drivers/scsi/smartpqi/
H A 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()
H A Dsmartpqi.h962 __be64 wwid; member
972 u8 wwid[16]; member
1108 u8 wwid[16]; member
1532 u8 wwid[20]; member
H A Dsmartpqi_init.c1264 …_wwid_list->lun_entries[i].wwid[0], &rpl_8byte_wwid_list->lun_entries[i].wwid, sizeof(rpl_8byte_ww… in pqi_report_phys_luns()
1265 memset(&rpl_16byte_wwid_list->lun_entries[i].wwid[8], 0, 8); in pqi_report_phys_luns()
1948 return memcmp(dev1->wwid, dev2->wwid, sizeof(dev1->wwid)) == 0; in pqi_device_equal()
2019 get_unaligned_be64(&device->wwid[0]), in pqi_dev_info()
2020 get_unaligned_be64(&device->wwid[8])); in pqi_dev_info()
2512 get_unaligned_be64(&phys_lun->wwid[0]), in pqi_update_scsi_devices()
2513 get_unaligned_be64(&phys_lun->wwid[8])); in pqi_update_scsi_devices()
2530 memcpy(device->wwid, phys_lun->wwid, sizeof(device->wwid)); in pqi_update_scsi_devices()
2543 device->sas_address = get_unaligned_be64(&device->wwid[0]); in pqi_update_scsi_devices()
7109 memcpy(unique_id, device->wwid, sizeof(device->wwid)); in pqi_unique_id_show()
/openbmc/linux/include/uapi/linux/
H A Dedd.h145 __u64 wwid; member
/openbmc/u-boot/include/linux/
H A Dedd.h135 __u64 wwid; member
/openbmc/qemu/docs/system/
H A Dpr-manager.rst76 wwid XXXXXXXXXXXXXXXX
/openbmc/linux/drivers/nvme/host/
H A Dsysfs.c77 static DEVICE_ATTR_RO(wwid);
/openbmc/linux/drivers/firmware/
H A Dedd.c205 info->params.device_path.fibre.wwid, in edd_show_interface()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr.h709 u64 wwid; member
/openbmc/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h368 __le64 wwid; member

12