Home
last modified time | relevance | path

Searched refs:TASK_KILLABLE (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/kernel/sched/
Dcompletion.c241 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_KILLABLE); in wait_for_completion_killable()
264 return wait_for_common(x, timeout, TASK_KILLABLE); in wait_for_completion_killable_timeout()
/Linux-v4.19/kernel/locking/
Drwsem-spinlock.c185 return __down_read_common(sem, TASK_KILLABLE); in __down_read_killable()
268 return __down_write_common(sem, TASK_KILLABLE); in __down_write_killable()
Drwsem-xadd.c293 return __rwsem_down_read_failed_common(sem, TASK_KILLABLE); in rwsem_down_read_failed_killable()
602 return __rwsem_down_write_failed_common(sem, TASK_KILLABLE); in rwsem_down_write_failed_killable()
Dsemaphore.c248 return __down_common(sem, TASK_KILLABLE, MAX_SCHEDULE_TIMEOUT); in __down_killable()
Dmutex.c1102 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
1339 return __mutex_lock(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in __mutex_lock_killable_slowpath()
/Linux-v4.19/include/linux/
Dwait.h230 state == TASK_INTERRUPTIBLE || state == TASK_KILLABLE) \
576 ___wait_event(wq, condition, TASK_KILLABLE, 1, 0, \
854 ___wait_event(wq, condition, TASK_KILLABLE, 0, 0, schedule())
882 TASK_KILLABLE, 0, timeout, \
Dwait_bit.h282 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
Dsched.h89 #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE) macro
/Linux-v4.19/fs/xfs/
Dxfs_extent_busy.c609 prepare_to_wait(&pag->pagb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_flush()
629 prepare_to_wait(&pag->pagb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_wait_all()
Dxfs_trans_ail.c529 set_current_state(TASK_KILLABLE); in xfsaild()
/Linux-v4.19/net/sunrpc/
Dsched.c317 action, TASK_KILLABLE); in __rpc_wait_for_completion_task()
815 TASK_KILLABLE); in __rpc_execute()
Dxprtsock.c2146 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) in xs_enable_swap()
2168 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) in xs_disable_swap()
/Linux-v4.19/fs/nfs/
Dfile.c554 nfs_wait_bit_killable, TASK_KILLABLE); in nfs_vm_page_mkwrite()
Dpnfs.c1752 TASK_KILLABLE); in pnfs_prepare_to_retry_layoutget()
1905 TASK_KILLABLE)); in pnfs_update_layout()
2896 TASK_KILLABLE); in pnfs_layoutcommit_inode()
Dpnfs_nfs.c563 TASK_KILLABLE); in nfs4_wait_ds_connect()
/Linux-v4.19/fs/
Dexec.c1084 __set_current_state(TASK_KILLABLE); in de_thread()
1111 __set_current_state(TASK_KILLABLE); in de_thread()
Duserfaultfd.c460 TASK_KILLABLE; in handle_userfault()
594 set_current_state(TASK_KILLABLE); in userfaultfd_event_wait_completion()
/Linux-v4.19/Documentation/scheduler/
Dcompletion.txt181 Further variants include _killable which uses TASK_KILLABLE as the
/Linux-v4.19/fs/cifs/
Dmisc.c558 TASK_KILLABLE); in cifs_get_writer()
/Linux-v4.19/fs/overlayfs/
Dcopy_up.c158 if (signal_pending_state(TASK_KILLABLE, current)) { in ovl_copy_up_data()
/Linux-v4.19/kernel/
Dptrace.c440 wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE); in ptrace_attach()
/Linux-v4.19/mm/
Dfilemap.c1140 return wait_on_page_bit_common(q, page, bit_nr, TASK_KILLABLE, false); in wait_on_page_bit_killable()
1281 return wait_on_page_bit_common(q, page, PG_locked, TASK_KILLABLE, true); in __lock_page_killable()
Dpage-writeback.c1777 __set_current_state(TASK_KILLABLE); in balance_dirty_pages()
/Linux-v4.19/kernel/time/
Dtimer.c1830 __set_current_state(TASK_KILLABLE); in schedule_timeout_killable()
/Linux-v4.19/block/
Dblk-cgroup.c1708 __set_current_state(TASK_KILLABLE); in blkcg_maybe_throttle_blkg()

12