Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/target/
Dtarget_core_fabric_lib.c268 u32 tid_len, padding; in iscsi_parse_pr_out_transport_id() local
298 tid_len = strlen(&buf[4]); in iscsi_parse_pr_out_transport_id()
299 tid_len += 4; /* Add four bytes for iSCSI Transport ID header */ in iscsi_parse_pr_out_transport_id()
300 tid_len += 1; /* Add one byte for NULL terminator */ in iscsi_parse_pr_out_transport_id()
301 padding = ((-tid_len) & 3); in iscsi_parse_pr_out_transport_id()
303 tid_len += padding; in iscsi_parse_pr_out_transport_id()
305 if ((add_len + 4) != tid_len) { in iscsi_parse_pr_out_transport_id()
308 " using tid_len instead\n", add_len+4, tid_len); in iscsi_parse_pr_out_transport_id()
309 *out_tid_len = tid_len; in iscsi_parse_pr_out_transport_id()
Dtarget_core_pr.c1508 u32 tpdl, tid_len = 0; in core_scsi3_decode_spec_i_port() local
1595 ptr, &tid_len, &iport_ptr); in core_scsi3_decode_spec_i_port()
1657 tpdl, tid_len, i_str, iport_ptr); in core_scsi3_decode_spec_i_port()
1659 if (tid_len > tpdl) { in core_scsi3_decode_spec_i_port()
1661 " %u for Transport ID: %s\n", tid_len, ptr); in core_scsi3_decode_spec_i_port()
1712 ptr += tid_len; in core_scsi3_decode_spec_i_port()
1713 tpdl -= tid_len; in core_scsi3_decode_spec_i_port()
1714 tid_len = 0; in core_scsi3_decode_spec_i_port()
1771 ptr += tid_len; in core_scsi3_decode_spec_i_port()
1772 tpdl -= tid_len; in core_scsi3_decode_spec_i_port()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1447 __be32 tid_len; member