Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/target/
Dtarget_core_pscsi.c207 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_serial()
215 cdb[3] = (INQUIRY_VPD_SERIAL_LEN >> 8) & 0xff; in pscsi_get_inquiry_vpd_serial()
216 cdb[4] = (INQUIRY_VPD_SERIAL_LEN & 0xff); in pscsi_get_inquiry_vpd_serial()
219 INQUIRY_VPD_SERIAL_LEN, NULL, HZ, 1, NULL); in pscsi_get_inquiry_vpd_serial()
223 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]); in pscsi_get_inquiry_vpd_serial()
243 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_device_ident()
Dtarget_core_configfs.c555 unsigned char buf[INQUIRY_VPD_SERIAL_LEN]; in target_core_dev_wwn_store_attr_vpd_unit_serial()
573 if (strlen(page) >= INQUIRY_VPD_SERIAL_LEN) { in target_core_dev_wwn_store_attr_vpd_unit_serial()
575 " INQUIRY_VPD_SERIAL_LEN: %d\n", INQUIRY_VPD_SERIAL_LEN); in target_core_dev_wwn_store_attr_vpd_unit_serial()
597 memset(buf, 0, INQUIRY_VPD_SERIAL_LEN); in target_core_dev_wwn_store_attr_vpd_unit_serial()
598 snprintf(buf, INQUIRY_VPD_SERIAL_LEN, "%s", page); in target_core_dev_wwn_store_attr_vpd_unit_serial()
599 snprintf(dev->t10_wwn.unit_serial, INQUIRY_VPD_SERIAL_LEN, in target_core_dev_wwn_store_attr_vpd_unit_serial()
/linux-4.1.27/include/target/
Dtarget_core_base.h58 #define INQUIRY_VPD_SERIAL_LEN 254 macro
357 char unit_serial[INQUIRY_VPD_SERIAL_LEN];