Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.h110 int itt; /* this ITT */ member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c148 hdr->itt = task->hdr_itt; in iscsi_prep_data_out_pdu()
259 opcode, task->itt, task->hdr_itt); in iscsi_check_tmf_restrictions()
269 opcode, task->itt, task->hdr_itt); in iscsi_check_tmf_restrictions()
285 "progress\n", task->itt, in iscsi_check_tmf_restrictions()
309 itt_t itt; in iscsi_prep_scsi_cmd_pdu() local
322 itt = hdr->itt; in iscsi_prep_scsi_cmd_pdu()
326 hdr->itt = task->hdr_itt = itt; in iscsi_prep_scsi_cmd_pdu()
328 hdr->itt = task->hdr_itt = build_itt(task->itt, in iscsi_prep_scsi_cmd_pdu()
428 task->itt, transfer_length, in iscsi_prep_scsi_cmd_pdu()
450 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()
589 task->itt); in iscsi_tcp_r2t_rsp()
707 rc = iscsi_verify_itt(conn, hdr->itt); in iscsi_tcp_hdr_dissect()
717 task = iscsi_itt_to_ctask(conn, hdr->itt); in iscsi_tcp_hdr_dissect()
1001 ISCSI_DBG_TCP(conn, "mtask deq [itt 0x%x]\n", task->itt); in iscsi_tcp_task_init()
1011 task->itt, task->imm_count, task->unsol_r2t.data_length); in iscsi_tcp_task_init()
1080 if (task->hdr->itt == RESERVED_ITT) in iscsi_tcp_task_xmit()
1102 r2t, r2t->datasn - 1, task->hdr->itt, in iscsi_tcp_task_xmit()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_initiator.c87 task->itt, mem_reg->rkey, in iser_prepare_read_cmd()
146 task->itt, mem_reg->rkey, in iser_prepare_write_cmd()
152 task->itt, imm_sz); in iser_prepare_write_cmd()
427 iser_err("conn %p failed task->itt %d err %d\n",conn, task->itt, err); in iser_send_command()
447 uint32_t itt; in iser_send_data_out() local
451 itt = (__force uint32_t)hdr->itt; in iser_send_data_out()
456 __func__,(int)itt,(int)data_seg_len,(int)buf_offset); in iser_send_data_out()
482 iser_task->data[ISER_DIR_OUT].data_len, itt); in iser_send_data_out()
487 itt, buf_offset, data_seg_len); in iser_send_data_out()
585 hdr->itt, length); in iser_login_rsp()
[all …]
Discsi_iser.c273 iser_dbg("mtask xmit [cid %d itt 0x%x]\n", conn->id, task->itt); in iscsi_iser_mtask_xmit()
298 hdr.itt, r2t->data_count); in iscsi_iser_task_xmit_unsol_data()
336 task->itt, scsi_bufflen(task->sc), in iscsi_iser_task_xmit()
341 conn->id, task->itt); in iscsi_iser_task_xmit()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.h160 int itt; member
231 #define qedi_set_itt(task_id, itt) ((u32)(((task_id) & 0xffff) | ((itt) << 16))) argument
232 #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()
212 resp_hdr_ptr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_tmf_resp()
274 resp_hdr_ptr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_login_resp()
432 hdr->itt = RESERVED_ITT; in qedi_process_nopin_mesg()
442 hdr->itt = build_itt(cqe->cqe_solicited.itid, in qedi_process_nopin_mesg()
621 hdr->itt = build_itt(cqe->cqe_solicited.itid, conn->session->age); in qedi_scsi_completion()
640 hdr->itt, cqe_data_in->flags, cmd->task_id, in qedi_scsi_completion()
801 get_itt(tmf_hdr->rtt), get_itt(task->itt), in qedi_process_cmd_cleanup_resp()
910 if ((nopout_hdr->itt == RESERVED_ITT) && in qedi_fp_process_cqes()
[all …]
Dqedi_gbl.h50 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.c1857 qedi->itt_map[tid].itt = proto_itt; in qedi_update_itt_map()
1862 qedi->itt_map[tid].itt); in qedi_update_itt_map()
1865 void qedi_get_task_tid(struct qedi_ctx *qedi, u32 itt, s16 *tid) in qedi_get_task_tid() argument
1870 if (qedi->itt_map[i].itt == itt) { in qedi_get_task_tid()
1874 itt, *tid); in qedi_get_task_tid()
1884 *proto_itt = qedi->itt_map[tid].itt; in qedi_get_proto_itt()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target.c1133 conn->sess->init_task_tag = cmd->init_task_tag = hdr->itt; in iscsit_setup_scsi_cmd()
1163 " ExpXferLen: %u, Length: %u, CID: %hu\n", hdr->itt, in iscsit_setup_scsi_cmd()
1460 hdr->itt, hdr->ttt, hdr->datasn, ntohl(hdr->offset), in __iscsit_check_dataout_hdr()
1572 cmd = iscsit_find_cmd_from_itt_or_dump(conn, hdr->itt, payload_length); in iscsit_check_dataout_hdr()
1640 hdr->itt, hdr->offset, payload_length, in iscsit_get_dataout()
1729 if (hdr->itt == RESERVED_ITT && !(hdr->opcode & ISCSI_OP_IMMEDIATE)) { in iscsit_setup_nop_out()
1755 hdr->itt == RESERVED_ITT ? "Response" : "Request", in iscsit_setup_nop_out()
1756 hdr->itt, hdr->ttt, hdr->cmdsn, hdr->exp_statsn, in iscsit_setup_nop_out()
1770 conn->sess->init_task_tag = cmd->init_task_tag = hdr->itt; in iscsit_setup_nop_out()
1789 if (hdr->itt != RESERVED_ITT) { in iscsit_process_nop_out()
[all …]
Discsi_target_nego.c239 if (login_req->itt != login->init_task_tag) { in iscsi_target_check_login_request()
241 " 0x%08x, protocol error.\n", login_req->itt); in iscsi_target_check_login_request()
337 login_rsp->itt = login->init_task_tag; in iscsi_target_do_tx_login_io()
344 " %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()
1022 login_req->flags, login_req->itt, login_req->cmdsn, in iscsit_get_login_rx()
1036 login->init_task_tag = login_req->itt; in iscsit_get_login_rx()
1298 conn->login_itt = pdu->itt; in __iscsi_target_login_thread()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
Dbe_main.h439 u8 itt[32]; /* ITT; initiator task tag */ member
824 u8 itt[32]; /* initiator id for ping or 0xffffffff */ member
852 u8 itt[32]; /* initiator task tag */ member
Dbe_main.c1190 hdr->itt = io_task->libiscsi_itt; in be_complete_logout()
1211 hdr->itt = io_task->libiscsi_itt; in be_complete_tmf()
1266 hdr->itt = io_task->libiscsi_itt; in be_complete_nopin_resp()
1437 login_hdr->itt = io_task->libiscsi_itt; in beiscsi_complete_pdu()
4355 static void beiscsi_parse_pdu(struct iscsi_conn *conn, itt_t itt, in beiscsi_parse_pdu() argument
4358 *index = (int)itt; in beiscsi_parse_pdu()
4381 itt_t itt; in beiscsi_alloc_pdu() local
4391 io_task->libiscsi_itt = (itt_t)task->itt; in beiscsi_alloc_pdu()
4491 itt = (itt_t) cpu_to_be32(((unsigned int)io_task->pwrb_handle-> in beiscsi_alloc_pdu()
4496 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3-its.c163 void *itt; member
597 itt_addr = virt_to_phys(desc->its_mapd_cmd.dev->itt); in its_build_mapd_cmd()
3350 void *itt; in its_create_device() local
3370 itt = kzalloc_node(sz, GFP_KERNEL, its->numa_node); in its_create_device()
3382 if (!dev || !itt || !col_map || (!lpi_map && alloc_lpis)) { in its_create_device()
3384 kfree(itt); in its_create_device()
3390 gic_flush_dcache_to_poc(itt, sz); in its_create_device()
3393 dev->itt = itt; in its_create_device()
3421 kfree(its_dev->itt); in its_free_device()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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