Lines Matching refs:task_ctx
1016 task_page = (struct fcoe_task_ctx_entry *)hba->task_ctx[task_idx]; in bnx2fc_pending_work()
1896 hba->task_ctx = kzalloc((task_ctx_arr_sz * sizeof(void *)), in bnx2fc_setup_task_ctx()
1898 if (!hba->task_ctx) { in bnx2fc_setup_task_ctx()
1918 hba->task_ctx[i] = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
1922 if (!hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1936 if (hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1939 hba->task_ctx[i], hba->task_ctx_dma[i]); in bnx2fc_setup_task_ctx()
1940 hba->task_ctx[i] = NULL; in bnx2fc_setup_task_ctx()
1947 kfree(hba->task_ctx); in bnx2fc_setup_task_ctx()
1948 hba->task_ctx = NULL; in bnx2fc_setup_task_ctx()
1970 if (hba->task_ctx) { in bnx2fc_free_task_ctx()
1972 if (hba->task_ctx[i]) { in bnx2fc_free_task_ctx()
1974 hba->task_ctx[i], in bnx2fc_free_task_ctx()
1976 hba->task_ctx[i] = NULL; in bnx2fc_free_task_ctx()
1979 kfree(hba->task_ctx); in bnx2fc_free_task_ctx()
1980 hba->task_ctx = NULL; in bnx2fc_free_task_ctx()