Lines Matching refs:cpu_ctx

1580 			struct stackshot_cpu_context *cpu_ctx = PERCPU_GET_WITH_BASE(base, stackshot_cpu_ctx_percpu);  in stackshot_push_duration_and_latency()  local
1581 if (!cpu_ctx->scc_did_work) { in stackshot_push_duration_and_latency()
1584 stats.sfs_pages_faulted_in += cpu_ctx->scc_fault_stats.sfs_pages_faulted_in; in stackshot_push_duration_and_latency()
1585 stats.sfs_time_spent_faulting += cpu_ctx->scc_fault_stats.sfs_time_spent_faulting; in stackshot_push_duration_and_latency()
1586 …stats.sfs_stopped_faulting = stats.sfs_stopped_faulting || cpu_ctx->scc_fault_stats.sfs_stopped_fa… in stackshot_push_duration_and_latency()
1596 percpu_foreach(cpu_ctx, stackshot_cpu_ctx_percpu) { in stackshot_push_duration_and_latency()
1597 if (cpu_ctx->scc_did_work) { in stackshot_push_duration_and_latency()
2840 struct stackshot_cpu_context *cpu_ctx = PERCPU_GET_WITH_BASE(base, stackshot_cpu_ctx_percpu); in _stackshot_validation_reset() local
2841 cpu_ctx->scc_validation_state.last_valid_page_kva = -1; in _stackshot_validation_reset()
2842 cpu_ctx->scc_validation_state.last_valid_size = 0; in _stackshot_validation_reset()
2916 struct stackshot_cpu_context *cpu_ctx = PERCPU_GET_WITH_BASE(base, stackshot_cpu_ctx_percpu); in stackshot_plh_setup() local
2917 cpu_ctx->scc_plh_gen = (struct _stackshot_plh_gen_state){ in stackshot_plh_setup()
2932 struct stackshot_cpu_context *cpu_ctx = PERCPU_GET_WITH_BASE(base, stackshot_cpu_ctx_percpu); in stackshot_plh_setup() local
2933cpu_ctx->scc_plh_gen.pgs_gen = stackshot_alloc_with_size(size * sizeof(*cpu_ctx->scc_plh_gen.pgs_g… in stackshot_plh_setup()
2934 if (cpu_ctx->scc_plh_gen.pgs_gen == NULL) { in stackshot_plh_setup()
2939 cpu_ctx->scc_plh_gen.pgs_gen[x] = 0; in stackshot_plh_setup()