Home
last modified time | relevance | path

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

123

/linux/kernel/sched/
H A Dcompletion.c259 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_KILLABLE); in wait_for_completion_killable()
293 return wait_for_common(x, timeout, TASK_KILLABLE); in wait_for_completion_killable_timeout()
/linux/kernel/locking/
H A Drtmutex_api.c120 return __rt_mutex_lock_common(lock, TASK_KILLABLE, NULL, 0); in rt_mutex_lock_killable()
568 return __mutex_lock_common(lock, TASK_KILLABLE, subclass, nest_lock, _RET_IP_); in _mutex_lock_killable()
615 return __mutex_lock_common(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in mutex_lock_killable()
H A Drwsem.c1284 return __down_read_common(sem, TASK_KILLABLE); in __down_read_killable()
1331 return __down_write_common(sem, TASK_KILLABLE); in __down_write_killable()
1476 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1496 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
H A Dsemaphore.c313 return __down_common(sem, TASK_KILLABLE, MAX_SCHEDULE_TIMEOUT); in __down_killable()
H A Dmutex.c828 return __mutex_lock(lock, TASK_KILLABLE, subclass, nest, _RET_IP_); in _mutex_lock_killable()
1055 return __mutex_lock(lock, TASK_KILLABLE, 0, NULL, _RET_IP_); in __mutex_lock_killable_slowpath()
/linux/kernel/module/
H A Ddups.c209 TASK_KILLABLE); in kmod_dup_request_exists_wait()
/linux/kernel/time/
H A Dsleep_timeout.c142 __set_current_state(TASK_KILLABLE); in schedule_timeout_killable()
/linux/include/linux/
H A Dwait.h636 ___wait_event(wq, condition, TASK_KILLABLE, 1, 0, \
914 ___wait_event(wq, condition, TASK_KILLABLE, 0, 0, schedule())
982 TASK_KILLABLE, 0, timeout, \
H A Dwait_bit.h340 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
/linux/fs/xfs/
H A Dxfs_extent_busy.c638 prepare_to_wait(&eb->eb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_flush()
656 prepare_to_wait(&eb->eb_wait, &wait, TASK_KILLABLE); in xfs_extent_busy_wait_group()
H A Dxfs_zone_space_resv.c155 set_current_state(TASK_KILLABLE); in xfs_zoned_reserve_available()
H A Dxfs_trans_ail.c648 set_current_state(TASK_KILLABLE|TASK_FREEZABLE); in xfsaild()
/linux/net/sunrpc/
H A Dsysfs.c385 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_dstaddr_store()
448 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_state_change()
492 if (wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_KILLABLE)) { in rpc_sysfs_xprt_del_xprt()
H A Dsched.c346 rpc_wait_bit_killable, TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in rpc_wait_for_completion_task()
987 TASK_KILLABLE|TASK_FREEZABLE); in __rpc_execute()
/linux/Documentation/translations/zh_CN/scheduler/
H A Dcompletion.rst202 更多的变体包括_killable,它使用TASK_KILLABLE作为指定的任务状态,如果它被中断,将返
/linux/kernel/
H A Dumh.c441 retval = wait_for_completion_state(&done, state | TASK_KILLABLE); in call_usermodehelper_exec()
/linux/fs/orangefs/
H A Dfile.c290 ret = wait_on_bit(bitlock, 1, TASK_KILLABLE); in orangefs_revalidate_mapping()
/linux/fs/ceph/
H A Dmds_client.h662 TASK_KILLABLE); in ceph_wait_on_async_create()
/linux/lib/
H A Dtest_lockup.c468 wait_state = TASK_KILLABLE; in test_lockup_init()
/linux/drivers/tee/qcomtee/
H A Duser_obj.c259 TASK_KILLABLE | TASK_FREEZABLE)) { in qcomtee_user_object_dispatch()
/linux/fs/erofs/
H A Dxattr.c47 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in erofs_init_inode_xattrs()
/linux/fs/
H A Dexec.c936 __set_current_state(TASK_KILLABLE); in de_thread()
963 __set_current_state(TASK_KILLABLE); in de_thread()
/linux/fs/nfs/
H A Dpnfs.c2043 TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in pnfs_prepare_to_retry_layoutget()
2178 TASK_KILLABLE)); in pnfs_update_layout()
2230 TASK_KILLABLE)); in pnfs_update_layout()
3349 TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in pnfs_layoutcommit_inode()
H A Dfile.c664 TASK_KILLABLE|TASK_FREEZABLE_UNSAFE); in nfs_vm_page_mkwrite()
/linux/fs/xfs/scrub/
H A Dscrub.c991 set_current_state(TASK_KILLABLE); in xfs_ioc_scrubv_metadata()

123