Lines Matching refs:dspc
2891 struct scx_dsp_ctx *dspc = &this_cpu_ptr(sch->pcpu)->dsp_ctx; in scx_flush_dispatch_buf() local
2894 for (u = 0; u < dspc->cursor; u++) { in scx_flush_dispatch_buf()
2895 struct scx_dsp_buf_ent *ent = &dspc->buf[u]; in scx_flush_dispatch_buf()
2901 dspc->nr_tasks += dspc->cursor; in scx_flush_dispatch_buf()
2902 dspc->cursor = 0; in scx_flush_dispatch_buf()
8767 struct scx_dsp_ctx *dspc = &this_cpu_ptr(sch->pcpu)->dsp_ctx; in scx_dsq_insert_commit() local
8776 if (unlikely(dspc->cursor >= sch->dsp_max_batch)) { in scx_dsq_insert_commit()
8781 dspc->buf[dspc->cursor++] = (struct scx_dsp_buf_ent){ in scx_dsq_insert_commit()
9104 struct scx_dsp_ctx *dspc; in scx_bpf_dispatch_cancel() local
9112 dspc = &this_cpu_ptr(sch->pcpu)->dsp_ctx; in scx_bpf_dispatch_cancel()
9114 if (dspc->cursor > 0) in scx_bpf_dispatch_cancel()
9115 dspc->cursor--; in scx_bpf_dispatch_cancel()
9150 struct scx_dsp_ctx *dspc; in scx_bpf_dsq_move_to_local___v2() local
9161 dspc = &this_cpu_ptr(sch->pcpu)->dsp_ctx; in scx_bpf_dsq_move_to_local___v2()
9163 scx_flush_dispatch_buf(sch, dspc->rq); in scx_bpf_dsq_move_to_local___v2()
9171 if (scx_consume_dispatch_q(sch, dspc->rq, dsq, enq_flags)) { in scx_bpf_dsq_move_to_local___v2()
9178 dspc->nr_tasks++; in scx_bpf_dsq_move_to_local___v2()