Home
last modified time | relevance | path

Searched refs:serial_len (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/scsi/device_handler/
Dscsi_dh_emc.c221 unsigned char sp_len, serial_len; in parse_sp_model() local
238 serial_len = buffer[160]; in parse_sp_model()
239 if (serial_len == 0 || serial_len + 161 > len) { in parse_sp_model()
242 CLARIION_NAME, serial_len); in parse_sp_model()
246 if (sp_len == 0 || serial_len + sp_len + 161 > len) { in parse_sp_model()
252 sp_model = &buffer[serial_len + 161]; in parse_sp_model()
/linux-3.4.99/drivers/usb/core/
Dhub.c4036 unsigned serial_len = 0; in descriptors_changed() local
4053 serial_len = strlen(udev->serial) + 1; in descriptors_changed()
4055 len = serial_len; in descriptors_changed()
4088 if (!changed && serial_len) { in descriptors_changed()
4090 buf, serial_len); in descriptors_changed()
4091 if (length + 1 != serial_len) { in descriptors_changed()