Home
last modified time | relevance | path

Searched refs:inode_mark (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/notify/inotify/
H A Dinotify_fsnotify.c58 int inotify_handle_inode_event(struct fsnotify_mark *inode_mark, u32 mask, in inotify_handle_inode_event() argument
65 struct fsnotify_group *group = inode_mark->group; in inotify_handle_inode_event()
76 pr_debug("%s: group=%p mark=%p mask=%x\n", __func__, group, inode_mark, in inotify_handle_inode_event()
79 i_mark = container_of(inode_mark, struct inotify_inode_mark, in inotify_handle_inode_event()
131 if (inode_mark->mask & IN_ONESHOT) in inotify_handle_inode_event()
132 fsnotify_destroy_mark(inode_mark, group); in inotify_handle_inode_event()
H A Dinotify.h39 extern int inotify_handle_inode_event(struct fsnotify_mark *inode_mark,
/kernel/linux/linux-6.6/fs/notify/inotify/
H A Dinotify_fsnotify.c59 int inotify_handle_inode_event(struct fsnotify_mark *inode_mark, u32 mask, in inotify_handle_inode_event() argument
66 struct fsnotify_group *group = inode_mark->group; in inotify_handle_inode_event()
77 pr_debug("%s: group=%p mark=%p mask=%x\n", __func__, group, inode_mark, in inotify_handle_inode_event()
80 i_mark = container_of(inode_mark, struct inotify_inode_mark, in inotify_handle_inode_event()
132 if (inode_mark->flags & FSNOTIFY_MARK_FLAG_IN_ONESHOT) in inotify_handle_inode_event()
133 fsnotify_destroy_mark(inode_mark, group); in inotify_handle_inode_event()
H A Dinotify.h46 extern int inotify_handle_inode_event(struct fsnotify_mark *inode_mark,
/kernel/linux/linux-5.10/fs/notify/dnotify/
H A Ddnotify.c73 static int dnotify_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in dnotify_handle_event() argument
87 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event()
89 spin_lock(&inode_mark->lock); in dnotify_handle_event()
103 dnotify_recalc_inode_mask(inode_mark); in dnotify_handle_event()
107 spin_unlock(&inode_mark->lock); in dnotify_handle_event()
/kernel/linux/linux-6.6/fs/notify/dnotify/
H A Ddnotify.c91 static int dnotify_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in dnotify_handle_event() argument
105 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event()
107 spin_lock(&inode_mark->lock); in dnotify_handle_event()
121 dnotify_recalc_inode_mask(inode_mark); in dnotify_handle_event()
125 spin_unlock(&inode_mark->lock); in dnotify_handle_event()
/kernel/linux/linux-5.10/fs/notify/
H A Dfsnotify.c243 struct fsnotify_mark *inode_mark, in fsnotify_handle_inode_event()
255 if ((inode_mark->mask & FS_EXCL_UNLINK) && in fsnotify_handle_inode_event()
260 if (!(mask & inode_mark->mask & ALL_FSNOTIFY_EVENTS)) in fsnotify_handle_inode_event()
263 return ops->handle_inode_event(inode_mark, mask, inode, dir, name, cookie); in fsnotify_handle_inode_event()
271 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event() local
292 if (!inode_mark) in fsnotify_handle_event()
310 return fsnotify_handle_inode_event(group, inode_mark, mask, data, data_type, in fsnotify_handle_event()
242 fsnotify_handle_inode_event(struct fsnotify_group *group, struct fsnotify_mark *inode_mark, u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *name, u32 cookie) fsnotify_handle_inode_event() argument
H A Dfdinfo.c77 struct inotify_inode_mark *inode_mark; in inotify_fdinfo() local
83 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo()
87 inode_mark->wd, inode->i_ino, inode->i_sb->s_dev, in inotify_fdinfo()
/kernel/linux/linux-6.6/fs/notify/
H A Dfsnotify.c241 struct fsnotify_mark *inode_mark, in fsnotify_handle_inode_event()
256 if ((inode_mark->flags & FSNOTIFY_MARK_FLAG_EXCL_UNLINK) && in fsnotify_handle_inode_event()
261 if (!(mask & inode_mark->mask & ALL_FSNOTIFY_EVENTS)) in fsnotify_handle_inode_event()
264 return ops->handle_inode_event(inode_mark, mask, inode, dir, name, cookie); in fsnotify_handle_inode_event()
272 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event() local
299 if (!inode_mark) in fsnotify_handle_event()
316 return fsnotify_handle_inode_event(group, inode_mark, mask, data, data_type, in fsnotify_handle_event()
240 fsnotify_handle_inode_event(struct fsnotify_group *group, struct fsnotify_mark *inode_mark, u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *name, u32 cookie) fsnotify_handle_inode_event() argument
H A Dfdinfo.c78 struct inotify_inode_mark *inode_mark; in inotify_fdinfo() local
84 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo()
88 inode_mark->wd, inode->i_ino, inode->i_sb->s_dev, in inotify_fdinfo()
/kernel/linux/linux-5.10/kernel/
H A Daudit_fsnotify.c156 static int audit_mark_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_mark_handle_event() argument
162 audit_mark = container_of(inode_mark, struct audit_fsnotify_mark, mark); in audit_mark_handle_event()
164 if (WARN_ON_ONCE(inode_mark->group != audit_fsnotify_group) || in audit_mark_handle_event()
H A Daudit_watch.c467 static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_watch_handle_event() argument
473 parent = container_of(inode_mark, struct audit_parent, mark); in audit_watch_handle_event()
475 if (WARN_ON_ONCE(inode_mark->group != audit_watch_group) || in audit_watch_handle_event()
/kernel/linux/linux-6.6/kernel/
H A Daudit_fsnotify.c156 static int audit_mark_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_mark_handle_event() argument
162 audit_mark = container_of(inode_mark, struct audit_fsnotify_mark, mark); in audit_mark_handle_event()
164 if (WARN_ON_ONCE(inode_mark->group != audit_fsnotify_group)) in audit_mark_handle_event()
H A Daudit_watch.c468 static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_watch_handle_event() argument
474 parent = container_of(inode_mark, struct audit_parent, mark); in audit_watch_handle_event()
476 if (WARN_ON_ONCE(inode_mark->group != audit_watch_group)) in audit_watch_handle_event()

Completed in 8 milliseconds