Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/
Dtarget_core_pscsi.c204 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_serial()
212 put_unaligned_be16(INQUIRY_VPD_SERIAL_LEN, &cdb[3]); in pscsi_get_inquiry_vpd_serial()
215 INQUIRY_VPD_SERIAL_LEN, NULL, HZ, 1, NULL); in pscsi_get_inquiry_vpd_serial()
219 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]); in pscsi_get_inquiry_vpd_serial()
239 buf = kzalloc(INQUIRY_VPD_SERIAL_LEN, GFP_KERNEL); in pscsi_get_inquiry_vpd_device_ident()
Dtarget_core_configfs.c1228 unsigned char buf[INQUIRY_VPD_SERIAL_LEN]; in target_wwn_vpd_unit_serial_store()
1246 if (strlen(page) >= INQUIRY_VPD_SERIAL_LEN) { in target_wwn_vpd_unit_serial_store()
1248 " INQUIRY_VPD_SERIAL_LEN: %d\n", INQUIRY_VPD_SERIAL_LEN); in target_wwn_vpd_unit_serial_store()
1270 memset(buf, 0, INQUIRY_VPD_SERIAL_LEN); in target_wwn_vpd_unit_serial_store()
1271 snprintf(buf, INQUIRY_VPD_SERIAL_LEN, "%s", page); in target_wwn_vpd_unit_serial_store()
1272 snprintf(dev->t10_wwn.unit_serial, INQUIRY_VPD_SERIAL_LEN, in target_wwn_vpd_unit_serial_store()
/Linux-v4.19/include/target/
Dtarget_core_base.h45 #define INQUIRY_VPD_SERIAL_LEN 254 macro
321 char unit_serial[INQUIRY_VPD_SERIAL_LEN];