Searched refs:scsi_target_len (Results 1 – 1 of 1) sorted by relevance
262 u32 padding, scsi_name_len, scsi_target_len; in spc_emulate_evpd_83() local408 scsi_target_len = sprintf(&buf[off], "%s", in spc_emulate_evpd_83()410 scsi_target_len += 1 /* Include NULL terminator */; in spc_emulate_evpd_83()419 padding = ((-scsi_target_len) & 3); in spc_emulate_evpd_83()421 scsi_target_len += padding; in spc_emulate_evpd_83()422 if (scsi_target_len > 256) in spc_emulate_evpd_83()423 scsi_target_len = 256; in spc_emulate_evpd_83()425 buf[off-1] = scsi_target_len; in spc_emulate_evpd_83()426 off += scsi_target_len; in spc_emulate_evpd_83()429 len += (scsi_target_len + 4); in spc_emulate_evpd_83()