Home
last modified time | relevance | path

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

12

/Linux-v5.15/kernel/sched/
Dcompletion.c243 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_KILLABLE); in wait_for_completion_killable()
266 return wait_for_common(x, timeout, TASK_KILLABLE); in wait_for_completion_killable_timeout()
/Linux-v5.15/include/linux/
Dwait.h258 state == TASK_INTERRUPTIBLE || state == TASK_KILLABLE) \
604 ___wait_event(wq, condition, TASK_KILLABLE, 1, 0, \
882 ___wait_event(wq, condition, TASK_KILLABLE, 0, 0, schedule())
910 TASK_KILLABLE, 0, timeout, \
Dwait_bit.h282 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
/Linux-v5.15/kernel/locking/
Drtmutex_api.c522 return __mutex_lock_common(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
554 return __mutex_lock_common(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in mutex_lock_killable()
Drwsem.c1233 return __down_read_common(sem, TASK_KILLABLE); in __down_read_killable()
1276 return __down_write_common(sem, TASK_KILLABLE); in __down_write_killable()
1403 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1423 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
Dsemaphore.c251 return __down_common(sem, TASK_KILLABLE, MAX_SCHEDULE_TIMEOUT); in __down_killable()
Dmutex.c758 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
985 return __mutex_lock(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in __mutex_lock_killable_slowpath()
/Linux-v5.15/fs/xfs/
Dxfs_extent_busy.c583 prepare_to_wait(&pag->pagb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_flush()
602 prepare_to_wait(&pag->pagb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_wait_all()
Dxfs_trans_ail.c593 set_current_state(TASK_KILLABLE); in xfsaild()
/Linux-v5.15/net/sunrpc/
Dsysfs.c238 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_dstaddr_store()
297 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_state_change()
Dsched.c332 action, TASK_KILLABLE); in __rpc_wait_for_completion_task()
941 TASK_KILLABLE); in __rpc_execute()
/Linux-v5.15/fs/orangefs/
Dfile.c290 ret = wait_on_bit(bitlock, 1, TASK_KILLABLE); in orangefs_revalidate_mapping()
/Linux-v5.15/lib/
Dtest_lockup.c463 wait_state = TASK_KILLABLE; in test_lockup_init()
/Linux-v5.15/fs/erofs/
Dzmap.c46 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_Z_BIT, TASK_KILLABLE)) in z_erofs_fill_inode_lazy()
Dxattr.c59 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in init_inode_xattrs()
/Linux-v5.15/fs/nfs/
Dfile.c561 nfs_wait_bit_killable, TASK_KILLABLE); in nfs_vm_page_mkwrite()
Dpnfs.c1899 TASK_KILLABLE); in pnfs_prepare_to_retry_layoutget()
2072 TASK_KILLABLE)); in pnfs_update_layout()
3179 TASK_KILLABLE); in pnfs_layoutcommit_inode()
Dpnfs_nfs.c811 return wait_on_bit(&ds->ds_state, NFS4DS_CONNECTING, TASK_KILLABLE); in nfs4_wait_ds_connect()
/Linux-v5.15/fs/
Dexec.c1065 __set_current_state(TASK_KILLABLE); in de_thread()
1092 __set_current_state(TASK_KILLABLE); in de_thread()
Duserfaultfd.c347 return TASK_KILLABLE; in userfaultfd_get_blocking_state()
573 set_current_state(TASK_KILLABLE); in userfaultfd_event_wait_completion()
/Linux-v5.15/mm/
Dfilemap.c1424 return wait_on_page_bit_common(q, page, bit_nr, TASK_KILLABLE, SHARED); in wait_on_page_bit_killable()
1657 return wait_on_page_bit_common(q, page, PG_locked, TASK_KILLABLE, in __lock_page_killable()
2439 put_and_wait_on_page_locked(page, TASK_KILLABLE); in filemap_update_page()
/Linux-v5.15/fs/overlayfs/
Dcopy_up.c217 if (signal_pending_state(TASK_KILLABLE, current)) { in ovl_copy_up_data()
/Linux-v5.15/Documentation/scheduler/
Dcompletion.rst228 Further variants include _killable which uses TASK_KILLABLE as the
/Linux-v5.15/fs/btrfs/
Dspace-info.c1292 ret = prepare_to_wait_event(&ticket->wait, &wait, TASK_KILLABLE); in wait_reserve_ticket()
/Linux-v5.15/kernel/
Dptrace.c471 wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE); in ptrace_attach()

12