Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dfsnotify_backend.h98 struct fsnotify_mark;
123 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
126 void (*free_mark)(struct fsnotify_mark *mark);
240 struct fsnotify_mark *marks[FSNOTIFY_OBJ_TYPE_COUNT];
259 struct fsnotify_mark *mark) in fsnotify_iter_set_report_type_mark()
266 static inline struct fsnotify_mark *fsnotify_iter_##name##_mark( \
322 struct fsnotify_mark { struct
437 extern void fsnotify_init_mark(struct fsnotify_mark *mark,
440 extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp,
446 extern int fsnotify_add_mark(struct fsnotify_mark *mark,
[all …]
/Linux-v5.4/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()
371 void fsnotify_detach_mark(struct fsnotify_mark *mark) in fsnotify_detach_mark()
404 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark()
426 void fsnotify_destroy_mark(struct fsnotify_mark *mark, in fsnotify_destroy_mark()
543 static int fsnotify_add_mark_list(struct fsnotify_mark *mark, in fsnotify_add_mark_list()
[all …]
Dfsnotify.c192 struct fsnotify_mark *mark; in send_to_group()
234 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp) in fsnotify_first_mark()
243 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
246 static struct fsnotify_mark *fsnotify_next_mark(struct fsnotify_mark *mark) in fsnotify_next_mark()
254 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
267 struct fsnotify_mark *mark; in fsnotify_iter_select_report_types()
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()
112 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
/Linux-v5.4/fs/notify/inotify/
Dinotify_fsnotify.c64 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in inotify_handle_event()
141 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
155 struct fsnotify_mark *fsn_mark; in idr_callback()
196 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark()
Dinotify.h16 struct fsnotify_mark fsn_mark;
25 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
Dinotify_user.c388 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked()
483 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, in inotify_ignored_and_remove_idr()
507 struct fsnotify_mark *fsn_mark; in inotify_update_existing_watch()
/Linux-v5.4/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()
79 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in dnotify_handle_event()
118 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark()
143 struct fsnotify_mark *fsn_mark; in dnotify_flush()
252 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
/Linux-v5.4/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()
281 static void replace_mark_chunk(struct fsnotify_mark *mark, in replace_mark_chunk()
351 static void untag_chunk(struct audit_chunk *chunk, struct fsnotify_mark *mark) in untag_chunk()
401 struct fsnotify_mark *mark; in create_chunk()
462 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()
161 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); 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()
475 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in audit_watch_handle_event()
/Linux-v5.4/fs/notify/fanotify/
Dfanotify_user.c584 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask()
608 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark()
657 static __u32 fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask()
677 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark()
682 struct fsnotify_mark *mark; in fanotify_add_new_mark()
708 struct fsnotify_mark *fsn_mark; in fanotify_add_mark()
1140 fanotify_mark_cache = KMEM_CACHE(fsnotify_mark, in fanotify_user_setup()
Dfanotify.c155 struct fsnotify_mark *mark; in fanotify_group_event_mask()
491 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()
/Linux-v5.4/fs/nfsd/
Dfilecache.h21 struct fsnotify_mark nfm_mark;
Dfilecache.c93 nfsd_file_mark_free(struct fsnotify_mark *mark) in nfsd_file_mark_free()
123 struct fsnotify_mark *mark; in nfsd_file_mark_find_or_create()