/linux-6.6.21/arch/x86/events/intel/ |
D | lbr.c | 362 struct x86_perf_task_context *task_ctx = ctx; in intel_pmu_lbr_restore() local 364 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore() 369 for (i = 0; i < task_ctx->valid_lbrs; i++) { in intel_pmu_lbr_restore() 371 wrlbr_all(&task_ctx->lbr[i], lbr_idx, need_info); in intel_pmu_lbr_restore() 385 wrmsrl(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_restore() 390 struct x86_perf_task_context_arch_lbr *task_ctx = ctx; in intel_pmu_arch_lbr_restore() local 391 struct lbr_entry *entries = task_ctx->entries; in intel_pmu_arch_lbr_restore() 411 struct x86_perf_task_context_arch_lbr_xsave *task_ctx = ctx; in intel_pmu_arch_lbr_xrstors() local 413 xrstors(&task_ctx->xsave, XFEATURE_MASK_LBR); in intel_pmu_arch_lbr_xrstors() 454 struct x86_perf_task_context *task_ctx = ctx; in intel_pmu_lbr_save() local [all …]
|
/linux-6.6.21/security/apparmor/ |
D | task.c | 49 struct aa_task_ctx *ctx = task_ctx(current); in aa_replace_current_label() 75 aa_clear_task_ctx_trans(task_ctx(current)); in aa_replace_current_label() 100 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_onexec() 122 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_hat() 162 struct aa_task_ctx *ctx = task_ctx(current); in aa_restore_previous_label()
|
D | lsm.c | 102 aa_free_task_ctx(task_ctx(task)); in apparmor_task_free() 108 struct aa_task_ctx *new = task_ctx(task); in apparmor_task_alloc() 110 aa_dup_task_ctx(new, task_ctx(current)); in apparmor_task_alloc() 669 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr() 793 aa_clear_task_ctx_trans(task_ctx(current)); in apparmor_bprm_committed_creds()
|
D | domain.c | 889 ctx = task_ctx(current); in apparmor_bprm_creds_for_exec() 1178 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat() 1333 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_profile()
|
/linux-6.6.21/drivers/scsi/bnx2fc/ |
D | bnx2fc_hwi.c | 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() [all …]
|
D | bnx2fc_io.c | 762 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_tmf() 900 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_abts() 976 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_seq_cleanup() 1034 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_cleanup() 2071 task_page = (struct fcoe_task_ctx_entry *) hba->task_ctx[task_idx]; in bnx2fc_post_io_req()
|
D | bnx2fc.h | 210 struct fcoe_task_ctx_entry **task_ctx; member
|
D | bnx2fc_els.c | 775 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_els()
|
/linux-6.6.21/kernel/events/ |
D | core.c | 186 return this_cpu_ptr(&perf_cpu_context)->task_ctx; in perf_cpu_task_ctx() 223 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function() local 228 perf_ctx_lock(cpuctx, task_ctx); in event_function() 251 WARN_ON_ONCE(task_ctx != ctx); in event_function() 258 perf_ctx_unlock(cpuctx, task_ctx); in event_function() 321 struct perf_event_context *task_ctx = NULL; in event_function_local() local 329 task_ctx = ctx; in event_function_local() 332 perf_ctx_lock(cpuctx, task_ctx); in event_function_local() 348 if (WARN_ON_ONCE(cpuctx->task_ctx != ctx)) in event_function_local() 357 perf_ctx_unlock(cpuctx, task_ctx); in event_function_local() [all …]
|
/linux-6.6.21/security/apparmor/include/ |
D | task.h | 13 static inline struct aa_task_ctx *task_ctx(struct task_struct *task) in task_ctx() function
|
/linux-6.6.21/drivers/scsi/qedf/ |
D | qedf_io.c | 587 struct qedf_ioreq *io_req, struct fcoe_task_context *task_ctx, in qedf_init_task() argument 604 io_req->task = task_ctx; in qedf_init_task() 605 memset(task_ctx, 0, sizeof(struct fcoe_task_context)); in qedf_init_task() 623 io_req->task_params->context = task_ctx; in qedf_init_task() 677 struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) in qedf_init_mp_task() argument 695 memset(task_ctx, 0, sizeof(struct fcoe_task_context)); in qedf_init_mp_task() 699 io_req->task = task_ctx; in qedf_init_mp_task() 702 io_req->task_params->context = task_ctx; in qedf_init_mp_task() 852 struct fcoe_task_context *task_ctx; in qedf_post_io_req() local 905 task_ctx = qedf_get_task_mem(&qedf->tasks, xid); in qedf_post_io_req() [all …]
|
D | qedf.h | 514 struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe);
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.h | 230 u32 tid, u8 ctx_type, void **task_ctx);
|
/linux-6.6.21/drivers/scsi/qedi/ |
D | qedi_fw.c | 88 struct iscsi_task_context *task_ctx; in qedi_process_text_resp() local 95 task_ctx = qedi_get_task_mem(&qedi->tasks, cmd->task_id); in qedi_process_text_resp() 120 memset(task_ctx, '\0', sizeof(*task_ctx)); in qedi_process_text_resp() 264 struct iscsi_task_context *task_ctx; in qedi_process_login_resp() local 273 task_ctx = qedi_get_task_mem(&qedi->tasks, cmd->task_id); in qedi_process_login_resp() 305 memset(task_ctx, '\0', sizeof(*task_ctx)); in qedi_process_login_resp()
|
/linux-6.6.21/include/linux/ |
D | perf_event.h | 997 struct perf_event_context *task_ctx; member
|