Lines Matching refs:task_ctx
1016 task_page = (struct fcoe_task_ctx_entry *)hba->task_ctx[task_idx]; in bnx2fc_pending_work()
1892 hba->task_ctx = kzalloc((task_ctx_arr_sz * sizeof(void *)), in bnx2fc_setup_task_ctx()
1894 if (!hba->task_ctx) { in bnx2fc_setup_task_ctx()
1914 hba->task_ctx[i] = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
1918 if (!hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1932 if (hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1935 hba->task_ctx[i], hba->task_ctx_dma[i]); in bnx2fc_setup_task_ctx()
1936 hba->task_ctx[i] = NULL; in bnx2fc_setup_task_ctx()
1943 kfree(hba->task_ctx); in bnx2fc_setup_task_ctx()
1944 hba->task_ctx = NULL; in bnx2fc_setup_task_ctx()
1966 if (hba->task_ctx) { in bnx2fc_free_task_ctx()
1968 if (hba->task_ctx[i]) { in bnx2fc_free_task_ctx()
1970 hba->task_ctx[i], in bnx2fc_free_task_ctx()
1972 hba->task_ctx[i] = NULL; in bnx2fc_free_task_ctx()
1975 kfree(hba->task_ctx); in bnx2fc_free_task_ctx()
1976 hba->task_ctx = NULL; in bnx2fc_free_task_ctx()