Function report |
Source Code:ipc\mqueue.c |
Create Date:2022-07-28 16:50:15 |
Last Modify:2020-03-17 23:00:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:msg_get
Proto:static inline struct msg_msg *msg_get(struct mqueue_inode_info *info)
Type:struct msg_msg
Parameter:
Type | Parameter | Name |
---|---|---|
struct mqueue_inode_info * | info |
195 | try_again : |
201 | parent = msg_tree_rightmost |
202 | If Not parent Then |
203 | If number of messages currently queued Then |
204 | pr_warn_once("Inconsistency in POSIX message queue, no tree element, but supposedly messages should exist!\n") |
209 | Return NULL |
211 | leaf = rb_entry(parent, structposix_msg_tree_node, rb_node) |
213 | pr_warn_once("Inconsistency in POSIX message queue, empty leaf node but we haven't implemented lazy leaf delete!\n") |
216 | msg_tree_erase(leaf, info) |
217 | Go to try_again |
218 | Else |
223 | msg_tree_erase(leaf, info) |
228 | Return msg |
Name | Describe |
---|---|
mqueue_evict_inode | |
do_mq_timedreceive |
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 |