Home
last modified time | relevance | path

Searched refs:INQUIRY_REVISION_LEN (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/target/
Dtarget_core_pscsi.c177 BUILD_BUG_ON(sizeof(wwn->revision) != INQUIRY_REVISION_LEN + 1); in pscsi_set_inquiry_info()
179 "%." __stringify(INQUIRY_REVISION_LEN) "s", sdev->rev); in pscsi_set_inquiry_info()
814 __stringify(INQUIRY_REVISION_LEN) "s\n", sd->rev); in pscsi_show_configfs_dev_params()
Dtarget_core_spc.c132 INQUIRY_VENDOR_LEN + INQUIRY_MODEL_LEN + INQUIRY_REVISION_LEN); in spc_emulate_inquiry_std()
138 strnlen(dev->t10_wwn.revision, INQUIRY_REVISION_LEN)); in spc_emulate_inquiry_std()
Dtarget_core_configfs.c1458 unsigned char buf[INQUIRY_REVISION_LEN + 2]; in target_wwn_revision_store()
1469 if (len > INQUIRY_REVISION_LEN) { in target_wwn_revision_store()
1471 __stringify(INQUIRY_REVISION_LEN) in target_wwn_revision_store()
1493 BUILD_BUG_ON(sizeof(dev->t10_wwn.revision) != INQUIRY_REVISION_LEN + 1); in target_wwn_revision_store()
Dtarget_core_device.c724 pr_debug(" Revision: %-" __stringify(INQUIRY_REVISION_LEN) "s\n", in scsi_dump_inquiry()
Dtarget_core_stat.c250 return snprintf(page, PAGE_SIZE, "%-" __stringify(INQUIRY_REVISION_LEN) in target_stat_lu_rev_show()
/linux-6.1.9/include/target/
Dtarget_core_base.h51 #define INQUIRY_REVISION_LEN 4 macro
331 char revision[INQUIRY_REVISION_LEN + 1];