Home
last modified time | relevance | path

Searched refs:cid_que (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c242 if (hba && hba->cid_que.conn_cid_tbl[iscsi_cid]) { in bnx2i_bind_conn_to_iscsi_cid()
248 hba->cid_que.conn_cid_tbl[iscsi_cid] = bnx2i_conn; in bnx2i_bind_conn_to_iscsi_cid()
261 if (!hba->cid_que.conn_cid_tbl) { in bnx2i_get_conn_from_id()
269 return hba->cid_que.conn_cid_tbl[iscsi_cid]; in bnx2i_get_conn_from_id()
281 if (!hba->cid_que.cid_free_cnt) in bnx2i_alloc_iscsi_cid()
284 idx = hba->cid_que.cid_q_cons_idx; in bnx2i_alloc_iscsi_cid()
285 hba->cid_que.cid_q_cons_idx++; in bnx2i_alloc_iscsi_cid()
286 if (hba->cid_que.cid_q_cons_idx == hba->cid_que.cid_q_max_idx) in bnx2i_alloc_iscsi_cid()
287 hba->cid_que.cid_q_cons_idx = 0; in bnx2i_alloc_iscsi_cid()
289 hba->cid_que.cid_free_cnt--; in bnx2i_alloc_iscsi_cid()
[all …]
Dbnx2i.h324 u32 *cid_que; member
439 struct iscsi_cid_queue cid_que; member
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_main.c494 qedi->cid_que.cid_que_base = kmalloc_array(qedi->max_active_conns, in qedi_setup_cid_que()
496 if (!qedi->cid_que.cid_que_base) in qedi_setup_cid_que()
499 qedi->cid_que.conn_cid_tbl = kmalloc_array(qedi->max_active_conns, in qedi_setup_cid_que()
502 if (!qedi->cid_que.conn_cid_tbl) { in qedi_setup_cid_que()
503 kfree(qedi->cid_que.cid_que_base); in qedi_setup_cid_que()
504 qedi->cid_que.cid_que_base = NULL; in qedi_setup_cid_que()
508 qedi->cid_que.cid_que = (u32 *)qedi->cid_que.cid_que_base; in qedi_setup_cid_que()
509 qedi->cid_que.cid_q_prod_idx = 0; in qedi_setup_cid_que()
510 qedi->cid_que.cid_q_cons_idx = 0; in qedi_setup_cid_que()
511 qedi->cid_que.cid_q_max_idx = qedi->max_active_conns; in qedi_setup_cid_que()
[all …]
Dqedi.h197 u32 *cid_que; member
315 struct iscsi_cid_queue cid_que; member
Dqedi_iscsi.c357 if (qedi->cid_que.conn_cid_tbl[iscsi_cid]) { in qedi_bind_conn_to_iscsi_cid()
364 qedi->cid_que.conn_cid_tbl[iscsi_cid] = qedi_conn; in qedi_bind_conn_to_iscsi_cid()
370 if (!qedi->cid_que.conn_cid_tbl) { in qedi_get_conn_from_id()
378 return qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_get_conn_from_id()
1202 qedi->cid_que.conn_cid_tbl[qedi_ep->iscsi_cid] = NULL; in qedi_ep_disconnect()
Dqedi_fw.c591 qedi_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_scsi_completion()
744 qedi_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_process_cmd_cleanup_resp()
851 q_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_fp_process_cqes()