/Linux-v4.19/arch/x86/events/intel/ |
D | lbr.c | 340 static void __intel_pmu_lbr_restore(struct x86_perf_task_context *task_ctx) in __intel_pmu_lbr_restore() argument 347 if (task_ctx->lbr_callstack_users == 0 || in __intel_pmu_lbr_restore() 348 task_ctx->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore() 353 tos = task_ctx->tos; in __intel_pmu_lbr_restore() 359 if ((task_ctx == cpuc->last_task_ctx) && in __intel_pmu_lbr_restore() 360 (task_ctx->log_id == cpuc->last_log_id) && in __intel_pmu_lbr_restore() 362 task_ctx->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore() 367 for (i = 0; i < task_ctx->valid_lbrs; i++) { in __intel_pmu_lbr_restore() 369 wrlbr_from(lbr_idx, task_ctx->lbr_from[i]); in __intel_pmu_lbr_restore() 370 wrlbr_to (lbr_idx, task_ctx->lbr_to[i]); in __intel_pmu_lbr_restore() [all …]
|
/Linux-v4.19/security/apparmor/ |
D | task.c | 48 struct aa_task_ctx *ctx = task_ctx(current); in aa_replace_current_label() 74 aa_clear_task_ctx_trans(task_ctx(current)); in aa_replace_current_label() 99 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_onexec() 121 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_hat() 161 struct aa_task_ctx *ctx = task_ctx(current); in aa_restore_previous_label()
|
D | lsm.c | 93 aa_free_task_ctx(task_ctx(task)); in apparmor_task_free() 94 task_ctx(task) = NULL; in apparmor_task_free() 105 aa_dup_task_ctx(new, task_ctx(current)); in apparmor_task_alloc() 106 task_ctx(task) = new; in apparmor_task_alloc() 587 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr() 710 aa_clear_task_ctx_trans(task_ctx(current)); in apparmor_bprm_committed_creds() 1459 task_ctx(current) = ctx; in set_init_ctx()
|
D | domain.c | 892 ctx = task_ctx(current); in apparmor_bprm_set_creds() 1169 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat() 1319 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_profile()
|
/Linux-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc_hwi.c | 715 hba->task_ctx[task_idx]; in bnx2fc_process_unsol_compl() 843 interface->hba->task_ctx[task_idx]; in bnx2fc_process_unsol_compl() 896 task_page = (struct fcoe_task_ctx_entry *)hba->task_ctx[task_idx]; in bnx2fc_process_cq_compl() 1534 interface->hba->task_ctx[orig_task_idx]; in bnx2fc_init_seq_cleanup_task() 1875 hba->task_ctx = kzalloc((task_ctx_arr_sz * sizeof(void *)), in bnx2fc_setup_task_ctx() 1877 if (!hba->task_ctx) { in bnx2fc_setup_task_ctx() 1897 hba->task_ctx[i] = dma_zalloc_coherent(&hba->pcidev->dev, in bnx2fc_setup_task_ctx() 1901 if (!hba->task_ctx[i]) { 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() [all …]
|
D | bnx2fc_io.c | 764 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_tmf() 901 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_abts() 979 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_seq_cleanup() 1039 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_cleanup() 2024 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx]; in bnx2fc_post_io_req()
|
D | bnx2fc.h | 212 struct fcoe_task_ctx_entry **task_ctx; member
|
D | bnx2fc_els.c | 775 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_els()
|
/Linux-v4.19/kernel/events/ |
D | core.c | 209 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function() local 214 perf_ctx_lock(cpuctx, task_ctx); in event_function() 237 WARN_ON_ONCE(task_ctx != ctx); in event_function() 244 perf_ctx_unlock(cpuctx, task_ctx); in event_function() 307 struct perf_event_context *task_ctx = NULL; in event_function_local() local 315 task_ctx = ctx; in event_function_local() 318 perf_ctx_lock(cpuctx, task_ctx); in event_function_local() 334 if (WARN_ON_ONCE(cpuctx->task_ctx != ctx)) in event_function_local() 343 perf_ctx_unlock(cpuctx, task_ctx); in event_function_local() 809 perf_ctx_lock(cpuctx, cpuctx->task_ctx); in perf_cgroup_switch() [all …]
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | qedf_io.c | 601 struct qedf_ioreq *io_req, struct e4_fcoe_task_context *task_ctx, in qedf_init_task() argument 618 io_req->task = task_ctx; in qedf_init_task() 619 memset(task_ctx, 0, sizeof(struct e4_fcoe_task_context)); in qedf_init_task() 637 io_req->task_params->context = task_ctx; in qedf_init_task() 695 struct e4_fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) in qedf_init_mp_task() argument 713 memset(task_ctx, 0, sizeof(struct e4_fcoe_task_context)); in qedf_init_mp_task() 717 io_req->task = task_ctx; in qedf_init_mp_task() 720 io_req->task_params->context = task_ctx; in qedf_init_mp_task() 866 struct e4_fcoe_task_context *task_ctx; in qedf_post_io_req() local 913 task_ctx = qedf_get_task_mem(&qedf->tasks, xid); in qedf_post_io_req() [all …]
|
D | qedf_els.c | 154 struct fcoe_task_context *task_ctx; in qedf_process_els_compl() local 166 task_ctx = qedf_get_task_mem(&qedf->tasks, xid); in qedf_process_els_compl()
|
D | qedf.h | 476 struct e4_fcoe_task_context *task_ctx, struct fcoe_wqe *sqe);
|
/Linux-v4.19/security/apparmor/include/ |
D | task.h | 17 #define task_ctx(X) ((X)->security) macro
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.h | 244 u32 tid, u8 ctx_type, void **task_ctx);
|
/Linux-v4.19/drivers/scsi/qedi/ |
D | qedi_fw.c | 90 struct e4_iscsi_task_context *task_ctx; in qedi_process_text_resp() local 97 task_ctx = qedi_get_task_mem(&qedi->tasks, cmd->task_id); in qedi_process_text_resp() 122 memset(task_ctx, '\0', sizeof(*task_ctx)); in qedi_process_text_resp() 263 struct e4_iscsi_task_context *task_ctx; in qedi_process_login_resp() local 272 task_ctx = qedi_get_task_mem(&qedi->tasks, cmd->task_id); in qedi_process_login_resp() 302 memset(task_ctx, '\0', sizeof(*task_ctx)); in qedi_process_login_resp()
|
/Linux-v4.19/include/linux/ |
D | perf_event.h | 775 struct perf_event_context *task_ctx; member
|