Searched refs:tcp_conn (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/ |
D | libiscsi_tcp.c | 63 static int iscsi_tcp_hdr_recv_done(struct iscsi_tcp_conn *tcp_conn, 190 int iscsi_tcp_segment_done(struct iscsi_tcp_conn *tcp_conn, in iscsi_tcp_segment_done() argument 197 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copied %u %u size %u %s\n", in iscsi_tcp_segment_done() 233 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "total copied %u total size %u\n", in iscsi_tcp_segment_done() 245 if (!(tcp_conn->iscsi_conn->session->tt->caps & CAP_PADDING_OFFLOAD)) { in iscsi_tcp_segment_done() 248 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_done() 292 iscsi_tcp_segment_recv(struct iscsi_tcp_conn *tcp_conn, in iscsi_tcp_segment_recv() argument 298 while (!iscsi_tcp_segment_done(tcp_conn, segment, 1, copy)) { in iscsi_tcp_segment_recv() 300 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_recv() 306 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copying %d\n", copy); in iscsi_tcp_segment_recv() [all …]
|
D | iscsi_tcp.c | 128 struct iscsi_tcp_conn *tcp_conn; in iscsi_sw_tcp_data_ready() local 137 tcp_conn = conn->dd_data; in iscsi_sw_tcp_data_ready() 153 iscsi_tcp_segment_unmap(&tcp_conn->in.segment); in iscsi_sw_tcp_data_ready() 159 struct iscsi_tcp_conn *tcp_conn; in iscsi_sw_tcp_state_change() local 173 tcp_conn = conn->dd_data; in iscsi_sw_tcp_state_change() 174 tcp_sw_conn = tcp_conn->dd_data; in iscsi_sw_tcp_state_change() 189 struct iscsi_tcp_conn *tcp_conn; in iscsi_sw_tcp_write_space() local 200 tcp_conn = conn->dd_data; in iscsi_sw_tcp_write_space() 201 tcp_sw_conn = tcp_conn->dd_data; in iscsi_sw_tcp_write_space() 213 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in iscsi_sw_tcp_conn_set_callbacks() local [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | transport.c | 1118 struct connection *tcp_conn = NULL; in lookup_conn_by_socketfd_unsafe() local 1121 list_for_each_entry(tcp_conn, &node->conn_impl_list, list) { in lookup_conn_by_socketfd_unsafe() 1122 if (tcp_conn->connect_handle) { in lookup_conn_by_socketfd_unsafe() 1123 tcp = (struct tcp_handle *)(tcp_conn->connect_handle); in lookup_conn_by_socketfd_unsafe() 1125 connection_get(tcp_conn); in lookup_conn_by_socketfd_unsafe() 1126 return tcp_conn; in lookup_conn_by_socketfd_unsafe() 1145 struct connection *tcp_conn = NULL; in alloc_conn_tcp() local 1148 tcp_conn = kzalloc(sizeof(*tcp_conn), GFP_KERNEL); in alloc_conn_tcp() 1149 if (!tcp_conn) in alloc_conn_tcp() 1152 kref_init(&tcp_conn->ref_cnt); in alloc_conn_tcp() [all …]
|
/kernel/linux/linux-5.10/include/scsi/ |
D | libiscsi_tcp.h | 86 extern void iscsi_tcp_hdr_recv_prep(struct iscsi_tcp_conn *tcp_conn); 94 extern int iscsi_tcp_recv_segment_is_hdr(struct iscsi_tcp_conn *tcp_conn); 95 extern int iscsi_tcp_segment_done(struct iscsi_tcp_conn *tcp_conn,
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1354 struct iscsi_tcp_conn *tcp_conn = task->conn->dd_data; in task_release_itt() local 1355 struct cxgbi_conn *cconn = tcp_conn->dd_data; in task_release_itt() 1387 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in task_reserve_itt() local 1388 struct cxgbi_conn *cconn = tcp_conn->dd_data; in task_reserve_itt() 1427 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in cxgbi_parse_pdu_itt() local 1428 struct cxgbi_conn *cconn = tcp_conn->dd_data; in cxgbi_parse_pdu_itt() 1511 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in skb_read_pdu_bhs() local 1518 if (!iscsi_tcp_recv_segment_is_hdr(tcp_conn)) { in skb_read_pdu_bhs() 1565 struct iscsi_tcp_conn *tcp_conn = conn->dd_data; in skb_read_pdu_data() local 1567 int opcode = tcp_conn->in.hdr->opcode & ISCSI_OPCODE_MASK; in skb_read_pdu_data() [all …]
|