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:If multiple processes watch the same inode with dnotify there is only one* dnotify mark in inode->i_fsnotify_marks but we chain a dnotify_struct* onto that mark. This function either attaches the new dnotify_struct onto
Proto:static int attach_dn(struct dnotify_struct *dn, struct dnotify_mark *dn_mark, fl_owner_t id, int fd, struct file *filp, __u32 mask)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dnotify_struct * | dn | |
struct dnotify_mark * | dn_mark | |
fl_owner_t | id | |
int | fd | |
struct file * | filp | |
__u32 | mask |
241 | Return 0 |
Name | Describe |
---|---|
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 |