Home
last modified time | relevance | path

Searched refs:fsnotify_mark (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/include/linux/
Dfsnotify_backend.h79 struct fsnotify_mark;
99 struct fsnotify_mark *inode_mark,
100 struct fsnotify_mark *vfsmount_mark,
104 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
209 struct fsnotify_mark { struct
234 void (*free_mark)(struct fsnotify_mark *mark); /* called on final put+free */ argument
331 extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *…
333 extern struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, struct inode *i…
335 extern struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmo…
337 extern void fsnotify_duplicate_mark(struct fsnotify_mark *new, struct fsnotify_mark *old);
[all …]
/linux-4.1.27/fs/notify/
Dmark.c99 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark()
104 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark()
117 struct fsnotify_mark *mark; in fsnotify_recalc_mask()
129 void fsnotify_destroy_mark_locked(struct fsnotify_mark *mark, in fsnotify_destroy_mark_locked()
198 void fsnotify_destroy_mark(struct fsnotify_mark *mark, in fsnotify_destroy_mark()
212 struct fsnotify_mark *mark, *lmark; in fsnotify_destroy_marks()
227 void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask) in fsnotify_set_mark_mask_locked()
237 void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask) in fsnotify_set_mark_ignored_mask_locked()
281 int fsnotify_add_mark_list(struct hlist_head *head, struct fsnotify_mark *mark, in fsnotify_add_mark_list()
284 struct fsnotify_mark *lmark, *last = NULL; in fsnotify_add_mark_list()
[all …]
Dfsnotify.h22 extern void fsnotify_set_inode_mark_mask_locked(struct fsnotify_mark *fsn_mark,
26 struct fsnotify_mark *mark,
29 extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark,
33 extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark,
38 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark);
40 extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark);
44 extern struct fsnotify_mark *fsnotify_find_mark(struct hlist_head *head,
Dvfsmount_mark.c35 struct fsnotify_mark *mark; in fsnotify_clear_marks_by_mount()
69 void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark) in fsnotify_destroy_vfsmount_mark()
90 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark()
94 struct fsnotify_mark *mark; in fsnotify_find_vfsmount_mark()
108 int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, in fsnotify_add_vfsmount_mark()
Dinode_mark.c46 void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark) in fsnotify_destroy_inode_mark()
72 struct fsnotify_mark *mark; in fsnotify_clear_marks_by_inode()
99 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark()
102 struct fsnotify_mark *mark; in fsnotify_find_inode_mark()
115 void fsnotify_set_inode_mark_mask_locked(struct fsnotify_mark *mark, in fsnotify_set_inode_mark_mask_locked()
143 int fsnotify_add_inode_mark(struct fsnotify_mark *mark, in fsnotify_add_inode_mark()
Dfdinfo.c25 struct fsnotify_mark *mark)) in show_fdinfo()
28 struct fsnotify_mark *mark; in show_fdinfo()
74 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo()
103 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
Dfsnotify.c127 struct fsnotify_mark *inode_mark, in send_to_group()
128 struct fsnotify_mark *vfsmount_mark, in send_to_group()
195 struct fsnotify_mark *inode_mark = NULL, *vfsmount_mark = NULL; in fsnotify()
245 struct fsnotify_mark, obj_list); in fsnotify()
251 struct fsnotify_mark, obj_list); in fsnotify()
/linux-4.1.27/fs/notify/inotify/
Dinotify.h14 struct fsnotify_mark fsn_mark;
23 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
27 struct fsnotify_mark *inode_mark,
28 struct fsnotify_mark *vfsmount_mark,
Dinotify_fsnotify.c67 struct fsnotify_mark *inode_mark, in inotify_handle_event()
68 struct fsnotify_mark *vfsmount_mark, in inotify_handle_event()
123 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
137 struct fsnotify_mark *fsn_mark; in idr_callback()
Dinotify_user.c377 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked()
490 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, in inotify_ignored_and_remove_idr()
507 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark()
520 struct fsnotify_mark *fsn_mark; in inotify_update_existing_watch()
/linux-4.1.27/fs/notify/dnotify/
Ddnotify.c41 struct fsnotify_mark fsn_mark;
53 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask()
86 struct fsnotify_mark *inode_mark, in dnotify_handle_event()
87 struct fsnotify_mark *vfsmount_mark, in dnotify_handle_event()
128 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark()
152 struct fsnotify_mark *fsn_mark; in dnotify_flush()
256 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
/linux-4.1.27/fs/notify/fanotify/
Dfanotify.c101 static bool fanotify_should_send_event(struct fsnotify_mark *inode_mark, in fanotify_should_send_event()
102 struct fsnotify_mark *vfsmnt_mark, in fanotify_should_send_event()
189 struct fsnotify_mark *inode_mark, in fanotify_handle_event()
190 struct fsnotify_mark *fanotify_mark, in fanotify_handle_event()
Dfanotify_user.c434 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()
485 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask()
518 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_vfsmount_mark()
546 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_inode_mark()
571 static __u32 fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask()
600 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark()
604 struct fsnotify_mark *mark; in fanotify_add_new_mark()
629 struct fsnotify_mark *fsn_mark; in fanotify_add_vfsmount_mark()
655 struct fsnotify_mark *fsn_mark; in fanotify_add_inode_mark()
931 fanotify_mark_cache = KMEM_CACHE(fsnotify_mark, SLAB_PANIC); in fanotify_user_setup()
/linux-4.1.27/kernel/
Daudit_watch.c59 struct fsnotify_mark mark; /* fsnotify mark on the inode */
75 static void audit_watch_free_mark(struct fsnotify_mark *entry) in audit_watch_free_mark()
102 struct fsnotify_mark *entry; in audit_find_parent()
471 struct fsnotify_mark *inode_mark, in audit_watch_handle_event()
472 struct fsnotify_mark *vfsmount_mark, in audit_watch_handle_event()
Daudit_tree.c25 struct fsnotify_mark mark;
132 static void audit_tree_destroy_watch(struct fsnotify_mark *entry) in audit_tree_destroy_watch()
175 struct fsnotify_mark *entry = &chunk->mark; in insert_hash()
221 struct fsnotify_mark *entry = &chunk->mark; in untag_chunk()
319 struct fsnotify_mark *entry; in create_chunk()
358 struct fsnotify_mark *old_entry, *chunk_entry; in tag_chunk()
949 struct fsnotify_mark *inode_mark, in audit_tree_handle_event()
950 struct fsnotify_mark *vfsmount_mark, in audit_tree_handle_event()
957 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()