Searched refs:scsi_target_len (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/target/
H A Dtarget_core_spc.c276 u32 padding, scsi_name_len, scsi_target_len; spc_emulate_evpd_83() local
430 scsi_target_len = sprintf(&buf[off], "%s", spc_emulate_evpd_83()
432 scsi_target_len += 1 /* Include NULL terminator */; spc_emulate_evpd_83()
441 padding = ((-scsi_target_len) & 3); spc_emulate_evpd_83()
443 scsi_target_len += padding; spc_emulate_evpd_83()
444 if (scsi_target_len > 256) spc_emulate_evpd_83()
445 scsi_target_len = 256; spc_emulate_evpd_83()
447 buf[off-1] = scsi_target_len; spc_emulate_evpd_83()
448 off += scsi_target_len; spc_emulate_evpd_83()
451 len += (scsi_target_len + 4); spc_emulate_evpd_83()

Completed in 52 milliseconds