/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()
|
H A D | preemptirq_delay_test.c | 137 set_current_state(TASK_INTERRUPTIBLE); in preemptirq_delay_run() 140 set_current_state(TASK_INTERRUPTIBLE); in preemptirq_delay_run()
|
H A D | trace_selftest.c | 1439 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread() 1442 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread() 1447 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread() 1452 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_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/net/atm/ |
H A D | svc.c | 219 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_connect() 224 TASK_INTERRUPTIBLE); in svc_connect() 243 TASK_INTERRUPTIBLE); in svc_connect() 250 TASK_INTERRUPTIBLE); in svc_connect() 349 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_accept() 370 TASK_INTERRUPTIBLE); in svc_accept() 549 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_addparty() 572 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_dropparty()
|
/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/kernel/sched/ |
H A D | completion.c | 221 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible() 244 return wait_for_common(x, timeout, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible_timeout()
|
H A D | wait.c | 337 set_current_state(TASK_INTERRUPTIBLE); in do_wait_intr() 354 set_current_state(TASK_INTERRUPTIBLE); in do_wait_intr_irq()
|
/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/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/accessibility/speakup/ |
H A D | thread.c | 31 TASK_INTERRUPTIBLE); in speakup_thread()
|
/linux/kernel/trace/rv/monitors/wwnr/ |
H A D | wwnr.c | 25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
|
/linux/samples/ftrace/ |
H A D | sample-trace-array.c | 48 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func()
|
/linux/tools/perf/util/bpf_skel/ |
H A D | off_cpu.bpf.c | 12 #define TASK_INTERRUPTIBLE 0x0001 macro 176 if (state != TASK_INTERRUPTIBLE && in can_record()
|
/linux/drivers/char/ |
H A D | nwbutton.c | 172 prepare_to_wait(&button_wait_queue, &wait, TASK_INTERRUPTIBLE); in button_read()
|
/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()
|