Searched refs:sb_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/scsi/ |
D | scsi_common.c | 191 bool scsi_normalize_sense(const u8 *sense_buffer, int sb_len, in scsi_normalize_sense() argument 196 if (!sense_buffer || !sb_len) in scsi_normalize_sense() 208 if (sb_len > 1) in scsi_normalize_sense() 210 if (sb_len > 2) in scsi_normalize_sense() 212 if (sb_len > 3) in scsi_normalize_sense() 214 if (sb_len > 7) in scsi_normalize_sense() 220 if (sb_len > 2) in scsi_normalize_sense() 222 if (sb_len > 7) { in scsi_normalize_sense() 223 sb_len = min(sb_len, sense_buffer[7] + 8); in scsi_normalize_sense() 224 if (sb_len > 12) in scsi_normalize_sense() [all …]
|
D | sg.c | 580 int sb_len = SCSI_SENSE_BUFFERSIZE; in sg_new_read() local 581 sb_len = (hp->mx_sb_len > sb_len) ? sb_len : hp->mx_sb_len; in sg_new_read() 583 len = (len > sb_len) ? sb_len : len; in sg_new_read()
|
D | scsi_error.c | 2550 bool scsi_get_sense_info_fld(const u8 *sense_buffer, int sb_len, in scsi_get_sense_info_fld() argument 2555 if (sb_len < 7) in scsi_get_sense_info_fld() 2567 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld()
|
/linux-6.12.1/include/scsi/ |
D | scsi_common.h | 82 extern bool scsi_normalize_sense(const u8 *sense_buffer, int sb_len, 88 extern const u8 * scsi_sense_desc_find(const u8 * sense_buffer, int sb_len,
|
D | scsi_eh.h | 27 extern bool scsi_get_sense_info_fld(const u8 *sense_buffer, int sb_len,
|
/linux-6.12.1/net/phonet/ |
D | pep.c | 51 u8 sb_len; in pep_get_sb() member 56 if (ph == NULL || ph->sb_len < 2 || !pskb_may_pull(skb, ph->sb_len)) in pep_get_sb() 58 ph->sb_len -= 2; in pep_get_sb() 60 *plen = ph->sb_len; in pep_get_sb() 62 if (buflen > ph->sb_len) in pep_get_sb() 63 buflen = ph->sb_len; in pep_get_sb() 65 __skb_pull(skb, 2 + ph->sb_len); in pep_get_sb()
|