Function report |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-28 20:18:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fanotify_add_mark
Proto:static int fanotify_add_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int type, __u32 mask, unsigned int flags, __kernel_fsid_t *fsid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fsnotify_group * | group | |
fsnotify_connp_t * | connp | |
unsigned int | type | |
__u32 | mask | |
unsigned int | flags | |
__kernel_fsid_t * | fsid |
711 | mutex_lock( & protect marks_list ) |
712 | fsn_mark = Given a list of marks, find the mark associated with given group. If found* take a reference to that mark and return it, else return NULL. |
713 | If Not fsn_mark Then |
720 | added = fanotify_mark_add_to_mask(fsn_mark, mask, flags) |
726 | Return 0 |
Name | Describe |
---|---|
fanotify_add_vfsmount_mark | |
fanotify_add_sb_mark | |
fanotify_add_inode_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 |