Lines Matching refs:opss
1663 static void wait_ops_state(struct task_struct *p, unsigned long opss) in wait_ops_state() argument
1667 } while (atomic_long_read_acquire(&p->scx.ops_state) == opss); in wait_ops_state()
2111 unsigned long opss; in direct_dispatch() local
2113 opss = atomic_long_read(&p->scx.ops_state) & SCX_OPSS_STATE_MASK; in direct_dispatch()
2115 switch (opss & SCX_OPSS_STATE_MASK) { in direct_dispatch()
2127 p->comm, p->pid, opss); in direct_dispatch()
2322 unsigned long opss; in ops_dequeue() local
2328 opss = atomic_long_read_acquire(&p->scx.ops_state); in ops_dequeue()
2330 switch (opss & SCX_OPSS_STATE_MASK) { in ops_dequeue()
2343 if (atomic_long_try_cmpxchg(&p->scx.ops_state, &opss, in ops_dequeue()
2890 unsigned long opss; in finish_dispatch() local
2898 opss = atomic_long_read(&p->scx.ops_state); in finish_dispatch()
2900 switch (opss & SCX_OPSS_STATE_MASK) { in finish_dispatch()
2911 if ((opss & SCX_OPSS_QSEQ_MASK) != qseq_at_dispatch) in finish_dispatch()
2921 if (likely(atomic_long_try_cmpxchg(&p->scx.ops_state, &opss, in finish_dispatch()
2932 wait_ops_state(p, opss); in finish_dispatch()