函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-27 06:42:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:signal_pending_state

函数原型:static inline int signal_pending_state(long state, struct task_struct *p)

返回类型:int

参数:

类型参数名称
longstate
struct task_struct *p
364  如果非state按位与TASK_INTERRUPTIBLE按位或TASK_WAKEKILL的值的值则返回:0
366  如果非signal_pending(p)则返回:0
369  返回:state按位与TASK_INTERRUPTIBLE__fatal_signal_pending(p)
调用者
名称描述
__schedule调度器
prepare_to_wait_event
bit_wait
bit_wait_io
bit_wait_timeout
bit_wait_io_timeout
prepare_to_swait_event
do_wait_for_common
__mutex_lock_commonLock a mutex (possibly interruptible), slowpath:
__down_commonBecause this function is inlined, the 'state' parameter will be* constant, and thus optimised away by the compiler. Likewise the* 'timeout' parameter for the cases without timeouts.
rwsem_down_read_slowpathWait for the read lock to be granted
rwsem_down_write_slowpathWait until we successfully acquire the write lock
wait_on_page_bit_common
blk_polllk_poll - poll for IO completions*@q: the queue*@cookie: cookie passed back at IO submission time*@spin: whether to spin for completions* Description:* Poll for completions on the passed in queue. Returns number of* completed entries found