Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dfsnotify_backend.h114 struct fsnotify_mark;
160 int (*handle_inode_event)(struct fsnotify_mark *mark, u32 mask,
164 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
167 void (*free_mark)(struct fsnotify_mark *mark);
401 struct fsnotify_mark *marks[FSNOTIFY_ITER_TYPE_COUNT];
419 static inline struct fsnotify_mark *fsnotify_iter_mark( in fsnotify_iter_mark()
428 struct fsnotify_mark **markp) in fsnotify_iter_step()
440 static inline struct fsnotify_mark *fsnotify_iter_##name##_mark( \
502 struct fsnotify_mark { struct
667 static inline __u32 fsnotify_ignore_mask(struct fsnotify_mark *mark) in fsnotify_ignore_mask()
[all …]
/linux-6.1.9/fs/notify/
Dmark.c94 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark()
160 struct fsnotify_mark *mark; in __fsnotify_recalc_mask()
272 static void fsnotify_final_mark_destroy(struct fsnotify_mark *mark) in fsnotify_final_mark_destroy()
293 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark()
355 static bool fsnotify_get_mark_safe(struct fsnotify_mark *mark) in fsnotify_get_mark_safe()
379 static void fsnotify_put_mark_wake(struct fsnotify_mark *mark) in fsnotify_put_mark_wake()
442 void fsnotify_detach_mark(struct fsnotify_mark *mark) in fsnotify_detach_mark()
471 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark()
493 void fsnotify_destroy_mark(struct fsnotify_mark *mark, in fsnotify_destroy_mark()
609 static int fsnotify_add_mark_list(struct fsnotify_mark *mark, in fsnotify_add_mark_list()
[all …]
Dfsnotify.c241 struct fsnotify_mark *inode_mark, in fsnotify_handle_inode_event()
272 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event()
273 struct fsnotify_mark *parent_mark = fsnotify_iter_parent_mark(iter_info); in fsnotify_handle_event()
329 struct fsnotify_mark *mark; in send_to_group()
368 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp) in fsnotify_first_mark()
377 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
380 static struct fsnotify_mark *fsnotify_next_mark(struct fsnotify_mark *mark) in fsnotify_next_mark()
388 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
401 struct fsnotify_mark *mark; in fsnotify_iter_select_report_types()
445 struct fsnotify_mark *mark; in fsnotify_iter_next()
Dfdinfo.c27 struct fsnotify_mark *mark)) in show_fdinfo()
30 struct fsnotify_mark *mark; in show_fdinfo()
76 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo()
105 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
/linux-6.1.9/fs/notify/inotify/
Dinotify.h16 struct fsnotify_mark fsn_mark;
32 static inline __u32 inotify_mark_user_mask(struct fsnotify_mark *fsn_mark) in inotify_mark_user_mask()
44 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
46 extern int inotify_handle_inode_event(struct fsnotify_mark *inode_mark,
Dinotify_fsnotify.c59 int inotify_handle_inode_event(struct fsnotify_mark *inode_mark, u32 mask, in inotify_handle_inode_event()
131 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
145 struct fsnotify_mark *fsn_mark; in idr_callback()
187 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark()
Dinotify_user.c426 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked()
521 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, in inotify_ignored_and_remove_idr()
541 struct fsnotify_mark *fsn_mark; in inotify_update_existing_watch()
/linux-6.1.9/fs/notify/dnotify/
Ddnotify.c52 struct fsnotify_mark fsn_mark;
64 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask()
91 static int dnotify_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in dnotify_handle_event()
130 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark()
155 struct fsnotify_mark *fsn_mark; in dnotify_flush()
264 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
/linux-6.1.9/kernel/
Daudit_tree.c28 struct fsnotify_mark *mark;
41 struct fsnotify_mark mark;
161 static inline struct audit_tree_mark *audit_mark(struct fsnotify_mark *mark) in audit_mark()
166 static struct audit_chunk *mark_chunk(struct fsnotify_mark *mark) in mark_chunk()
171 static void audit_tree_destroy_watch(struct fsnotify_mark *mark) in audit_tree_destroy_watch()
176 static struct fsnotify_mark *alloc_mark(void) in alloc_mark()
279 static void replace_mark_chunk(struct fsnotify_mark *mark, in replace_mark_chunk()
349 static void untag_chunk(struct audit_chunk *chunk, struct fsnotify_mark *mark) in untag_chunk()
399 struct fsnotify_mark *mark; in create_chunk()
460 struct fsnotify_mark *mark; in tag_chunk()
[all …]
Daudit_fsnotify.c30 struct fsnotify_mark mark; /* fsnotify mark on the inode */
47 static void audit_fsnotify_free_mark(struct fsnotify_mark *mark) in audit_fsnotify_free_mark()
156 static int audit_mark_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_mark_handle_event()
Daudit_watch.c48 struct fsnotify_mark mark; /* fsnotify mark on the inode */
64 static void audit_watch_free_mark(struct fsnotify_mark *entry) in audit_watch_free_mark()
91 struct fsnotify_mark *entry; in audit_find_parent()
468 static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_watch_handle_event()
/linux-6.1.9/fs/notify/fanotify/
Dfanotify_user.c1002 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask()
1034 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark()
1084 static bool fanotify_mark_update_flags(struct fsnotify_mark *fsn_mark, in fanotify_mark_update_flags()
1126 static bool fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask()
1146 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark()
1153 struct fsnotify_mark *mark; in fanotify_add_new_mark()
1199 static int fanotify_may_update_existing_mark(struct fsnotify_mark *fsn_mark, in fanotify_may_update_existing_mark()
1235 struct fsnotify_mark *fsn_mark; in fanotify_add_mark()
1867 fanotify_mark_cache = KMEM_CACHE(fsnotify_mark, in fanotify_user_setup()
Dfanotify.c303 struct fsnotify_mark *mark; in fanotify_group_event_mask()
843 struct fsnotify_mark *mark; in fanotify_get_fsid()
1058 static void fanotify_freeing_mark(struct fsnotify_mark *mark, in fanotify_freeing_mark()
1065 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()
Dfanotify.h488 static inline unsigned int fanotify_mark_user_flags(struct fsnotify_mark *mark) in fanotify_mark_user_flags()
/linux-6.1.9/fs/nfsd/
Dfilecache.h21 struct fsnotify_mark nfm_mark;
Dfilecache.c207 nfsd_file_mark_free(struct fsnotify_mark *mark) in nfsd_file_mark_free()
236 struct fsnotify_mark *mark; in nfsd_file_mark_find_or_create()
790 nfsd_file_fsnotify_handle_event(struct fsnotify_mark *mark, u32 mask, in nfsd_file_fsnotify_handle_event()