Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/events/intel/
Dlbr.c362 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.1.9/security/apparmor/
Dtask.c49 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()
Dlsm.c102 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()
623 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr()
746 aa_clear_task_ctx_trans(task_ctx(current)); in apparmor_bprm_committed_creds()
Ddomain.c869 ctx = task_ctx(current); in apparmor_bprm_creds_for_exec()
1151 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat()
1300 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_profile()
/linux-6.1.9/kernel/events/
Dcore.c221 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function() local
226 perf_ctx_lock(cpuctx, task_ctx); in event_function()
249 WARN_ON_ONCE(task_ctx != ctx); in event_function()
256 perf_ctx_unlock(cpuctx, task_ctx); in event_function()
319 struct perf_event_context *task_ctx = NULL; in event_function_local() local
327 task_ctx = ctx; in event_function_local()
330 perf_ctx_lock(cpuctx, task_ctx); in event_function_local()
346 if (WARN_ON_ONCE(cpuctx->task_ctx != ctx)) in event_function_local()
355 perf_ctx_unlock(cpuctx, task_ctx); in event_function_local()
852 perf_ctx_lock(cpuctx, cpuctx->task_ctx); in perf_cgroup_switch()
[all …]
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c1016 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 …]
Dbnx2fc_io.c762 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()
Dbnx2fc.h210 struct fcoe_task_ctx_entry **task_ctx; member
Dbnx2fc_els.c775 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_els()
/linux-6.1.9/security/apparmor/include/
Dtask.h13 static inline struct aa_task_ctx *task_ctx(struct task_struct *task) in task_ctx() function
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_io.c587 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 …]
Dqedf.h514 struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe);
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.h230 u32 tid, u8 ctx_type, void **task_ctx);
/linux-6.1.9/arch/arm64/kernel/
Dperf_event.c809 struct perf_event_context *task_ctx = in armv8pmu_start() local
810 this_cpu_ptr(cpu_pmu->pmu.pmu_cpu_context)->task_ctx; in armv8pmu_start()
812 if (sysctl_perf_user_access && task_ctx && task_ctx->nr_user) in armv8pmu_start()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_fw.c88 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.1.9/include/linux/
Dperf_event.h904 struct perf_event_context *task_ctx; member