Lines Matching defs:dst_dsq
2364 struct scx_dispatch_q *dst_dsq = &dst_rq->scx.local_dsq;
2373 list_add(&p->scx.dsq_list.node, &dst_dsq->list);
2375 list_add_tail(&p->scx.dsq_list.node, &dst_dsq->list);
2377 dsq_inc_nr(dst_dsq, p, enq_flags);
2378 p->scx.dsq = dst_dsq;
2380 local_dsq_post_enq(sch, dst_dsq, p, enq_flags);
2559 * @dst_dsq: DSQ @p is being moved to, can be any DSQ
2561 * Must be called with @p's task_rq and @src_dsq locked. If @dst_dsq is a local
2572 struct scx_dispatch_q *dst_dsq)
2580 if (dst_dsq->id == SCX_DSQ_LOCAL) {
2581 dst_rq = container_of(dst_dsq, struct rq, scx.local_dsq);
2584 dst_dsq = find_global_dsq(sch, task_cpu(p));
2594 * Move @p into $dst_dsq. If $dst_dsq is the local DSQ of a different
2597 if (dst_dsq->id == SCX_DSQ_LOCAL) {
2617 dispatch_enqueue(sch, dst_rq, dst_dsq, p, enq_flags);
2681 * @dst_dsq: destination DSQ
2685 * We're holding @rq lock and want to dispatch @p to @dst_dsq which is a local
2693 struct scx_dispatch_q *dst_dsq,
2697 struct rq *dst_rq = container_of(dst_dsq, struct rq, scx.local_dsq);
2707 dispatch_enqueue(sch, rq, dst_dsq, p,
8882 struct scx_dispatch_q *src_dsq = kit->dsq, *dst_dsq;
8945 dst_dsq = find_dsq_for_dispatch(sch, this_rq, dsq_id, task_cpu(p));
8949 * visible before inserting into $dst_dsq. @p is still on $src_dsq but
8958 locked_rq = move_task_between_dsqs(sch, p, enq_flags, src_dsq, dst_dsq);