Function report |
Source Code:kernel\sched\wait.c |
Create Date:2022-07-28 09:40:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prepare_to_wait_exclusive
Proto:void prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct wait_queue_head * | wq_head | |
struct wait_queue_entry * | wq_entry | |
int | state |
257 | flags |= wait_queue_entry::flags |
258 | spin_lock_irqsave( & lock, flags) |
259 | If list_empty - tests whether a list is empty*@head: the list to test. Then __add_wait_queue_entry_tail(wq_head, wq_entry) |
261 | set_current_state(state) |
262 | spin_unlock_irqrestore( & lock, flags) |
Name | Describe |
---|---|
__wait_on_bit_lock | |
get_unlocked_entry | Look up entry in page cache, wait for it to become unlocked if it* is a DAX entry and return it. The caller must subsequently call* put_unlocked_entry() if it did not lock the entry or dax_unlock_entry()* if it did |
sbitmap_prepare_to_wait |
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 |