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
493 cmd_mgr->free_list[index].next; in bnx2fc_cmd_alloc()
497 cmd_mgr->cmds[xid] = io_req; in bnx2fc_cmd_alloc()
506 io_req->cmd_mgr = cmd_mgr; in bnx2fc_cmd_alloc()
523 struct bnx2fc_cmd_mgr *cmd_mgr = io_req->cmd_mgr; in bnx2fc_cmd_release() local
535 cmd_mgr->cmds[io_req->xid] = NULL; in bnx2fc_cmd_release()
[all …]
A Dbnx2fc.h192 struct bnx2fc_cmd_mgr *cmd_mgr; member
431 struct bnx2fc_cmd_mgr *cmd_mgr; member
A Dbnx2fc_fcoe.c1347 if (hba->cmd_mgr) { in bnx2fc_hba_destroy()
1348 bnx2fc_cmd_mgr_free(hba->cmd_mgr); in bnx2fc_hba_destroy()
1349 hba->cmd_mgr = NULL; in bnx2fc_hba_destroy()
1404 hba->cmd_mgr = bnx2fc_cmd_mgr_alloc(hba); in bnx2fc_hba_create()
1405 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
1589 struct qedf_cmd_mgr *cmd_mgr; in qedf_flush_active_ios() local
1631 cmd_mgr = qedf->cmd_mgr; in qedf_flush_active_ios()
1648 io_req = &cmd_mgr->cmds[i]; in qedf_flush_active_ios()
[all …]
A Dqedf.h138 struct qedf_cmd_mgr *cmd_mgr; member
380 struct qedf_cmd_mgr *cmd_mgr; member
A Dqedf_main.c1862 vport_qedf->cmd_mgr = base_qedf->cmd_mgr; in qedf_vport_create()
2250 io_req = &qedf->cmd_mgr->cmds[xid]; in qedf_process_completions()
2792 io_req = &qedf->cmd_mgr->cmds[xid]; in qedf_process_cqe()
3526 qedf->cmd_mgr = qedf_cmd_mgr_alloc(qedf); in __qedf_probe()
3527 if (!qedf->cmd_mgr) { in __qedf_probe()
3675 qedf_cmd_mgr_free(qedf->cmd_mgr); in __qedf_probe()
3771 qedf_cmd_mgr_free(qedf->cmd_mgr); in __qedf_remove()
A Dqedf_debugfs.c345 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()

Completed in 40 milliseconds