Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/sched/
A Dcompletion.c244 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_KILLABLE); in wait_for_completion_killable()
278 return wait_for_common(x, timeout, TASK_KILLABLE); in wait_for_completion_killable_timeout()
/linux-6.3-rc2/kernel/locking/
A Drtmutex_api.c102 return __rt_mutex_lock_common(lock, TASK_KILLABLE, NULL, 0); in rt_mutex_lock_killable()
544 return __mutex_lock_common(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
576 return __mutex_lock_common(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in mutex_lock_killable()
A Drwsem.c1273 return __down_read_common(sem, TASK_KILLABLE); in __down_read_killable()
1320 return __down_write_common(sem, TASK_KILLABLE); in __down_write_killable()
1459 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1479 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
A Dsemaphore.c264 return __down_common(sem, TASK_KILLABLE, MAX_SCHEDULE_TIMEOUT); in __down_killable()
A Dmutex.c814 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
1041 return __mutex_lock(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in __mutex_lock_killable_slowpath()
/linux-6.3-rc2/fs/xfs/
A Dxfs_extent_busy.c584 prepare_to_wait(&pag->pagb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_flush()
603 prepare_to_wait(&pag->pagb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_wait_all()
A Dxfs_trans_ail.c607 set_current_state(TASK_KILLABLE|TASK_FREEZABLE); in xfsaild()
/linux-6.3-rc2/include/linux/
A Dwait.h631 ___wait_event(wq, condition, TASK_KILLABLE, 1, 0, \
909 ___wait_event(wq, condition, TASK_KILLABLE, 0, 0, schedule())
965 TASK_KILLABLE, 0, timeout, \
A Dwait_bit.h282 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
/linux-6.3-rc2/Documentation/translations/zh_CN/scheduler/
A Dcompletion.rst202 更多的变体包括_killable,它使用TASK_KILLABLE作为指定的任务状态,如果它被中断,将返
/linux-6.3-rc2/net/sunrpc/
A Dsysfs.c247 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_dstaddr_store()
310 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_state_change()
A Dsched.c346 rpc_wait_bit_killable, TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in rpc_wait_for_completion_task()
989 TASK_KILLABLE|TASK_FREEZABLE); in __rpc_execute()
/linux-6.3-rc2/kernel/
A Dumh.c442 retval = wait_for_completion_state(&done, state | TASK_KILLABLE); in call_usermodehelper_exec()
/linux-6.3-rc2/fs/ceph/
A Dmds_client.h582 TASK_KILLABLE); in ceph_wait_on_async_create()
/linux-6.3-rc2/fs/orangefs/
A Dfile.c290 ret = wait_on_bit(bitlock, 1, TASK_KILLABLE); in orangefs_revalidate_mapping()
/linux-6.3-rc2/lib/
A Dtest_lockup.c468 wait_state = TASK_KILLABLE; in test_lockup_init()
/linux-6.3-rc2/fs/erofs/
A Dxattr.c38 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in init_inode_xattrs()
A Dzmap.c628 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_Z_BIT, TASK_KILLABLE)) in z_erofs_fill_inode_lazy()
/linux-6.3-rc2/fs/nfs/
A Dpnfs.c1914 TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in pnfs_prepare_to_retry_layoutget()
2037 TASK_KILLABLE)); in pnfs_update_layout()
2089 TASK_KILLABLE)); in pnfs_update_layout()
3200 TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in pnfs_layoutcommit_inode()
A Dfile.c592 TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in nfs_vm_page_mkwrite()
/linux-6.3-rc2/fs/
A Dexec.c1069 __set_current_state(TASK_KILLABLE); in de_thread()
1096 __set_current_state(TASK_KILLABLE); in de_thread()
A Duserfaultfd.c370 return TASK_KILLABLE; in userfaultfd_get_blocking_state()
603 set_current_state(TASK_KILLABLE); in userfaultfd_event_wait_completion()
/linux-6.3-rc2/mm/
A Dfilemap.c1451 return folio_wait_bit_common(folio, bit_nr, TASK_KILLABLE, SHARED); in folio_wait_bit_killable()
1671 return folio_wait_bit_common(folio, PG_locked, TASK_KILLABLE, in __folio_lock_killable()
2487 folio_put_wait_locked(folio, TASK_KILLABLE); in filemap_update_page()
/linux-6.3-rc2/fs/overlayfs/
A Dcopy_up.c272 if (signal_pending_state(TASK_KILLABLE, current)) { in ovl_copy_up_file()
/linux-6.3-rc2/Documentation/scheduler/
A Dcompletion.rst228 Further variants include _killable which uses TASK_KILLABLE as the

Completed in 73 milliseconds

12