Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/target/
Dtarget_core_spc.c290 u32 padding, scsi_name_len, scsi_target_len; in spc_emulate_evpd_83() local
436 scsi_target_len = sprintf(&buf[off], "%s", in spc_emulate_evpd_83()
438 scsi_target_len += 1 /* Include NULL terminator */; in spc_emulate_evpd_83()
447 padding = ((-scsi_target_len) & 3); in spc_emulate_evpd_83()
449 scsi_target_len += padding; in spc_emulate_evpd_83()
450 if (scsi_target_len > 256) in spc_emulate_evpd_83()
451 scsi_target_len = 256; in spc_emulate_evpd_83()
453 buf[off-1] = scsi_target_len; in spc_emulate_evpd_83()
454 off += scsi_target_len; in spc_emulate_evpd_83()
457 len += (scsi_target_len + 4); in spc_emulate_evpd_83()