Searched refs:add_len (Results 1 – 5 of 5) sorted by relevance
/drivers/target/ |
D | target_core_fabric_lib.c | 283 u16 add_len; in iscsi_parse_pr_out_transport_id() local 309 add_len = (buf[2] << 8) | buf[3]; in iscsi_parse_pr_out_transport_id() 318 if ((add_len + 4) != tid_len) { in iscsi_parse_pr_out_transport_id() 321 " using tid_len instead\n", add_len+4, tid_len); in iscsi_parse_pr_out_transport_id() 324 *out_tid_len = (add_len + 4); in iscsi_parse_pr_out_transport_id()
|
D | target_core_pr.c | 3726 u32 add_len = 0, off = 8; in core_scsi3_pri_read_keys() local 3750 if ((add_len + 8) > (cmd->data_length - 8)) in core_scsi3_pri_read_keys() 3762 add_len += 8; in core_scsi3_pri_read_keys() 3766 buf[4] = ((add_len >> 24) & 0xff); in core_scsi3_pri_read_keys() 3767 buf[5] = ((add_len >> 16) & 0xff); in core_scsi3_pri_read_keys() 3768 buf[6] = ((add_len >> 8) & 0xff); in core_scsi3_pri_read_keys() 3769 buf[7] = (add_len & 0xff); in core_scsi3_pri_read_keys() 3788 u32 add_len = 16; /* Hardcoded to 16 when a reservation is held. */ in core_scsi3_pri_read_reservation() local 3811 buf[4] = ((add_len >> 24) & 0xff); in core_scsi3_pri_read_reservation() 3812 buf[5] = ((add_len >> 16) & 0xff); in core_scsi3_pri_read_reservation() [all …]
|
/drivers/scsi/ |
D | scsi_common.c | 198 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local 210 add_len = (k < (add_sen_len - 1)) ? descp[1]: -1; in scsi_sense_desc_find() 211 desc_len = add_len + 2; in scsi_sense_desc_find() 214 if (add_len < 0) // short descriptor ?? in scsi_sense_desc_find()
|
D | ipr.c | 2257 int i, add_len; in ipr_log_fabric_error() local 2263 add_len = be32_to_cpu(hostrcb->hcam.length) - in ipr_log_fabric_error() 2272 add_len -= be16_to_cpu(fabric->length); in ipr_log_fabric_error() 2277 ipr_log_hex_data(ioa_cfg, (__be32 *)fabric, add_len); in ipr_log_fabric_error() 2350 int i, add_len; in ipr_log_sis64_fabric_error() local 2357 add_len = be32_to_cpu(hostrcb->hcam.length) - in ipr_log_sis64_fabric_error() 2366 add_len -= be16_to_cpu(fabric->length); in ipr_log_sis64_fabric_error() 2371 ipr_log_hex_data(ioa_cfg, (__be32 *)fabric, add_len); in ipr_log_sis64_fabric_error()
|
/drivers/ata/ |
D | libata-zpodd.c | 92 unsigned int ret, asc, ascq, add_len; in zpready() local 109 add_len = sense_buf[7]; in zpready() 111 if (add_len < 6) in zpready()
|