Home
last modified time | relevance | path

Searched refs:task_ctx (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c229 static void __intel_pmu_lbr_restore(struct x86_perf_task_context *task_ctx) in __intel_pmu_lbr_restore() argument
235 if (task_ctx->lbr_callstack_users == 0 || in __intel_pmu_lbr_restore()
236 task_ctx->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore()
242 tos = task_ctx->tos; in __intel_pmu_lbr_restore()
245 wrmsrl(x86_pmu.lbr_from + lbr_idx, task_ctx->lbr_from[i]); in __intel_pmu_lbr_restore()
246 wrmsrl(x86_pmu.lbr_to + lbr_idx, task_ctx->lbr_to[i]); in __intel_pmu_lbr_restore()
248 wrmsrl(MSR_LBR_INFO_0 + lbr_idx, task_ctx->lbr_info[i]); in __intel_pmu_lbr_restore()
251 task_ctx->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()
254 static void __intel_pmu_lbr_save(struct x86_perf_task_context *task_ctx) in __intel_pmu_lbr_save() argument
260 if (task_ctx->lbr_callstack_users == 0) { in __intel_pmu_lbr_save()
[all …]
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c714 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()
[all …]
Dbnx2fc_io.c751 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_tmf()
888 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_abts()
966 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_seq_cleanup()
1026 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_cleanup()
1992 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx]; in bnx2fc_post_io_req()
Dbnx2fc.h210 struct fcoe_task_ctx_entry **task_ctx; member
Dbnx2fc_els.c767 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_els()
/linux-4.4.14/kernel/events/
Dcore.c506 perf_ctx_lock(cpuctx, cpuctx->task_ctx); in perf_cgroup_switch()
531 perf_ctx_unlock(cpuctx, cpuctx->task_ctx); in perf_cgroup_switch()
1651 if (!ctx->nr_events && cpuctx->task_ctx == ctx) { in __perf_remove_from_context()
1653 cpuctx->task_ctx = NULL; in __perf_remove_from_context()
1741 if (ctx->task && cpuctx->task_ctx != ctx) in __perf_event_disable()
2081 struct perf_event_context *task_ctx = cpuctx->task_ctx; in __perf_install_in_context() local
2084 perf_ctx_lock(cpuctx, task_ctx); in __perf_install_in_context()
2090 if (task_ctx) in __perf_install_in_context()
2091 task_ctx_sched_out(task_ctx); in __perf_install_in_context()
2097 if (ctx->task && task_ctx != ctx) { in __perf_install_in_context()
[all …]
/linux-4.4.14/include/linux/
Dperf_event.h653 struct perf_event_context *task_ctx; member