Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dfsnotify_backend.h79 struct fsnotify_mark;
97 struct fsnotify_mark *inode_mark,
98 struct fsnotify_mark *vfsmount_mark,
102 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
211 struct fsnotify_mark { struct
241 void (*free_mark)(struct fsnotify_mark *mark); /* called on final put+free */ argument
338 extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *…
340 extern struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, struct inode *i…
342 extern struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmo…
344 extern void fsnotify_duplicate_mark(struct fsnotify_mark *new, struct fsnotify_mark *old);
[all …]
/linux-4.4.14/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()
130 void fsnotify_detach_mark(struct fsnotify_mark *mark) in fsnotify_detach_mark()
176 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark()
203 void fsnotify_destroy_mark(struct fsnotify_mark *mark, in fsnotify_destroy_mark()
214 struct fsnotify_mark *mark; in fsnotify_destroy_marks()
229 mark = hlist_entry(head->first, struct fsnotify_mark, obj_list); in fsnotify_destroy_marks()
243 void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask) in fsnotify_set_mark_mask_locked()
253 void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask) in fsnotify_set_mark_ignored_mask_locked()
[all …]
Dfsnotify.h24 extern void fsnotify_set_inode_mark_mask_locked(struct fsnotify_mark *fsn_mark,
28 struct fsnotify_mark *mark,
31 extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark,
35 extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark,
40 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark);
42 extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark);
44 extern struct fsnotify_mark *fsnotify_find_mark(struct hlist_head *head,
Dvfsmount_mark.c50 void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark) in fsnotify_destroy_vfsmount_mark()
71 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark()
75 struct fsnotify_mark *mark; in fsnotify_find_vfsmount_mark()
89 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()
79 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark()
82 struct fsnotify_mark *mark; in fsnotify_find_inode_mark()
95 void fsnotify_set_inode_mark_mask_locked(struct fsnotify_mark *mark, in fsnotify_set_inode_mark_mask_locked()
123 int fsnotify_add_inode_mark(struct fsnotify_mark *mark, in fsnotify_add_inode_mark()
Dfsnotify.c126 struct fsnotify_mark *inode_mark, in send_to_group()
127 struct fsnotify_mark *vfsmount_mark, in send_to_group()
194 struct fsnotify_mark *inode_mark = NULL, *vfsmount_mark = NULL; in fsnotify()
254 struct fsnotify_mark, obj_list); in fsnotify()
260 struct fsnotify_mark, obj_list); in fsnotify()
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()
111 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
/linux-4.4.14/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.4.14/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()
261 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
/linux-4.4.14/kernel/
Daudit_fsnotify.c39 struct fsnotify_mark mark; /* fsnotify mark on the inode */
56 static void audit_fsnotify_free_mark(struct fsnotify_mark *mark) in audit_fsnotify_free_mark()
169 struct fsnotify_mark *inode_mark, in audit_mark_handle_event()
170 struct fsnotify_mark *vfsmount_mark, in audit_mark_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()
951 struct fsnotify_mark *inode_mark, in audit_tree_handle_event()
952 struct fsnotify_mark *vfsmount_mark, in audit_tree_handle_event()
959 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()
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()
472 struct fsnotify_mark *inode_mark, in audit_watch_handle_event()
473 struct fsnotify_mark *vfsmount_mark, in audit_watch_handle_event()
/linux-4.4.14/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()
548 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_inode_mark()
575 static __u32 fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask()
604 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark()
608 struct fsnotify_mark *mark; in fanotify_add_new_mark()
633 struct fsnotify_mark *fsn_mark; in fanotify_add_vfsmount_mark()
659 struct fsnotify_mark *fsn_mark; in fanotify_add_inode_mark()
935 fanotify_mark_cache = KMEM_CACHE(fsnotify_mark, SLAB_PANIC); in fanotify_user_setup()