Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/target/
Dtarget_core_pscsi.c188 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_serial()
196 put_unaligned_be16(INQUIRY_VPD_SERIAL_LEN, &cdb[3]); in pscsi_get_inquiry_vpd_serial()
199 INQUIRY_VPD_SERIAL_LEN, NULL, HZ, 1, NULL); in pscsi_get_inquiry_vpd_serial()
203 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]); in pscsi_get_inquiry_vpd_serial()
223 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_device_ident()
Dtarget_core_configfs.c1565 unsigned char buf[INQUIRY_VPD_SERIAL_LEN] = { }; in target_wwn_vpd_unit_serial_store()
1583 if (strlen(page) >= INQUIRY_VPD_SERIAL_LEN) { in target_wwn_vpd_unit_serial_store()
1585 " INQUIRY_VPD_SERIAL_LEN: %d\n", INQUIRY_VPD_SERIAL_LEN); in target_wwn_vpd_unit_serial_store()
1607 snprintf(buf, INQUIRY_VPD_SERIAL_LEN, "%s", page); in target_wwn_vpd_unit_serial_store()
1608 snprintf(dev->t10_wwn.unit_serial, INQUIRY_VPD_SERIAL_LEN, in target_wwn_vpd_unit_serial_store()
/Linux-v6.1/include/target/
Dtarget_core_base.h45 #define INQUIRY_VPD_SERIAL_LEN 254 macro
332 char unit_serial[INQUIRY_VPD_SERIAL_LEN];