Home
last modified time | relevance | path

Searched refs:tid_len (Results 1 – 3 of 3) sorted by relevance

/drivers/target/
Dtarget_core_fabric_lib.c281 u32 tid_len, padding; in iscsi_parse_pr_out_transport_id() local
311 tid_len = strlen(&buf[4]); in iscsi_parse_pr_out_transport_id()
312 tid_len += 4; /* Add four bytes for iSCSI Transport ID header */ in iscsi_parse_pr_out_transport_id()
313 tid_len += 1; /* Add one byte for NULL terminator */ in iscsi_parse_pr_out_transport_id()
314 padding = ((-tid_len) & 3); in iscsi_parse_pr_out_transport_id()
316 tid_len += padding; 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()
322 *out_tid_len = tid_len; in iscsi_parse_pr_out_transport_id()
Dtarget_core_pr.c1514 u32 tpdl, tid_len = 0; in core_scsi3_decode_spec_i_port() local
1604 (const char *)ptr, &tid_len, &iport_ptr); in core_scsi3_decode_spec_i_port()
1666 tpdl, tid_len, i_str, iport_ptr); in core_scsi3_decode_spec_i_port()
1668 if (tid_len > tpdl) { in core_scsi3_decode_spec_i_port()
1670 " %u for Transport ID: %s\n", tid_len, ptr); in core_scsi3_decode_spec_i_port()
1721 ptr += tid_len; in core_scsi3_decode_spec_i_port()
1722 tpdl -= tid_len; in core_scsi3_decode_spec_i_port()
1723 tid_len = 0; in core_scsi3_decode_spec_i_port()
1780 ptr += tid_len; in core_scsi3_decode_spec_i_port()
1781 tpdl -= tid_len; in core_scsi3_decode_spec_i_port()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1447 __be32 tid_len; member