Function report |
Source Code:fs\notify\notification.c |
Create Date:2022-07-28 20:16:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Add an event to the group notification queue
Proto:int fsnotify_add_event(struct fsnotify_group *group, struct fsnotify_event *event, int (*merge)(struct list_head *, struct fsnotify_event *))
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fsnotify_group * | group | |
struct fsnotify_event * | event | |
int (* | merge |
89 | ret = 0 |
98 | Return 2 |
113 | If Not list_empty - tests whether a list is empty*@head: the list to test. && merge Then |
115 | If ret Then |
116 | spin_unlock( & protect the notification_list ) |
117 | Return ret |
121 | queue : |
122 | events on the queue ++ |
124 | spin_unlock( & protect the notification_list ) |
127 | kill_fasync( & async notification , SIGIO, data input available ) |
128 | Return ret |
Name | Describe |
---|---|
inotify_handle_event | |
fanotify_handle_event |
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 |