Home
last modified time | relevance | path

Searched refs:TASK_INTERRUPTIBLE (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/linux-6.6.21/include/linux/
Dwait.h229 #define wake_up_interruptible(x) __wake_up(x, TASK_INTERRUPTIBLE, 1, NULL)
230 #define wake_up_interruptible_nr(x, nr) __wake_up(x, TASK_INTERRUPTIBLE, nr, NULL)
231 #define wake_up_interruptible_all(x) __wake_up(x, TASK_INTERRUPTIBLE, 0, NULL)
232 #define wake_up_interruptible_sync(x) __wake_up_sync((x), TASK_INTERRUPTIBLE)
246 __wake_up(x, TASK_INTERRUPTIBLE, 1, poll_to_key(m))
248 __wake_up_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
250 __wake_up_locked_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
287 (state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL)))
367 ___wait_event(wq_head, condition, (TASK_INTERRUPTIBLE|TASK_FREEZABLE), \
426 (TASK_INTERRUPTIBLE|TASK_FREEZABLE), 0, timeout, \
[all …]
Dswait.h207 ___swait_event(wq, condition, TASK_INTERRUPTIBLE, 0, \
220 TASK_INTERRUPTIBLE, timeout, \
/linux-6.6.21/kernel/trace/
Dring_buffer_benchmark.c219 set_current_state(TASK_INTERRUPTIBLE); in ring_buffer_consumer()
373 set_current_state(TASK_INTERRUPTIBLE); in wait_to_die()
376 set_current_state(TASK_INTERRUPTIBLE); in wait_to_die()
388 set_current_state(TASK_INTERRUPTIBLE); in ring_buffer_consumer_thread()
416 set_current_state(TASK_INTERRUPTIBLE); in ring_buffer_producer_thread()
Dpreemptirq_delay_test.c136 set_current_state(TASK_INTERRUPTIBLE); in preemptirq_delay_run()
139 set_current_state(TASK_INTERRUPTIBLE); in preemptirq_delay_run()
Dtrace_selftest.c1171 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
1174 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
1179 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
1184 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
/linux-6.6.21/kernel/locking/
Drtmutex_api.c87 return __rt_mutex_lock_common(lock, TASK_INTERRUPTIBLE, NULL, 0); in rt_mutex_lock_interruptible()
379 set_current_state(TASK_INTERRUPTIBLE); in rt_mutex_wait_proxy_lock()
380 ret = rt_mutex_slowlock_block(lock, NULL, TASK_INTERRUPTIBLE, to, waiter); in rt_mutex_wait_proxy_lock()
537 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested()
570 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in mutex_lock_interruptible()
Dmutex.c821 return __mutex_lock(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested()
886 ret = __ww_mutex_lock(&lock->base, TASK_INTERRUPTIBLE, in ww_mutex_lock_interruptible()
1047 return __mutex_lock(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in __mutex_lock_interruptible_slowpath()
1061 return __ww_mutex_lock(&lock->base, TASK_INTERRUPTIBLE, 0, in __ww_mutex_lock_interruptible_slowpath()
Dww_rt_mutex.c88 return __ww_rt_mutex_lock(lock, ctx, TASK_INTERRUPTIBLE, _RET_IP_); in ww_mutex_lock_interruptible()
/linux-6.6.21/net/atm/
Dsvc.c219 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-6.6.21/samples/trace_events/
Dtrace-events-sample.c30 set_current_state(TASK_INTERRUPTIBLE); in do_simple_thread_func()
76 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func_fn()
/linux-6.6.21/Documentation/translations/zh_CN/scheduler/
Dcompletion.rst182 这个函数在任务等待时标记为TASK_INTERRUPTIBLE。如果在等待期间收到信号,它将返回
198 这个函数传递一个以jiffies为单位的超时,并将任务标记为TASK_INTERRUPTIBLE。如果收到
/linux-6.6.21/kernel/sched/
Dcompletion.c216 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible()
239 return wait_for_common(x, timeout, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible_timeout()
/linux-6.6.21/drivers/dma/idxd/
Dsubmit.c49 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-6.6.21/net/bluetooth/
Daf_bluetooth.c364 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_data_wait()
598 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state()
613 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state()
637 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
652 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
/linux-6.6.21/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c12 #define TASK_INTERRUPTIBLE 0x0001 macro
146 if (state != TASK_INTERRUPTIBLE && in can_record()
/linux-6.6.21/drivers/accessibility/speakup/
Dthread.c31 TASK_INTERRUPTIBLE); in speakup_thread()
/linux-6.6.21/kernel/trace/rv/monitors/wwnr/
Dwwnr.c25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
/linux-6.6.21/samples/ftrace/
Dsample-trace-array.c48 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func()
Dftrace-direct-modify.c181 set_current_state(TASK_INTERRUPTIBLE); in simple_thread()
Dftrace-direct-multi-modify.c201 set_current_state(TASK_INTERRUPTIBLE); in simple_thread()
/linux-6.6.21/drivers/mmc/core/
Dsdio_irq.c186 set_current_state(TASK_INTERRUPTIBLE); in sdio_irq_thread()
207 set_current_state(TASK_INTERRUPTIBLE); in sdio_irq_thread()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_irq.c204 TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE); in vmw_fallback_wait()
222 TASK_INTERRUPTIBLE : in vmw_fallback_wait()
/linux-6.6.21/include/linux/sched/
Dsignal.h368 !wake_up_state(task, TASK_INTERRUPTIBLE); in __set_notify_signal()
416 if (!(state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL))) in signal_pending_state()
421 return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p); in signal_pending_state()
/linux-6.6.21/kernel/
Dvhost_task.c48 set_current_state(TASK_INTERRUPTIBLE); in vhost_task_fn()
/linux-6.6.21/rust/kernel/sync/
Dcondvar.rs134 self.wait_internal(bindings::TASK_INTERRUPTIBLE, guard); in wait()

12345678910>>...15