Searched refs:TASK_RTLOCK_WAIT (Results 1 - 5 of 5) sorted by relevance

/linux-master/kernel/locking/
H A Dspinlock_rt.c232 rwbase_read_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT);
242 rwbase_write_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT);
253 rwbase_write_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT);
265 rwbase_read_unlock(&rwlock->rwbase, TASK_RTLOCK_WAIT);
H A Drtmutex_common.h46 * @wake_state: Wakeup state to use (TASK_NORMAL or TASK_RTLOCK_WAIT)
223 waiter->wake_state = TASK_RTLOCK_WAIT;
H A Drtmutex.c544 if (IS_ENABLED(CONFIG_PREEMPT_RT) && wake_state == TASK_RTLOCK_WAIT) {
563 wake_up_state(wqh->rtlock_task, TASK_RTLOCK_WAIT);
1818 /* Save current state and set state to TASK_RTLOCK_WAIT */
1840 set_current_state(TASK_RTLOCK_WAIT);
/linux-master/include/linux/
H A Dsched.h111 #define TASK_RTLOCK_WAIT 0x00001000 macro
270 * set_current_state(TASK_RTLOCK_WAIT);
280 WRITE_ONCE(current->__state, TASK_RTLOCK_WAIT); \
1588 if (tsk_state & TASK_RTLOCK_WAIT)
/linux-master/kernel/sched/
H A Dcore.c4072 * For PREEMPT_RT, the lock wait and lock wakeups happen via TASK_RTLOCK_WAIT.
4085 WARN_ON_ONCE((state & TASK_RTLOCK_WAIT) &&
4086 state != TASK_RTLOCK_WAIT);
6796 SCHED_WARN_ON(current->__state & TASK_RTLOCK_WAIT);

Completed in 431 milliseconds