Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/include/linux/
Dwait.h243 state == TASK_INTERRUPTIBLE || state == TASK_KILLABLE) \
589 ___wait_event(wq, condition, TASK_KILLABLE, 1, 0, \
867 ___wait_event(wq, condition, TASK_KILLABLE, 0, 0, schedule())
895 TASK_KILLABLE, 0, timeout, \
Dwait_bit.h282 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
Dsched.h95 #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE) macro
/Linux-v5.4/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.c538 set_current_state(TASK_KILLABLE); in xfsaild()
/Linux-v5.4/kernel/locking/
Dsemaphore.c247 return __down_common(sem, TASK_KILLABLE, MAX_SCHEDULE_TIMEOUT); in __down_killable()
Dmutex.c1133 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
1370 return __mutex_lock(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in __mutex_lock_killable_slowpath()
Drwsem.c1354 if (IS_ERR(rwsem_down_read_slowpath(sem, TASK_KILLABLE))) in __down_read_killable()
1403 if (IS_ERR(rwsem_down_write_slowpath(sem, TASK_KILLABLE))) in __down_write_killable()
/Linux-v5.4/net/sunrpc/
Dsched.c349 action, TASK_KILLABLE); in __rpc_wait_for_completion_task()
943 TASK_KILLABLE); in __rpc_execute()
/Linux-v5.4/fs/erofs/
Dzmap.c42 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_Z_BIT, TASK_KILLABLE)) in fill_inode_lazy()
Dxattr.c54 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in init_inode_xattrs()
/Linux-v5.4/fs/orangefs/
Dfile.c277 ret = wait_on_bit(bitlock, 1, TASK_KILLABLE); in orangefs_revalidate_mapping()
/Linux-v5.4/fs/nfs/
Dfile.c551 nfs_wait_bit_killable, TASK_KILLABLE); in nfs_vm_page_mkwrite()
Dpnfs.c1836 TASK_KILLABLE); in pnfs_prepare_to_retry_layoutget()
1984 TASK_KILLABLE)); in pnfs_update_layout()
2985 TASK_KILLABLE); in pnfs_layoutcommit_inode()
Dpnfs_nfs.c564 TASK_KILLABLE); in nfs4_wait_ds_connect()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_active.c433 if (wait_on_bit(&ref->flags, I915_ACTIVE_GRAB_BIT, TASK_KILLABLE)) in i915_active_wait()
/Linux-v5.4/fs/
Dexec.c1089 __set_current_state(TASK_KILLABLE); in de_thread()
1116 __set_current_state(TASK_KILLABLE); in de_thread()
Duserfaultfd.c469 TASK_KILLABLE; in handle_userfault()
603 set_current_state(TASK_KILLABLE); in userfaultfd_event_wait_completion()
/Linux-v5.4/fs/cifs/
Dmisc.c577 TASK_KILLABLE); in cifs_get_writer()
/Linux-v5.4/fs/btrfs/
Dspace-info.c894 ret = prepare_to_wait_event(&ticket->wait, &wait, TASK_KILLABLE); in wait_reserve_ticket()
/Linux-v5.4/fs/overlayfs/
Dcopy_up.c155 if (signal_pending_state(TASK_KILLABLE, current)) { in ovl_copy_up_data()
/Linux-v5.4/Documentation/scheduler/
Dcompletion.rst228 Further variants include _killable which uses TASK_KILLABLE as the
/Linux-v5.4/kernel/
Dptrace.c455 wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE); in ptrace_attach()
/Linux-v5.4/mm/
Dfilemap.c1231 return wait_on_page_bit_common(q, page, bit_nr, TASK_KILLABLE, SHARED); in wait_on_page_bit_killable()
1392 return wait_on_page_bit_common(q, page, PG_locked, TASK_KILLABLE, in __lock_page_killable()

12