Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dfsnotify_backend.h82 struct fsnotify_mark;
107 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
110 void (*free_mark)(struct fsnotify_mark *mark);
223 struct fsnotify_mark *marks[FSNOTIFY_OBJ_TYPE_COUNT];
242 struct fsnotify_mark *mark) in fsnotify_iter_set_report_type_mark()
249 static inline struct fsnotify_mark *fsnotify_iter_##name##_mark( \
301 struct fsnotify_mark { struct
412 extern void fsnotify_init_mark(struct fsnotify_mark *mark,
415 extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp,
418 extern int fsnotify_add_mark(struct fsnotify_mark *mark,
[all …]
/Linux-v4.19/fs/notify/
Dmark.c106 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark()
132 struct fsnotify_mark *mark; in __fsnotify_recalc_mask()
204 static void fsnotify_final_mark_destroy(struct fsnotify_mark *mark) in fsnotify_final_mark_destroy()
214 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark()
274 static bool fsnotify_get_mark_safe(struct fsnotify_mark *mark) in fsnotify_get_mark_safe()
298 static void fsnotify_put_mark_wake(struct fsnotify_mark *mark) in fsnotify_put_mark_wake()
357 void fsnotify_detach_mark(struct fsnotify_mark *mark) in fsnotify_detach_mark()
390 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark()
412 void fsnotify_destroy_mark(struct fsnotify_mark *mark, in fsnotify_destroy_mark()
519 static int fsnotify_add_mark_list(struct fsnotify_mark *mark, in fsnotify_add_mark_list()
[all …]
Dfsnotify.c196 struct fsnotify_mark *mark; in send_to_group()
238 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp) in fsnotify_first_mark()
247 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
250 static struct fsnotify_mark *fsnotify_next_mark(struct fsnotify_mark *mark) in fsnotify_next_mark()
258 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
271 struct fsnotify_mark *mark; in fsnotify_iter_select_report_types()
Dfdinfo.c26 struct fsnotify_mark *mark)) in show_fdinfo()
29 struct fsnotify_mark *mark; in show_fdinfo()
75 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-v4.19/fs/notify/inotify/
Dinotify_fsnotify.c73 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in inotify_handle_event()
136 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
150 struct fsnotify_mark *fsn_mark; in idr_callback()
191 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark()
Dinotify.h15 struct fsnotify_mark fsn_mark;
24 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
Dinotify_user.c390 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked()
485 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, in inotify_ignored_and_remove_idr()
509 struct fsnotify_mark *fsn_mark; in inotify_update_existing_watch()
/Linux-v4.19/fs/notify/dnotify/
Ddnotify.c42 struct fsnotify_mark fsn_mark;
54 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask()
87 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in dnotify_handle_event()
126 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark()
151 struct fsnotify_mark *fsn_mark; in dnotify_flush()
260 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
/Linux-v4.19/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()
172 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in audit_mark_handle_event()
Daudit_watch.c61 struct fsnotify_mark mark; /* fsnotify mark on the inode */
77 static void audit_watch_free_mark(struct fsnotify_mark *entry) in audit_watch_free_mark()
104 struct fsnotify_mark *entry; in audit_find_parent()
490 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in audit_watch_handle_event()
Daudit_tree.c27 struct fsnotify_mark mark;
134 static void audit_tree_destroy_watch(struct fsnotify_mark *entry) in audit_tree_destroy_watch()
245 struct fsnotify_mark *entry = &chunk->mark; in untag_chunk()
352 struct fsnotify_mark *entry; in create_chunk()
391 struct fsnotify_mark *old_entry, *chunk_entry; in tag_chunk()
1002 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()
/Linux-v4.19/fs/notify/fanotify/
Dfanotify_user.c500 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask()
532 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark()
574 static __u32 fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask()
603 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark()
607 struct fsnotify_mark *mark; in fanotify_add_new_mark()
632 struct fsnotify_mark *fsn_mark; in fanotify_add_mark()
937 fanotify_mark_cache = KMEM_CACHE(fsnotify_mark, in fanotify_user_setup()
Dfanotify.c98 struct fsnotify_mark *mark; in fanotify_should_send_event()
280 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()