Searched refs:scsi_name_len (Results 1 – 1 of 1) sorted by relevance
274 u32 padding, scsi_name_len, scsi_target_len; in spc_emulate_evpd_83() local388 scsi_name_len = sprintf(&buf[off], "%s,t,0x%04x", in spc_emulate_evpd_83()390 scsi_name_len += 1 /* Include NULL terminator */; in spc_emulate_evpd_83()399 padding = ((-scsi_name_len) & 3); in spc_emulate_evpd_83()401 scsi_name_len += padding; in spc_emulate_evpd_83()402 if (scsi_name_len > 256) in spc_emulate_evpd_83()403 scsi_name_len = 256; in spc_emulate_evpd_83()405 buf[off-1] = scsi_name_len; in spc_emulate_evpd_83()406 off += scsi_name_len; in spc_emulate_evpd_83()408 len += (scsi_name_len + 4); in spc_emulate_evpd_83()