Function report |
Source Code:fs\eventpoll.c |
Create Date:2022-07-28 20:19:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ep_poll_safewake
Proto:static void ep_poll_safewake(wait_queue_head_t *wq)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
wait_queue_head_t * | wq |
561 | local_irq_save(flags) |
564 | spin_lock_nested( & lock, subclass + 1) |
565 | __this_cpu_inc(As described in commit 0ccf831cb lockdep: annotate epoll* the use of wait queues used by epoll is done in a very controlled* manner) |
566 | wake_up_locked_poll(wq, POLLIN) |
567 | __this_cpu_dec(As described in commit 0ccf831cb lockdep: annotate epoll* the use of wait queues used by epoll is done in a very controlled* manner) |
568 | spin_unlock( & lock) |
569 | local_irq_restore(flags) |
570 | preempt_enable() |
Name | Describe |
---|---|
ep_free | |
ep_poll_callback | This is the callback that is passed to the wait queue wakeup* mechanism |
ep_insert | Must be called with "mtx" held. |
ep_modify | Modify the interest event mask by dropping an event if the new mask* has a match in the current file status. Must be called with "mtx" held. |
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 |