Searched refs:fsn_mark (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/fs/notify/dnotify/ |
D | dnotify.c | 42 struct fsnotify_mark fsn_mark; member 54 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask() argument 58 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_recalc_inode_mask() 60 fsn_mark); in dnotify_recalc_inode_mask() 62 assert_spin_locked(&fsn_mark->lock); in dnotify_recalc_inode_mask() 66 if (fsn_mark->mask == new_mask) in dnotify_recalc_inode_mask() 68 fsn_mark->mask = new_mask; in dnotify_recalc_inode_mask() 70 fsnotify_recalc_mask(fsn_mark->connector); in dnotify_recalc_inode_mask() 101 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event() 126 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark() argument [all …]
|
/linux-4.19.296/fs/notify/inotify/ |
D | inotify_user.c | 371 fsnotify_get_mark(&i_mark->fsn_mark); in inotify_add_to_idr() 390 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked() local 392 fsnotify_get_mark(fsn_mark); in inotify_idr_find_locked() 394 BUG_ON(refcount_read(&fsn_mark->refcnt) < 2); in inotify_idr_find_locked() 434 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr() 442 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr() 455 i_mark->wd, i_mark->fsn_mark.group, found_i_mark, in inotify_remove_from_idr() 456 found_i_mark->wd, found_i_mark->fsn_mark.group); in inotify_remove_from_idr() 464 if (unlikely(refcount_read(&i_mark->fsn_mark.refcnt) < 2)) { in inotify_remove_from_idr() 466 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr() [all …]
|
D | inotify_fsnotify.c | 100 fsn_mark); in inotify_handle_event() 140 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() argument 142 inotify_ignored_and_remove_idr(fsn_mark, group); in inotify_freeing_mark() 154 struct fsnotify_mark *fsn_mark; in idr_callback() local 162 fsn_mark = p; in idr_callback() 163 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in idr_callback() 174 if (fsn_mark) in idr_callback() 176 fsn_mark->group, i_mark->wd); in idr_callback() 195 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark() argument 199 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_free_mark()
|
D | inotify.h | 15 struct fsnotify_mark fsn_mark; member 31 static inline __u32 inotify_mark_user_mask(struct fsnotify_mark *fsn_mark) in inotify_mark_user_mask() argument 33 return fsn_mark->mask & INOTIFY_USER_MASK; in inotify_mark_user_mask() 36 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
|
/linux-4.19.296/fs/notify/fanotify/ |
D | fanotify_user.c | 500 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask() argument 507 spin_lock(&fsn_mark->lock); in fanotify_mark_remove_from_mask() 509 __u32 tmask = fsn_mark->mask & ~mask; in fanotify_mark_remove_from_mask() 514 oldmask = fsn_mark->mask; in fanotify_mark_remove_from_mask() 515 fsn_mark->mask = tmask; in fanotify_mark_remove_from_mask() 517 __u32 tmask = fsn_mark->ignored_mask & ~mask; in fanotify_mark_remove_from_mask() 520 fsn_mark->ignored_mask = tmask; in fanotify_mark_remove_from_mask() 522 *destroy = !(fsn_mark->mask | fsn_mark->ignored_mask); in fanotify_mark_remove_from_mask() 523 spin_unlock(&fsn_mark->lock); in fanotify_mark_remove_from_mask() 532 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark() local [all …]
|
D | fanotify.c | 286 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark() argument 288 kmem_cache_free(fanotify_mark_cache, fsn_mark); in fanotify_free_mark()
|
/linux-4.19.296/fs/notify/ |
D | fdinfo.c | 83 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo()
|