Lines Matching refs:opss
1029 * @opss: state to wait the end of
1031 * Busy-wait for @p to transition out of @opss. This can only be used when the
1032 * state part of @opss is %SCX_QUEUEING or %SCX_DISPATCHING. This function also
1036 static void wait_ops_state(struct task_struct *p, unsigned long opss)
1040 } while (atomic_long_read_acquire(&p->scx.ops_state) == opss);
2111 unsigned long opss;
2113 opss = atomic_long_read(&p->scx.ops_state) & SCX_OPSS_STATE_MASK;
2115 switch (opss & SCX_OPSS_STATE_MASK) {
2127 p->comm, p->pid, opss);
2425 unsigned long opss;
2432 opss = atomic_long_read_acquire(&p->scx.ops_state);
2434 switch (opss & SCX_OPSS_STATE_MASK) {
2458 if (atomic_long_try_cmpxchg(&p->scx.ops_state, &opss,
2473 * here with NONE @opss from the above QUEUED case block.
2474 * Explicitly wait on %SCX_OPSS_DISPATCHING instead of @opss.
3194 unsigned long opss;
3201 opss = atomic_long_read(&p->scx.ops_state);
3203 switch (opss & SCX_OPSS_STATE_MASK) {
3214 if ((opss & SCX_OPSS_QSEQ_MASK) != qseq_at_dispatch)
3230 if (likely(atomic_long_try_cmpxchg(&p->scx.ops_state, &opss,
3241 wait_ops_state(p, opss);