Function report |
Source Code:fs\notify\dnotify\dnotify.c |
Create Date:2022-07-28 20:17:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:When a process starts or stops watching an inode the set of events which* dnotify cares about for that inode may change. This function runs the* list of everything receiving dnotify events about this directory and calculates* the set of all those events
Proto:static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct fsnotify_mark * | fsn_mark |
48 | new_mask = 0 |
56 | When dn != NULL cycle new_mask |= dn_mask & ~dnotify multishot |
58 | If Mask this mark is for [mark->lock, group->mark_mutex] == new_mask Then Return |
Name | Describe |
---|---|
dnotify_handle_event | Mains fsnotify call where events are delivered to dnotify.* Find the dnotify mark on the relevant inode, run the list of dnotify structs* on that mark and determine which of them has expressed interest in receiving* events of this type |
dnotify_flush | Called every time a file is closed. Looks first for a dnotify mark on the* inode. If one is found run all of the ->dn structures attached to that* mark for one relevant to this process closing the file and remove that* dnotify_struct |
fcntl_dirnotify | When a process calls fcntl to attach a dnotify watch to a directory it ends* up here. Allocate both a mark for fsnotify to add and a dnotify_struct to be* attached to the fsnotify_mark. |
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 |