Searched refs:serial_len (Results 1 – 2 of 2) sorted by relevance
221 unsigned char sp_len, serial_len; in parse_sp_model() local238 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()
4036 unsigned serial_len = 0; in descriptors_changed() local4053 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()