Lines Matching refs:scx_dsp_ctx
119 struct scx_dsp_ctx { struct
126 static struct scx_dsp_ctx __percpu *scx_dsp_ctx; variable
2147 struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); in flush_dispatch_buf()
2177 struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); in balance_one()
4489 free_percpu(scx_dsp_ctx); in scx_disable_workfn()
4490 scx_dsp_ctx = NULL; in scx_disable_workfn()
5150 WARN_ON_ONCE(scx_dsp_ctx); in scx_enable_workfn()
5152 scx_dsp_ctx = __alloc_percpu(struct_size_t(struct scx_dsp_ctx, buf, in scx_enable_workfn()
5154 __alignof__(struct scx_dsp_ctx)); in scx_enable_workfn()
5155 if (!scx_dsp_ctx) { in scx_enable_workfn()
5903 struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); in scx_dsq_insert_commit()
6208 return scx_dsp_max_batch - __this_cpu_read(scx_dsp_ctx->cursor); in scx_bpf_dispatch_nr_slots()
6219 struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); in scx_bpf_dispatch_cancel()
6253 struct scx_dsp_ctx *dspc = this_cpu_ptr(scx_dsp_ctx); in scx_bpf_dsq_move_to_local()