Searched refs:tid_len (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/target/ |
H A D | target_core_fabric_lib.c | 371 u32 tid_len, padding; iscsi_parse_pr_out_transport_id() local 401 tid_len = strlen(&buf[4]); iscsi_parse_pr_out_transport_id() 402 tid_len += 4; /* Add four bytes for iSCSI Transport ID header */ iscsi_parse_pr_out_transport_id() 403 tid_len += 1; /* Add one byte for NULL terminator */ iscsi_parse_pr_out_transport_id() 404 padding = ((-tid_len) & 3); iscsi_parse_pr_out_transport_id() 406 tid_len += padding; iscsi_parse_pr_out_transport_id() 408 if ((add_len + 4) != tid_len) { iscsi_parse_pr_out_transport_id() 410 "does not match calculated tid_len: %u," iscsi_parse_pr_out_transport_id() 411 " using tid_len instead\n", add_len+4, tid_len); iscsi_parse_pr_out_transport_id() 412 *out_tid_len = tid_len; iscsi_parse_pr_out_transport_id()
|
H A D | target_core_pr.c | 1456 u32 tpdl, tid_len = 0; core_scsi3_decode_spec_i_port() local 1555 tmp_tpg, (const char *)ptr, &tid_len, core_scsi3_decode_spec_i_port() 1616 " tid_len: %d for %s + %s\n", core_scsi3_decode_spec_i_port() 1618 tpdl, tid_len, i_str, iport_ptr); core_scsi3_decode_spec_i_port() 1620 if (tid_len > tpdl) { core_scsi3_decode_spec_i_port() 1621 pr_err("SPC-3 PR SPEC_I_PT: Illegal tid_len:" core_scsi3_decode_spec_i_port() 1622 " %u for Transport ID: %s\n", tid_len, ptr); core_scsi3_decode_spec_i_port() 1673 ptr += tid_len; core_scsi3_decode_spec_i_port() 1674 tpdl -= tid_len; core_scsi3_decode_spec_i_port() 1675 tid_len = 0; core_scsi3_decode_spec_i_port() 1728 ptr += tid_len; core_scsi3_decode_spec_i_port() 1729 tpdl -= tid_len; core_scsi3_decode_spec_i_port() 1730 tid_len = 0; core_scsi3_decode_spec_i_port() 3115 u32 tid_len, tmp_tid_len; core_scsi3_emulate_pro_register_and_move() local 3176 tid_len = (buf[20] & 0xff) << 24; core_scsi3_emulate_pro_register_and_move() 3177 tid_len |= (buf[21] & 0xff) << 16; core_scsi3_emulate_pro_register_and_move() 3178 tid_len |= (buf[22] & 0xff) << 8; core_scsi3_emulate_pro_register_and_move() 3179 tid_len |= buf[23] & 0xff; core_scsi3_emulate_pro_register_and_move() 3183 if ((tid_len + 24) != cmd->data_length) { core_scsi3_emulate_pro_register_and_move() 3184 pr_err("SPC-3 PR: Illegal tid_len: %u + 24 byte header" core_scsi3_emulate_pro_register_and_move() 3185 " does not equal CDB data_length: %u\n", tid_len, core_scsi3_emulate_pro_register_and_move()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_cpl.h | 1447 __be32 tid_len; member in struct:cpl_rdma_terminate 1454 /* cpl_rdma_terminate.tid_len fields */
|
Completed in 140 milliseconds