Home
last modified time | relevance | path

Searched refs:itt (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/include/scsi/
Discsi_proto.h68 #define build_itt(itt, age) ((__force itt_t)\ argument
69 ((itt) | ((age) << ISCSI_AGE_SHIFT)))
70 #define get_itt(itt) ((__force uint32_t)(itt_t)(itt) & ISCSI_ITT_MASK) argument
83 itt_t itt; /* Initiator Task Tag, opaque for target */ member
145 itt_t itt; /* Initiator Task Tag */ member
191 itt_t itt; /* Initiator Task Tag */ member
249 itt_t itt; /* Initiator Task Tag */ member
264 itt_t itt; /* Initiator Task Tag */ member
280 itt_t itt; /* Initiator Task Tag */ member
312 itt_t itt; /* Initiator Task Tag */ member
[all …]
Dlibiscsi.h113 int itt; /* this ITT */ member
/linux-6.6.21/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h121 u16 itt; member
127 u16 itt; member
174 u16 itt; member
180 u16 itt; member
234 u16 itt; member
240 u16 itt; member
360 u16 itt; member
366 u16 itt; member
395 u16 itt; member
401 u16 itt; member
[all …]
Dbnx2i_hwi.c348 login_wqe->itt = task->itt | in bnx2i_send_iscsi_login()
400 tmfabort_wqe->itt = (mtask->itt | (ISCSI_TASK_TYPE_MPATH << 14)); in bnx2i_send_iscsi_tmf()
471 text_wqe->itt = mtask->itt | in bnx2i_send_iscsi_text()
551 nopout_wqe->itt = ((u16)task->itt | in bnx2i_send_iscsi_nopout()
558 else if (nopout_hdr->itt == RESERVED_ITT) in bnx2i_send_iscsi_nopout()
604 logout_wqe->itt = ((u16)task->itt | in bnx2i_send_iscsi_logout()
736 cmd_cleanup->itt = cmd->req.itt; in bnx2i_send_cmd_cleanup_req()
1351 resp_cqe->itt & ISCSI_CMD_RESPONSE_INDEX); in bnx2i_process_scsi_cmd_resp()
1447 login->itt & ISCSI_LOGIN_RESPONSE_INDEX); in bnx2i_process_login_resp()
1462 resp_hdr->itt = task->hdr->itt; in bnx2i_process_login_resp()
[all …]
/linux-6.6.21/drivers/scsi/
Dlibiscsi.c160 hdr->itt = task->hdr_itt; in iscsi_prep_data_out_pdu()
271 opcode, task->itt, task->hdr_itt); in iscsi_check_tmf_restrictions()
281 opcode, task->itt, task->hdr_itt); in iscsi_check_tmf_restrictions()
297 "progress\n", task->itt, in iscsi_check_tmf_restrictions()
321 itt_t itt; in iscsi_prep_scsi_cmd_pdu() local
334 itt = hdr->itt; in iscsi_prep_scsi_cmd_pdu()
338 hdr->itt = task->hdr_itt = itt; in iscsi_prep_scsi_cmd_pdu()
340 hdr->itt = task->hdr_itt = build_itt(task->itt, in iscsi_prep_scsi_cmd_pdu()
440 task->itt, transfer_length, in iscsi_prep_scsi_cmd_pdu()
462 task->itt, task->state, task->sc); in iscsi_free_task()
[all …]
Dlibiscsi_tcp.c543 task = iscsi_itt_to_ctask(conn, hdr->itt); in iscsi_tcp_r2t_rsp()
593 task->itt); in iscsi_tcp_r2t_rsp()
711 rc = iscsi_verify_itt(conn, hdr->itt); in iscsi_tcp_hdr_dissect()
721 task = iscsi_itt_to_ctask(conn, hdr->itt); in iscsi_tcp_hdr_dissect()
1005 ISCSI_DBG_TCP(conn, "mtask deq [itt 0x%x]\n", task->itt); in iscsi_tcp_task_init()
1015 task->itt, task->imm_count, task->unsol_r2t.data_length); in iscsi_tcp_task_init()
1084 if (task->hdr->itt == RESERVED_ITT) in iscsi_tcp_task_xmit()
1106 r2t, r2t->datasn - 1, task->hdr->itt, in iscsi_tcp_task_xmit()
/linux-6.6.21/drivers/infiniband/ulp/iser/
Diser_initiator.c74 task->itt, mem_reg->rkey, in iser_prepare_read_cmd()
122 task->itt, mem_reg->rkey, in iser_prepare_write_cmd()
128 task->itt, imm_sz); in iser_prepare_write_cmd()
402 iser_err("conn %p failed task->itt %d err %d\n",conn, task->itt, err); in iser_send_command()
421 uint32_t itt; in iser_send_data_out() local
425 itt = (__force uint32_t)hdr->itt; in iser_send_data_out()
430 __func__,(int)itt,(int)data_seg_len,(int)buf_offset); in iser_send_data_out()
456 iser_task->data[ISER_DIR_OUT].data_len, itt); in iser_send_data_out()
461 itt, buf_offset, data_seg_len); in iser_send_data_out()
560 hdr->itt, length); in iser_login_rsp()
[all …]
Discsi_iser.c272 iser_dbg("mtask xmit [cid %d itt 0x%x]\n", conn->id, task->itt); in iscsi_iser_mtask_xmit()
296 hdr.itt, r2t->data_count); in iscsi_iser_task_xmit_unsol_data()
333 task->itt, scsi_bufflen(task->sc), in iscsi_iser_task_xmit()
338 conn->id, task->itt); in iscsi_iser_task_xmit()
/linux-6.6.21/include/linux/qed/
Discsi_common.h239 __le32 itt; member
274 __le32 itt; member
302 __le32 itt; member
333 __le32 itt; member
348 __le32 itt; member
367 __le32 itt; member
397 __le32 itt; member
413 __le32 itt; member
434 __le32 itt; member
459 __le32 itt; member
[all …]
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_iscsi.h161 int itt; member
233 #define qedi_set_itt(task_id, itt) ((u32)(((task_id) & 0xffff) | ((itt) << 16))) argument
234 #define qedi_get_itt(cqe) (cqe.iscsi_hdr.cmd.itt >> 16)
Dqedi_fw.c50 resp_hdr->itt = build_itt(cqe->cqe_solicited.itid, conn->session->age); in qedi_process_logout_resp()
109 resp_hdr_ptr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_text_resp()
214 resp_hdr_ptr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_tmf_resp()
285 resp_hdr_ptr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_login_resp()
443 hdr->itt = RESERVED_ITT; in qedi_process_nopin_mesg()
453 hdr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_nopin_mesg()
625 hdr->itt = build_itt(cqe->cqe_solicited.itid, conn->session->age); in qedi_scsi_completion()
644 hdr->itt, cqe_data_in->flags, cmd->task_id, in qedi_scsi_completion()
795 get_itt(tmf_hdr->rtt), get_itt(task->itt), dbg_cmd->task_id, in qedi_process_cmd_cleanup_resp()
880 if ((nopout_hdr->itt == RESERVED_ITT) && in qedi_fp_process_cqes()
[all …]
Dqedi_gbl.h49 void qedi_get_task_tid(struct qedi_ctx *qedi, u32 itt, int16_t *tid);
Dqedi_fw_api.c174 pdu_header->itt == ISCSI_TTT_ALL_ONES)) in init_sqe()
511 cpu_to_le32(pdu_header->itt); in init_rw_iscsi_task()
668 if (nop_out_pdu_header->itt == ISCSI_ITT_ALL_ONES) in init_initiator_nop_out_task()
Dqedi.h214 __le32 itt; member
Dqedi_main.c1854 qedi->itt_map[tid].itt = proto_itt; in qedi_update_itt_map()
1859 qedi->itt_map[tid].itt); in qedi_update_itt_map()
1862 void qedi_get_task_tid(struct qedi_ctx *qedi, u32 itt, s16 *tid) in qedi_get_task_tid() argument
1867 if (qedi->itt_map[i].itt == itt) { in qedi_get_task_tid()
1871 itt, *tid); in qedi_get_task_tid()
1881 *proto_itt = qedi->itt_map[tid].itt; in qedi_get_proto_itt()
/linux-6.6.21/drivers/target/iscsi/
Discsi_target.c1164 conn->sess->init_task_tag = cmd->init_task_tag = hdr->itt; in iscsit_setup_scsi_cmd()
1198 " ExpXferLen: %u, Length: %u, CID: %hu\n", hdr->itt, in iscsit_setup_scsi_cmd()
1500 hdr->itt, hdr->ttt, hdr->datasn, ntohl(hdr->offset), in __iscsit_check_dataout_hdr()
1612 cmd = iscsit_find_cmd_from_itt_or_dump(conn, hdr->itt, payload_length); in iscsit_check_dataout_hdr()
1680 hdr->itt, hdr->offset, payload_length, in iscsit_get_dataout()
1769 if (hdr->itt == RESERVED_ITT && !(hdr->opcode & ISCSI_OP_IMMEDIATE)) { in iscsit_setup_nop_out()
1795 hdr->itt == RESERVED_ITT ? "Response" : "Request", in iscsit_setup_nop_out()
1796 hdr->itt, hdr->ttt, hdr->cmdsn, hdr->exp_statsn, in iscsit_setup_nop_out()
1810 conn->sess->init_task_tag = cmd->init_task_tag = hdr->itt; in iscsit_setup_nop_out()
1829 if (hdr->itt != RESERVED_ITT) { in iscsit_process_nop_out()
[all …]
Discsi_target_nego.c231 if (login_req->itt != login->init_task_tag) { in iscsi_target_check_login_request()
233 " 0x%08x, protocol error.\n", login_req->itt); in iscsi_target_check_login_request()
329 login_rsp->itt = login->init_task_tag; in iscsi_target_do_tx_login_io()
336 " %u\n", login_rsp->flags, (__force u32)login_rsp->itt, in iscsi_target_do_tx_login_io()
Discsi_target_login.c274 sess->init_task_tag = pdu->itt; in iscsi_login_zero_tsih_s1()
982 login_req->flags, login_req->itt, login_req->cmdsn, in iscsit_get_login_rx()
996 login->init_task_tag = login_req->itt; in iscsit_get_login_rx()
1276 conn->login_itt = pdu->itt; in __iscsi_target_login_thread()
/linux-6.6.21/drivers/scsi/cxgbi/
Dlibcxgbi.c1391 u32 sw_tag = cxgbi_build_sw_tag(task->itt, sess->age); in task_reserve_itt()
1421 cdev, task, sw_tag, task->itt, sess->age, tag, *hdr_itt); in task_reserve_itt()
1425 void cxgbi_parse_pdu_itt(struct iscsi_conn *conn, itt_t itt, int *idx, int *age) in cxgbi_parse_pdu_itt() argument
1431 u32 tag = ntohl((__force u32)itt); in cxgbi_parse_pdu_itt()
1446 cdev, tag, itt, sw_bits, idx ? *idx : 0xFFFFF, in cxgbi_parse_pdu_itt()
1539 itt_t itt = ((struct iscsi_data *)skb->data)->itt; in skb_read_pdu_bhs() local
1540 struct iscsi_task *task = iscsi_itt_to_ctask(conn, itt); in skb_read_pdu_bhs()
1594 skb, opcode, ntohl(tcp_conn->in.hdr->itt), in skb_read_pdu_data()
2045 task_reserve_itt(task, &task->hdr->itt); in cxgbi_conn_alloc_pdu()
2050 conn->max_xmit_dlength, be32_to_cpu(task->hdr->itt)); in cxgbi_conn_alloc_pdu()
[all …]
/linux-6.6.21/drivers/scsi/be2iscsi/
Dbe_main.h438 u8 itt[32]; /* ITT; initiator task tag */ member
823 u8 itt[32]; /* initiator id for ping or 0xffffffff */ member
851 u8 itt[32]; /* initiator task tag */ member
Dbe_main.c1207 hdr->itt = io_task->libiscsi_itt; in be_complete_logout()
1228 hdr->itt = io_task->libiscsi_itt; in be_complete_tmf()
1283 hdr->itt = io_task->libiscsi_itt; in be_complete_nopin_resp()
1454 login_hdr->itt = io_task->libiscsi_itt; in beiscsi_complete_pdu()
4350 static void beiscsi_parse_pdu(struct iscsi_conn *conn, itt_t itt, in beiscsi_parse_pdu() argument
4353 *index = (int)itt; in beiscsi_parse_pdu()
4376 itt_t itt; in beiscsi_alloc_pdu() local
4386 io_task->libiscsi_itt = (itt_t)task->itt; in beiscsi_alloc_pdu()
4483 itt = (itt_t) cpu_to_be32(((unsigned int)io_task->pwrb_handle-> in beiscsi_alloc_pdu()
4488 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
[all …]
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1014 cmd = iscsit_find_cmd_from_itt_or_dump(conn, hdr->itt, 0); in cxgbit_handle_iscsi_dataout()
1042 hdr->itt, hdr->offset, data_len, in cxgbit_handle_iscsi_dataout()
1247 cmd = iscsit_find_cmd_from_itt(conn, hdr->itt); in cxgbit_target_rx_opcode()
1334 login_req->flags, login_req->itt, login_req->cmdsn, in cxgbit_rx_login_pdu()
1349 login->init_task_tag = login_req->itt; in cxgbit_rx_login_pdu()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dcnic_defs.h3841 u32 itt; member
4530 u32 itt; member
4683 u32 itt; member
4742 u32 itt; member
4782 u32 itt; member
4822 u32 itt; member
4862 u32 itt; member
4896 u32 itt; member
/linux-6.6.21/drivers/irqchip/
Dirq-gic-v3-its.c165 void *itt; member
622 itt_addr = virt_to_phys(desc->its_mapd_cmd.dev->itt); in its_build_mapd_cmd()
3415 void *itt; in its_create_device() local
3435 itt = kzalloc_node(sz, GFP_KERNEL, its->numa_node); in its_create_device()
3447 if (!dev || !itt || !col_map || (!lpi_map && alloc_lpis)) { in its_create_device()
3449 kfree(itt); in its_create_device()
3455 gic_flush_dcache_to_poc(itt, sz); in its_create_device()
3458 dev->itt = itt; in its_create_device()
3486 kfree(its_dev->itt); in its_free_device()
/linux-6.6.21/drivers/scsi/qla4xxx/
Dql4_isr.c371 itt_t itt; in qla4xxx_passthru_status_entry() local
374 itt = sts_entry->handle; in qla4xxx_passthru_status_entry()
388 task = iscsi_itt_to_task(conn, itt); in qla4xxx_passthru_status_entry()

12