Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dfsnotify_backend.h108 struct fsnotify_mark;
153 int (*handle_inode_event)(struct fsnotify_mark *mark, u32 mask,
157 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
160 void (*free_mark)(struct fsnotify_mark *mark);
300 struct fsnotify_mark *marks[FSNOTIFY_OBJ_TYPE_COUNT];
319 struct fsnotify_mark *mark) in fsnotify_iter_set_report_type_mark()
326 static inline struct fsnotify_mark *fsnotify_iter_##name##_mark( \
383 struct fsnotify_mark { struct
513 extern void fsnotify_init_mark(struct fsnotify_mark *mark,
516 extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp,
[all …]
/kernel/linux/linux-5.10/fs/notify/
Dmark.c94 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark()
122 struct fsnotify_mark *mark; in __fsnotify_recalc_mask()
199 static void fsnotify_final_mark_destroy(struct fsnotify_mark *mark) in fsnotify_final_mark_destroy()
227 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark()
288 static bool fsnotify_get_mark_safe(struct fsnotify_mark *mark) in fsnotify_get_mark_safe()
312 static void fsnotify_put_mark_wake(struct fsnotify_mark *mark) in fsnotify_put_mark_wake()
375 void fsnotify_detach_mark(struct fsnotify_mark *mark) in fsnotify_detach_mark()
408 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark()
430 void fsnotify_destroy_mark(struct fsnotify_mark *mark, in fsnotify_destroy_mark()
547 static int fsnotify_add_mark_list(struct fsnotify_mark *mark, in fsnotify_add_mark_list()
[all …]
Dfsnotify.c243 struct fsnotify_mark *inode_mark, in fsnotify_handle_inode_event()
271 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event()
272 struct fsnotify_mark *parent_mark = fsnotify_iter_parent_mark(iter_info); in fsnotify_handle_event()
322 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()
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()
104 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
/kernel/linux/linux-5.10/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()
37 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
39 extern int inotify_handle_inode_event(struct fsnotify_mark *inode_mark,
Dinotify_fsnotify.c58 int inotify_handle_inode_event(struct fsnotify_mark *inode_mark, u32 mask, in inotify_handle_inode_event()
137 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
151 struct fsnotify_mark *fsn_mark; in idr_callback()
192 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_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()
505 struct fsnotify_mark *fsn_mark; in inotify_update_existing_watch()
/kernel/linux/linux-5.10/fs/notify/dnotify/
Ddnotify.c34 struct fsnotify_mark fsn_mark;
46 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask()
73 static int dnotify_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in dnotify_handle_event()
112 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark()
137 struct fsnotify_mark *fsn_mark; in dnotify_flush()
246 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
/kernel/linux/linux-5.10/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()
467 static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_watch_handle_event()
/kernel/linux/linux-5.10/fs/nfsd/
Dfilecache.h21 struct fsnotify_mark nfm_mark;
Dfilecache.c92 nfsd_file_mark_free(struct fsnotify_mark *mark) in nfsd_file_mark_free()
121 struct fsnotify_mark *mark; in nfsd_file_mark_find_or_create()
600 nfsd_file_fsnotify_handle_event(struct fsnotify_mark *mark, u32 mask, in nfsd_file_fsnotify_handle_event()
/kernel/linux/linux-5.10/fs/notify/fanotify/
Dfanotify_user.c719 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask()
750 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark()
800 static __u32 fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask()
820 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark()
825 struct fsnotify_mark *mark; in fanotify_add_new_mark()
851 struct fsnotify_mark *fsn_mark; in fanotify_add_mark()
1336 fanotify_mark_cache = KMEM_CACHE(fsnotify_mark, in fanotify_user_setup()
Dfanotify.c242 struct fsnotify_mark *mark; in fanotify_group_event_mask()
805 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()