Home
last modified time | relevance | path

Searched refs:fsn_mark (Results 1 – 7 of 7) sorted by relevance

/linux/fs/notify/dnotify/
A Ddnotify.c34 struct fsnotify_mark fsn_mark; member
52 fsn_mark); in dnotify_recalc_inode_mask()
60 fsn_mark->mask = new_mask; in dnotify_recalc_inode_mask()
116 fsn_mark); in dnotify_free_mark()
149 if (!fsn_mark) in dnotify_flush()
151 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in dnotify_flush()
155 spin_lock(&fsn_mark->lock); in dnotify_flush()
180 fsnotify_put_mark(fsn_mark); in dnotify_flush()
313 if (fsn_mark) { in fcntl_dirnotify()
314 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in fcntl_dirnotify()
[all …]
/linux/fs/notify/inotify/
A Dinotify_user.c403 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked() local
405 fsnotify_get_mark(fsn_mark); in inotify_idr_find_locked()
507 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_ignored_and_remove_idr()
529 if (!fsn_mark) in inotify_update_existing_watch()
536 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_update_existing_watch()
538 spin_lock(&fsn_mark->lock); in inotify_update_existing_watch()
539 old_mask = fsn_mark->mask; in inotify_update_existing_watch()
541 fsn_mark->mask |= mask; in inotify_update_existing_watch()
543 fsn_mark->mask = mask; in inotify_update_existing_watch()
544 new_mask = fsn_mark->mask; in inotify_update_existing_watch()
[all …]
A Dinotify_fsnotify.c81 fsn_mark); in inotify_handle_inode_event()
131 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() argument
133 inotify_ignored_and_remove_idr(fsn_mark, group); in inotify_freeing_mark()
145 struct fsnotify_mark *fsn_mark; in idr_callback() local
153 fsn_mark = p; in idr_callback()
154 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in idr_callback()
165 if (fsn_mark) in idr_callback()
167 fsn_mark->group, i_mark->wd); in idr_callback()
187 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark() argument
191 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_free_mark()
A Dinotify.h16 struct fsnotify_mark fsn_mark; member
25 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
/linux/fs/notify/fanotify/
A Dfanotify_user.c965 spin_lock(&fsn_mark->lock); in fanotify_mark_remove_from_mask()
967 oldmask = fsn_mark->mask; in fanotify_mark_remove_from_mask()
968 fsn_mark->mask &= ~mask; in fanotify_mark_remove_from_mask()
978 *destroy = !((fsn_mark->mask | fsn_mark->ignored_mask) & ~umask); in fanotify_mark_remove_from_mask()
994 if (!fsn_mark) { in fanotify_remove_mark()
1044 spin_lock(&fsn_mark->lock); in fanotify_mark_add_to_mask()
1046 oldmask = fsn_mark->mask; in fanotify_mark_add_to_mask()
1047 fsn_mark->mask |= mask; in fanotify_mark_add_to_mask()
1118 if (!fsn_mark) { in fanotify_add_mark()
1120 if (IS_ERR(fsn_mark)) { in fanotify_add_mark()
[all …]
A Dfanotify.c967 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark() argument
969 kmem_cache_free(fanotify_mark_cache, fsn_mark); in fanotify_free_mark()
/linux/fs/notify/
A Dfdinfo.c83 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo()

Completed in 20 milliseconds