/linux/include/linux/ |
H A D | wait.h | 228 #define wake_up_interruptible(x) __wake_up(x, TASK_INTERRUPTIBLE, 1, NULL) 229 #define wake_up_interruptible_nr(x, nr) __wake_up(x, TASK_INTERRUPTIBLE, nr, NULL) 230 #define wake_up_interruptible_all(x) __wake_up(x, TASK_INTERRUPTIBLE, 0, NULL) 231 #define wake_up_interruptible_sync(x) __wake_up_sync((x), TASK_INTERRUPTIBLE) 245 __wake_up(x, TASK_INTERRUPTIBLE, 1, poll_to_key(m)) 247 __wake_up_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m)) 249 __wake_up_locked_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m)) 286 (state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL))) 369 ___wait_event(wq_head, condition, (TASK_INTERRUPTIBLE|TASK_FREEZABLE), \ 428 (TASK_INTERRUPTIBLE|TASK_FREEZABLE), 0, timeout, \ [all …]
|
H A D | swait.h | 207 ___swait_event(wq, condition, TASK_INTERRUPTIBLE, 0, \ 220 TASK_INTERRUPTIBLE, timeout, \
|
/linux/rust/kernel/sync/ |
H A D | condvar.rs | 13 MAX_SCHEDULE_TIMEOUT, TASK_FREEZABLE, TASK_INTERRUPTIBLE, TASK_NORMAL, TASK_UNINTERRUPTIBLE, 157 self.wait_internal(TASK_INTERRUPTIBLE, guard, MAX_SCHEDULE_TIMEOUT); in wait_interruptible() 173 TASK_INTERRUPTIBLE | TASK_FREEZABLE, in wait_interruptible_freezable() 192 let res = self.wait_internal(TASK_INTERRUPTIBLE, guard, jiffies); in wait_interruptible_timeout()
|
/linux/kernel/trace/ |
H A D | ring_buffer_benchmark.c | 221 set_current_state(TASK_INTERRUPTIBLE); in ring_buffer_consumer() 375 set_current_state(TASK_INTERRUPTIBLE); in wait_to_die() 378 set_current_state(TASK_INTERRUPTIBLE); in wait_to_die() 390 set_current_state(TASK_INTERRUPTIBLE); in ring_buffer_consumer_thread() 418 set_current_state(TASK_INTERRUPTIBLE); in ring_buffer_producer_thread()
|
/linux/kernel/locking/ |
H A D | rtmutex_api.c | 105 return __rt_mutex_lock_common(lock, TASK_INTERRUPTIBLE, NULL, 0); in rt_mutex_lock_interruptible() 403 set_current_state(TASK_INTERRUPTIBLE); in rt_mutex_wait_proxy_lock() 404 ret = rt_mutex_slowlock_block(lock, NULL, TASK_INTERRUPTIBLE, to, waiter, NULL); in rt_mutex_wait_proxy_lock() 561 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested() 609 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in mutex_lock_interruptible()
|
H A D | mutex.c | 835 return __mutex_lock(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested() 900 ret = __ww_mutex_lock(&lock->base, TASK_INTERRUPTIBLE, in ww_mutex_lock_interruptible() 1061 return __mutex_lock(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in __mutex_lock_interruptible_slowpath() 1075 return __ww_mutex_lock(&lock->base, TASK_INTERRUPTIBLE, 0, in __ww_mutex_lock_interruptible_slowpath()
|
H A D | ww_rt_mutex.c | 88 return __ww_rt_mutex_lock(lock, ctx, TASK_INTERRUPTIBLE, _RET_IP_); in ww_mutex_lock_interruptible()
|
/linux/samples/trace_events/ |
H A D | trace-events-sample.c | 30 set_current_state(TASK_INTERRUPTIBLE); in do_simple_thread_func() 76 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func_fn()
|
/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | completion.rst | 182 这个函数在任务等待时标记为TASK_INTERRUPTIBLE。如果在等待期间收到信号,它将返回 198 这个函数传递一个以jiffies为单位的超时,并将任务标记为TASK_INTERRUPTIBLE。如果收到
|
/linux/drivers/dma/idxd/ |
H A D | submit.c | 49 sbitmap_prepare_to_wait(sbq, ws, &wait, TASK_INTERRUPTIBLE); in idxd_alloc_desc() 50 if (signal_pending_state(TASK_INTERRUPTIBLE, current)) in idxd_alloc_desc()
|
/linux/rust/kernel/ |
H A D | task.rs | 24 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int; constant
|
/linux/drivers/accessibility/speakup/ |
H A D | thread.c | 31 TASK_INTERRUPTIBLE); in speakup_thread()
|
H A D | speakup_dectlk.c | 239 prepare_to_wait(&flush, &wait, TASK_INTERRUPTIBLE); in do_catch_up() 261 set_current_state(TASK_INTERRUPTIBLE); in do_catch_up()
|
/linux/kernel/trace/rv/monitors/wwnr/ |
H A D | wwnr.c | 25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
|
/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 391 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_data_wait() 710 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state() 725 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state() 749 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready() 764 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
|
/linux/samples/ftrace/ |
H A D | sample-trace-array.c | 48 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func()
|
/linux/drivers/mmc/core/ |
H A D | sdio_irq.c | 186 set_current_state(TASK_INTERRUPTIBLE); in sdio_irq_thread() 207 set_current_state(TASK_INTERRUPTIBLE); in sdio_irq_thread()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_irq.c | 195 TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE); in vmw_fallback_wait() 213 TASK_INTERRUPTIBLE : in vmw_fallback_wait()
|
/linux/include/linux/sched/ |
H A D | signal.h | 358 !wake_up_state(task, TASK_INTERRUPTIBLE); in __set_notify_signal() 406 if (!(state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL))) in signal_pending_state() 411 return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p); in signal_pending_state()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | util.c | 114 set_current_state(TASK_INTERRUPTIBLE); in __mt76_worker_fn()
|
/linux/kernel/ |
H A D | vhost_task.c | 42 set_current_state(TASK_INTERRUPTIBLE); in vhost_task_fn()
|
/linux/drivers/char/ |
H A D | nwbutton.c | 172 prepare_to_wait(&button_wait_queue, &wait, TASK_INTERRUPTIBLE); in button_read()
|
/linux/fs/jffs2/ |
H A D | background.c | 96 set_current_state (TASK_INTERRUPTIBLE); in jffs2_garbage_collect_thread()
|
/linux/drivers/mfd/ |
H A D | ucb1x00-ts.c | 238 set_current_state(TASK_INTERRUPTIBLE); in ucb1x00_thread() 271 set_current_state(TASK_INTERRUPTIBLE); in ucb1x00_thread()
|
/linux/drivers/hid/ |
H A D | hid-roccat.c | 87 set_current_state(TASK_INTERRUPTIBLE); in roccat_read() 107 set_current_state(TASK_INTERRUPTIBLE); in roccat_read()
|