Home
last modified time | relevance | path

Searched refs:INQUIRY_VPD_SERIAL_LEN (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/target/
H A Dtarget_core_pscsi.c187 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_serial()
195 put_unaligned_be16(INQUIRY_VPD_SERIAL_LEN, &cdb[3]); in pscsi_get_inquiry_vpd_serial()
198 INQUIRY_VPD_SERIAL_LEN, HZ, 1, NULL); in pscsi_get_inquiry_vpd_serial()
202 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]); in pscsi_get_inquiry_vpd_serial()
222 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_device_ident()
H A Dtarget_core_configfs.c1612 unsigned char buf[INQUIRY_VPD_SERIAL_LEN] = { }; in target_wwn_vpd_unit_serial_store()
1630 if (strlen(page) >= INQUIRY_VPD_SERIAL_LEN) { in target_wwn_vpd_unit_serial_store()
1632 " INQUIRY_VPD_SERIAL_LEN: %d\n", INQUIRY_VPD_SERIAL_LEN); in target_wwn_vpd_unit_serial_store()
1654 snprintf(buf, INQUIRY_VPD_SERIAL_LEN, "%s", page); in target_wwn_vpd_unit_serial_store()
1655 snprintf(dev->t10_wwn.unit_serial, INQUIRY_VPD_SERIAL_LEN, in target_wwn_vpd_unit_serial_store()
/openbmc/linux/include/target/
H A Dtarget_core_base.h45 #define INQUIRY_VPD_SERIAL_LEN 254 macro
334 char unit_serial[INQUIRY_VPD_SERIAL_LEN];