Function report |
Source Code:include\linux\sched\signal.h |
Create Date:2022-07-28 05:40:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:signal_pending_state
Proto:static inline int signal_pending_state(long state, struct task_struct *p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| long | state | |
| struct task_struct * | p |
| 364 | If Not (state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL)) Then Return 0 |
| 366 | If Not signal_pending(p) Then Return 0 |
| 369 | Return state & TASK_INTERRUPTIBLE || __fatal_signal_pending(p) |
| Name | Describe |
|---|---|
| __schedule | __schedule() is the main scheduler function.* The main means of driving the scheduler and thus entering this function are:* 1. Explicit blocking: mutex, semaphore, waitqueue, etc.* 2. TIF_NEED_RESCHED flag is checked on interrupt and userspace return |
| 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_common | Lock a mutex (possibly interruptible), slowpath: |
| __down_common | Because 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_slowpath | Wait for the read lock to be granted |
| rwsem_down_write_slowpath | Wait until we successfully acquire the write lock |
| wait_on_page_bit_common | |
| blk_poll | lk_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |