Home
last modified time | relevance | path

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

1234567891011

/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 Dpreemptirq_delay_test.c137 set_current_state(TASK_INTERRUPTIBLE); in preemptirq_delay_run()
140 set_current_state(TASK_INTERRUPTIBLE); in preemptirq_delay_run()
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/net/atm/
H A 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/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()
H A Dwait.c337 set_current_state(TASK_INTERRUPTIBLE); in do_wait_intr()
354 set_current_state(TASK_INTERRUPTIBLE); in do_wait_intr_irq()
/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/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/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/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()
/linux/kernel/locking/
H A Dmutex.c898 return __mutex_lock(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested()
965 ret = __ww_mutex_lock(&lock->base, TASK_INTERRUPTIBLE, in ww_mutex_lock_interruptible()
1129 return __mutex_lock(lock, TASK_INTERRUPTIBLE, 0, NULL, _RET_IP_); in __mutex_lock_interruptible_slowpath()
1145 return __ww_mutex_lock(&lock->base, TASK_INTERRUPTIBLE, 0, in __ww_mutex_lock_interruptible_slowpath()
/linux/io_uring/
H A Dwait.c261 set_current_state(TASK_INTERRUPTIBLE); in io_cqring_wait()
264 TASK_INTERRUPTIBLE); in io_cqring_wait()
/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/kernel/
H A Dvhost_task.c42 set_current_state(TASK_INTERRUPTIBLE); in vhost_task_fn()
/linux/drivers/hid/
H A Dhid-roccat.c87 set_current_state(TASK_INTERRUPTIBLE); in roccat_read()
107 set_current_state(TASK_INTERRUPTIBLE); in roccat_read()
/linux/drivers/gpu/drm/i915/
H A Di915_active.h175 return __i915_active_wait(ref, TASK_INTERRUPTIBLE); in i915_active_wait()

1234567891011