Home
last modified time | relevance | path

Searched refs:cmd_mgr (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_io.c398 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_elstm_alloc() local
438 cmd_mgr->free_list[index].next; in bnx2fc_elstm_alloc()
442 cmd_mgr->cmds[xid] = io_req; in bnx2fc_elstm_alloc()
450 io_req->cmd_mgr = cmd_mgr; in bnx2fc_elstm_alloc()
468 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_cmd_alloc() local
492 cmd_mgr->free_list[index].next; in bnx2fc_cmd_alloc()
496 cmd_mgr->cmds[xid] = io_req; in bnx2fc_cmd_alloc()
504 io_req->cmd_mgr = cmd_mgr; in bnx2fc_cmd_alloc()
521 struct bnx2fc_cmd_mgr *cmd_mgr = io_req->cmd_mgr; in bnx2fc_cmd_release() local
533 cmd_mgr->cmds[io_req->xid] = NULL; in bnx2fc_cmd_release()
[all …]
A Dbnx2fc.h190 struct bnx2fc_cmd_mgr *cmd_mgr; member
424 struct bnx2fc_cmd_mgr *cmd_mgr; member
A Dbnx2fc_fcoe.c1336 if (hba->cmd_mgr) { in bnx2fc_hba_destroy()
1337 bnx2fc_cmd_mgr_free(hba->cmd_mgr); in bnx2fc_hba_destroy()
1338 hba->cmd_mgr = NULL; in bnx2fc_hba_destroy()
1393 hba->cmd_mgr = bnx2fc_cmd_mgr_alloc(hba); in bnx2fc_hba_create()
1394 if (!hba->cmd_mgr) { in bnx2fc_hba_create()
A Dbnx2fc_hwi.c710 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; in bnx2fc_process_unsol_compl()
831 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; in bnx2fc_process_unsol_compl()
875 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; in bnx2fc_process_cq_compl()
/linux/drivers/scsi/qedf/
A Dqedf_io.c301 struct qedf_cmd_mgr *cmd_mgr = qedf->cmd_mgr; in qedf_alloc_cmd() local
337 io_req = &cmd_mgr->cmds[cmd_mgr->idx]; in qedf_alloc_cmd()
338 cmd_mgr->idx++; in qedf_alloc_cmd()
340 cmd_mgr->idx = 0; in qedf_alloc_cmd()
365 atomic_dec(&cmd_mgr->free_list_cnt); in qedf_alloc_cmd()
367 io_req->cmd_mgr = cmd_mgr; in qedf_alloc_cmd()
436 struct qedf_cmd_mgr *cmd_mgr = io_req->cmd_mgr; in qedf_release_cmd() local
1591 struct qedf_cmd_mgr *cmd_mgr; in qedf_flush_active_ios() local
1633 cmd_mgr = qedf->cmd_mgr; in qedf_flush_active_ios()
1650 io_req = &cmd_mgr->cmds[i]; in qedf_flush_active_ios()
[all …]
A Dqedf.h138 struct qedf_cmd_mgr *cmd_mgr; member
390 struct qedf_cmd_mgr *cmd_mgr; member
A Dqedf_main.c1874 vport_qedf->cmd_mgr = base_qedf->cmd_mgr; in qedf_vport_create()
2282 io_req = &qedf->cmd_mgr->cmds[xid]; in qedf_process_completions()
2826 io_req = &qedf->cmd_mgr->cmds[xid]; in qedf_process_cqe()
3560 qedf->cmd_mgr = qedf_cmd_mgr_alloc(qedf); in __qedf_probe()
3561 if (!qedf->cmd_mgr) { in __qedf_probe()
3708 qedf_cmd_mgr_free(qedf->cmd_mgr); in __qedf_probe()
3811 qedf_cmd_mgr_free(qedf->cmd_mgr); in __qedf_remove()
A Dqedf_debugfs.c352 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()

Completed in 36 milliseconds