Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/sched_ext/
A Dselect_cpu_dfl_nodispatch.bpf.c19 struct task_ctx { struct
27 __type(value, struct task_ctx); argument
37 struct task_ctx *tctx; in BPF_STRUCT_OPS()
56 struct task_ctx *tctx; in BPF_STRUCT_OPS()
/linux/tools/sched_ext/
A Dscx_qmap.bpf.c100 struct task_ctx { struct
110 __type(value, struct task_ctx); argument
151 struct task_ctx *tctx; in lookup_task_ctx()
163 struct task_ctx *tctx; in BPF_STRUCT_OPS()
197 struct task_ctx *tctx; in BPF_STRUCT_OPS()
290 struct task_ctx *tctx; in update_core_sched_head_seq()
314 struct task_ctx *tctx; in dispatch_highpri()
369 struct task_ctx *tctx; in BPF_STRUCT_OPS()
414 struct task_ctx *tctx; in BPF_STRUCT_OPS()
498 struct task_ctx *tctx; in task_qdist()
[all …]
A Dscx_flatcg.bpf.c130 } task_ctx SEC(".maps");
330 taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); in BPF_STRUCT_OPS()
356 taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); in BPF_STRUCT_OPS()
561 taskc = bpf_task_storage_get(&task_ctx, p, 0, 0); in BPF_STRUCT_OPS()
818 taskc = bpf_task_storage_get(&task_ctx, p, 0, in BPF_STRUCT_OPS()
/linux/arch/x86/events/intel/
A Dlbr.c365 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore()
370 for (i = 0; i < task_ctx->valid_lbrs; i++) { in intel_pmu_lbr_restore()
386 wrmsrl(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_restore()
468 task_ctx->valid_lbrs = i; in intel_pmu_lbr_save()
469 task_ctx->tos = tos; in intel_pmu_lbr_save()
472 rdmsrl(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_save()
499 xsaves(&task_ctx->xsave, XFEATURE_MASK_LBR); in intel_pmu_arch_lbr_xsaves()
545 void *task_ctx; in intel_pmu_lbr_sched_task() local
556 if (task_ctx) { in intel_pmu_lbr_sched_task()
558 __intel_pmu_lbr_restore(task_ctx); in intel_pmu_lbr_sched_task()
[all …]
/linux/security/apparmor/
A 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()
99 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_onexec()
119 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_hat()
159 struct aa_task_ctx *ctx = task_ctx(current); in aa_restore_previous_label()
A Dlsm.c110 aa_free_task_ctx(task_ctx(task)); in apparmor_task_free()
116 struct aa_task_ctx *new = task_ctx(task); in apparmor_task_alloc()
118 aa_dup_task_ctx(new, task_ctx(current)); in apparmor_task_alloc()
786 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getselfattr()
828 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr()
980 aa_clear_task_ctx_trans(task_ctx(current)); in apparmor_bprm_committed_creds()
A Ddomain.c891 ctx = task_ctx(current); in apparmor_bprm_creds_for_exec()
1180 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat()
1337 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_profile()
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_hwi.c1898 if (!hba->task_ctx) { in bnx2fc_setup_task_ctx()
1922 if (!hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1936 if (hba->task_ctx[i]) { in bnx2fc_setup_task_ctx()
1940 hba->task_ctx[i] = NULL; in bnx2fc_setup_task_ctx()
1947 kfree(hba->task_ctx); in bnx2fc_setup_task_ctx()
1948 hba->task_ctx = NULL; in bnx2fc_setup_task_ctx()
1970 if (hba->task_ctx) { in bnx2fc_free_task_ctx()
1972 if (hba->task_ctx[i]) { in bnx2fc_free_task_ctx()
1974 hba->task_ctx[i], in bnx2fc_free_task_ctx()
1979 kfree(hba->task_ctx); in bnx2fc_free_task_ctx()
[all …]
A Dbnx2fc_io.c760 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_tmf()
896 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_abts()
972 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_seq_cleanup()
1030 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()
A Dbnx2fc.h210 struct fcoe_task_ctx_entry **task_ctx; member
A Dbnx2fc_els.c775 interface->hba->task_ctx[task_idx]; in bnx2fc_initiate_els()
/linux/kernel/events/
A Dcore.c258 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function() local
368 task_ctx = ctx; in event_function_local()
2788 if (task_ctx) { in ctx_resched()
2812 if (task_ctx) { in ctx_resched()
2821 struct perf_event_context *task_ctx = cpuctx->task_ctx; in perf_pmu_resched() local
2839 struct perf_event_context *task_ctx = cpuctx->task_ctx; in __perf_install_in_context() local
2846 task_ctx = ctx; in __perf_install_in_context()
3044 task_ctx = cpuctx->task_ctx; in __perf_event_enable()
8178 if (task_ctx) { in perf_iterate_sb()
8408 .task_ctx = task_ctx, in perf_event_task()
[all …]
/linux/security/apparmor/include/
A Dtask.h13 static inline struct aa_task_ctx *task_ctx(struct task_struct *task) in task_ctx() function
/linux/drivers/scsi/qedf/
A Dqedf_io.c608 io_req->task = task_ctx; in qedf_init_task()
609 memset(task_ctx, 0, sizeof(struct fcoe_task_context)); in qedf_init_task()
627 io_req->task_params->context = task_ctx; in qedf_init_task()
681 struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) in qedf_init_mp_task() argument
699 memset(task_ctx, 0, sizeof(struct fcoe_task_context)); in qedf_init_mp_task()
703 io_req->task = task_ctx; in qedf_init_mp_task()
706 io_req->task_params->context = task_ctx; in qedf_init_mp_task()
856 struct fcoe_task_context *task_ctx; in qedf_post_io_req() local
909 task_ctx = qedf_get_task_mem(&qedf->tasks, xid); in qedf_post_io_req()
910 if (!task_ctx) { in qedf_post_io_req()
[all …]
A Dqedf.h516 struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe);
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_cxt.h230 u32 tid, u8 ctx_type, void **task_ctx);
/linux/drivers/scsi/qedi/
A 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/include/linux/
A Dperf_event.h1023 struct perf_event_context *task_ctx; member

Completed in 73 milliseconds