Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.1.9/include/linux/
Dwait.h228 #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)
243 __wake_up(x, TASK_INTERRUPTIBLE, 1, poll_to_key(m))
245 __wake_up_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
247 __wake_up_locked_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
284 (state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL)))
364 ___wait_event(wq_head, condition, (TASK_INTERRUPTIBLE|TASK_FREEZABLE), \
423 (TASK_INTERRUPTIBLE|TASK_FREEZABLE), 0, timeout, \
[all …]
Dswait.h207 ___swait_event(wq, condition, TASK_INTERRUPTIBLE, 0, \
220 TASK_INTERRUPTIBLE, timeout, \
/linux-6.1.9/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.c1159 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
1162 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
1167 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
1172 set_current_state(TASK_INTERRUPTIBLE); in trace_wakeup_test_thread()
/linux-6.1.9/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.1.9/net/atm/
Dsvc.c214 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_connect()
219 TASK_INTERRUPTIBLE); in svc_connect()
238 TASK_INTERRUPTIBLE); in svc_connect()
245 TASK_INTERRUPTIBLE); in svc_connect()
344 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_accept()
365 TASK_INTERRUPTIBLE); in svc_accept()
544 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_addparty()
567 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE); in svc_dropparty()
/linux-6.1.9/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.1.9/kernel/sched/
Dcompletion.c206 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible()
229 return wait_for_common(x, timeout, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible_timeout()
Dwait.c349 set_current_state(TASK_INTERRUPTIBLE); in do_wait_intr()
366 set_current_state(TASK_INTERRUPTIBLE); in do_wait_intr_irq()
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/
Dcompletion.rst182 这个函数在任务等待时标记为TASK_INTERRUPTIBLE。如果在等待期间收到信号,它将返回
198 这个函数传递一个以jiffies为单位的超时,并将任务标记为TASK_INTERRUPTIBLE。如果收到
/linux-6.1.9/net/bluetooth/
Daf_bluetooth.c310 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_data_wait()
544 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state()
559 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state()
583 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
598 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
/linux-6.1.9/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.1.9/kernel/trace/rv/monitors/wwnr/
Dwwnr.c25 if (prev_state == TASK_INTERRUPTIBLE) in handle_switch()
/linux-6.1.9/drivers/accessibility/speakup/
Dthread.c31 TASK_INTERRUPTIBLE); in speakup_thread()
Dspeakup_dectlk.c231 prepare_to_wait(&flush, &wait, TASK_INTERRUPTIBLE); in do_catch_up()
253 set_current_state(TASK_INTERRUPTIBLE); in do_catch_up()
/linux-6.1.9/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c12 #define TASK_INTERRUPTIBLE 0x0001 macro
146 if (state != TASK_INTERRUPTIBLE && in can_record()
/linux-6.1.9/samples/ftrace/
Dsample-trace-array.c48 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func()
Dftrace-direct-modify.c108 set_current_state(TASK_INTERRUPTIBLE); in simple_thread()
Dftrace-direct-multi-modify.c117 set_current_state(TASK_INTERRUPTIBLE); in simple_thread()
/linux-6.1.9/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.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_irq.c204 TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE); in vmw_fallback_wait()
222 TASK_INTERRUPTIBLE : in vmw_fallback_wait()
/linux-6.1.9/fs/
Deventfd.c244 set_current_state(TASK_INTERRUPTIBLE); in eventfd_read()
293 set_current_state(TASK_INTERRUPTIBLE); in eventfd_write()

12345678910>>...15