Home
last modified time | relevance | path

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

123456789

/linux/rust/kernel/sync/
H A Dcondvar.rs13 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 Dring_buffer_benchmark.c221 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 Dtrace_selftest.c1439 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 Drtmutex_api.c127 return __rt_mutex_lock_common(lock, TASK_INTERRUPTIBLE, NULL, 0); in rt_mutex_lock_interruptible()
429 set_current_state(TASK_INTERRUPTIBLE); in rt_mutex_wait_proxy_lock()
430 ret = rt_mutex_slowlock_block(lock, NULL, TASK_INTERRUPTIBLE, to, waiter, NULL); in rt_mutex_wait_proxy_lock()
594 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested()
648 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in mutex_lock_interruptible()
/linux/samples/trace_events/
H A 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/include/linux/
H A Dswait.h207 ___swait_event(wq, condition, TASK_INTERRUPTIBLE, 0, \
220 TASK_INTERRUPTIBLE, timeout, \
/linux/Documentation/translations/zh_CN/scheduler/
H A Dcompletion.rst182 这个函数在任务等待时标记为TASK_INTERRUPTIBLE。如果在等待期间收到信号,它将返回
198 这个函数传递一个以jiffies为单位的超时,并将任务标记为TASK_INTERRUPTIBLE。如果收到
/linux/kernel/sched/
H A Dcompletion.c221 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()
/linux/drivers/dma/idxd/
H A 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/rust/kernel/
H A Dtask.rs24 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int; constant
/linux/drivers/accessibility/speakup/
H A Dthread.c31 TASK_INTERRUPTIBLE); in speakup_thread()
H A Dspeakup_dectlk.c239 prepare_to_wait(&flush, &wait, TASK_INTERRUPTIBLE); in do_catch_up()
261 set_current_state(TASK_INTERRUPTIBLE); in do_catch_up()
/linux/drivers/mmc/core/
H A Dsdio_irq.c186 set_current_state(TASK_INTERRUPTIBLE); in sdio_irq_thread()
207 set_current_state(TASK_INTERRUPTIBLE); in sdio_irq_thread()
/linux/samples/ftrace/
H A Dsample-trace-array.c48 set_current_state(TASK_INTERRUPTIBLE); in simple_thread_func()
H A Dftrace-direct-modify.c299 set_current_state(TASK_INTERRUPTIBLE); in simple_thread()
H A Dftrace-direct-multi-modify.c341 set_current_state(TASK_INTERRUPTIBLE); in simple_thread()
/linux/net/bluetooth/
H A Daf_bluetooth.c421 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_data_wait()
750 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state()
765 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_state()
789 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
804 set_current_state(TASK_INTERRUPTIBLE); in bt_sock_wait_ready()
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c12 #define TASK_INTERRUPTIBLE 0x0001 macro
176 if (state != TASK_INTERRUPTIBLE && in can_record()
/linux/drivers/mfd/
H A Ducb1x00-ts.c238 set_current_state(TASK_INTERRUPTIBLE); in ucb1x00_thread()
271 set_current_state(TASK_INTERRUPTIBLE); in ucb1x00_thread()
/linux/drivers/char/
H A Dnwbutton.c172 prepare_to_wait(&button_wait_queue, &wait, TASK_INTERRUPTIBLE); in button_read()
/linux/drivers/gpu/drm/i915/
H A Di915_active.h175 return __i915_active_wait(ref, TASK_INTERRUPTIBLE); in i915_active_wait()
/linux/kernel/time/
H A Dsleep_timeout.c127 __set_current_state(TASK_INTERRUPTIBLE); in schedule_timeout_interruptible()
/linux/drivers/crypto/ccp/
H A Dccp-dev.c443 set_current_state(TASK_INTERRUPTIBLE); in ccp_cmd_queue_thread()
447 set_current_state(TASK_INTERRUPTIBLE); in ccp_cmd_queue_thread()
/linux/net/vmw_vsock/
H A Dvsock_bpf.c53 wait_woken(&wait, TASK_INTERRUPTIBLE, timeo); in vsock_msg_wait_data()
/linux/arch/powerpc/platforms/83xx/
H A Dmcu_mpc8349emitx.c62 set_current_state(TASK_INTERRUPTIBLE); in shutdown_thread_fn()

123456789