Searched refs:cmd_mgr (Results 1 – 8 of 8) sorted by relevance
398 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_elstm_alloc() local423 spin_lock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc()425 if ((list_empty(&(cmd_mgr->free_list[index]))) || in bnx2fc_elstm_alloc()431 if (list_empty(&(cmd_mgr->free_list[index]))) in bnx2fc_elstm_alloc()433 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc()438 cmd_mgr->free_list[index].next; in bnx2fc_elstm_alloc()442 cmd_mgr->cmds[xid] = io_req; in bnx2fc_elstm_alloc()445 spin_unlock_bh(&cmd_mgr->free_list_lock[index]); in bnx2fc_elstm_alloc()450 io_req->cmd_mgr = cmd_mgr; in bnx2fc_elstm_alloc()456 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in bnx2fc_elstm_alloc()[all …]
190 struct bnx2fc_cmd_mgr *cmd_mgr; member429 struct bnx2fc_cmd_mgr *cmd_mgr; member
1336 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()
710 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()
301 struct qedf_cmd_mgr *cmd_mgr = qedf->cmd_mgr; in qedf_alloc_cmd() local328 if (atomic_read(&cmd_mgr->free_list_cnt) <= GBL_RSVD_TASKS) { in qedf_alloc_cmd()331 atomic_read(&cmd_mgr->free_list_cnt)); in qedf_alloc_cmd()335 spin_lock_irqsave(&cmd_mgr->lock, flags); in qedf_alloc_cmd()337 io_req = &cmd_mgr->cmds[cmd_mgr->idx]; in qedf_alloc_cmd()338 cmd_mgr->idx++; in qedf_alloc_cmd()339 if (cmd_mgr->idx == FCOE_PARAMS_NUM_TASKS) in qedf_alloc_cmd()340 cmd_mgr->idx = 0; in qedf_alloc_cmd()348 spin_unlock_irqrestore(&cmd_mgr->lock, flags); in qedf_alloc_cmd()360 spin_unlock_irqrestore(&cmd_mgr->lock, flags); in qedf_alloc_cmd()[all …]
137 struct qedf_cmd_mgr *cmd_mgr; member388 struct qedf_cmd_mgr *cmd_mgr; member
1863 vport_qedf->cmd_mgr = base_qedf->cmd_mgr; in qedf_vport_create()2271 io_req = &qedf->cmd_mgr->cmds[xid]; in qedf_process_completions()2815 io_req = &qedf->cmd_mgr->cmds[xid]; in qedf_process_cqe()3549 qedf->cmd_mgr = qedf_cmd_mgr_alloc(qedf); in __qedf_probe()3550 if (!qedf->cmd_mgr) { in __qedf_probe()3698 qedf_cmd_mgr_free(qedf->cmd_mgr); in __qedf_probe()3789 qedf_cmd_mgr_free(qedf->cmd_mgr); in __qedf_remove()
352 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()