Lines Matching refs:task_ctx
714 hba->task_ctx[task_idx]; in bnx2fc_process_unsol_compl()
842 interface->hba->task_ctx[task_idx]; in bnx2fc_process_unsol_compl()
895 task_page = (struct fcoe_task_ctx_entry *)hba->task_ctx[task_idx]; in bnx2fc_process_cq_compl()
1532 interface->hba->task_ctx[orig_task_idx]; in bnx2fc_init_seq_cleanup_task()
1874 hba->task_ctx = kzalloc((task_ctx_arr_sz * sizeof(void *)), in bnx2fc_setup_task_ctx()
1876 if (!hba->task_ctx) { in bnx2fc_setup_task_ctx()
1896 hba->task_ctx[i] = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx()
1900 if (!hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1905 memset(hba->task_ctx[i], 0, PAGE_SIZE); in bnx2fc_setup_task_ctx()
1915 if (hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1918 hba->task_ctx[i], hba->task_ctx_dma[i]); in bnx2fc_setup_task_ctx()
1919 hba->task_ctx[i] = NULL; in bnx2fc_setup_task_ctx()
1926 kfree(hba->task_ctx); in bnx2fc_setup_task_ctx()
1927 hba->task_ctx = NULL; in bnx2fc_setup_task_ctx()
1949 if (hba->task_ctx) { in bnx2fc_free_task_ctx()
1951 if (hba->task_ctx[i]) { in bnx2fc_free_task_ctx()
1953 hba->task_ctx[i], in bnx2fc_free_task_ctx()
1955 hba->task_ctx[i] = NULL; in bnx2fc_free_task_ctx()
1958 kfree(hba->task_ctx); in bnx2fc_free_task_ctx()
1959 hba->task_ctx = NULL; in bnx2fc_free_task_ctx()