Function report |
Source Code:ipc\mqueue.c |
Create Date:2022-07-28 16:50:52 |
Last Modify:2020-03-17 23:00:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mqueue_poll_file
Proto:static __poll_t mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab)
Type:__poll_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct poll_table_struct * | poll_tab |
603 | info = MQUEUE_I(file_inode(filp)) |
604 | retval = 0 |
609 | If number of messages currently queued Then retval = Epoll event masks | EPOLLRDNORM |
612 | If number of messages currently queued < maximum number of messages Then retval |= EPOLLOUT | EPOLLWRNORM |
614 | spin_unlock( & lock) |
616 | Return retval |
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 |