Searched refs:scsi_name_len (Results 1 – 1 of 1) sorted by relevance
290 u32 padding, scsi_name_len, scsi_target_len; in spc_emulate_evpd_83() local397 scsi_name_len = sprintf(&buf[off], "%s,t,0x%04x", in spc_emulate_evpd_83()399 scsi_name_len += 1 /* Include NULL terminator */; in spc_emulate_evpd_83()408 padding = ((-scsi_name_len) & 3); in spc_emulate_evpd_83()410 scsi_name_len += padding; in spc_emulate_evpd_83()411 if (scsi_name_len > 256) in spc_emulate_evpd_83()412 scsi_name_len = 256; in spc_emulate_evpd_83()414 buf[off-1] = scsi_name_len; in spc_emulate_evpd_83()415 off += scsi_name_len; in spc_emulate_evpd_83()417 len += (scsi_name_len + 4); in spc_emulate_evpd_83()