Searched refs:SCX_TASK_STATE_SHIFT (Results 1 – 2 of 2) sorted by relevance
77 SCX_TASK_STATE_SHIFT = 8, /* bit 8 and 9 are used to carry scx_task_state */ enumerator79 SCX_TASK_STATE_MASK = ((1 << SCX_TASK_STATE_BITS) - 1) << SCX_TASK_STATE_SHIFT,
3419 return (p->scx.flags & SCX_TASK_STATE_MASK) >> SCX_TASK_STATE_SHIFT; in scx_get_task_state()3450 p->scx.flags |= state << SCX_TASK_STATE_SHIFT; in scx_set_task_state()