Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_main.c496 qedi->cid_que.cid_que_base = kmalloc_array(qedi->max_active_conns, in qedi_setup_cid_que()
498 if (!qedi->cid_que.cid_que_base) in qedi_setup_cid_que()
501 qedi->cid_que.conn_cid_tbl = kmalloc_array(qedi->max_active_conns, in qedi_setup_cid_que()
504 if (!qedi->cid_que.conn_cid_tbl) { in qedi_setup_cid_que()
505 kfree(qedi->cid_que.cid_que_base); in qedi_setup_cid_que()
506 qedi->cid_que.cid_que_base = NULL; in qedi_setup_cid_que()
510 qedi->cid_que.cid_que = (u32 *)qedi->cid_que.cid_que_base; in qedi_setup_cid_que()
511 qedi->cid_que.cid_q_prod_idx = 0; in qedi_setup_cid_que()
512 qedi->cid_que.cid_q_cons_idx = 0; in qedi_setup_cid_que()
513 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.c356 if (qedi->cid_que.conn_cid_tbl[iscsi_cid]) { in qedi_bind_conn_to_iscsi_cid()
363 qedi->cid_que.conn_cid_tbl[iscsi_cid] = qedi_conn; in qedi_bind_conn_to_iscsi_cid()
369 if (!qedi->cid_que.conn_cid_tbl) { in qedi_get_conn_from_id()
377 return qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_get_conn_from_id()
1163 qedi->cid_que.conn_cid_tbl[qedi_ep->iscsi_cid] = NULL; in qedi_ep_disconnect()
Dqedi_fw.c580 qedi_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_scsi_completion()
743 qedi_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_process_cmd_cleanup_resp()
881 q_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid]; in qedi_fp_process_cqes()