Lines Matching refs:dentry
22 static inline void fsnotify_d_instantiate(struct dentry *dentry, in fsnotify_d_instantiate() argument
25 __fsnotify_d_instantiate(dentry, inode); in fsnotify_d_instantiate()
29 static inline int fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in fsnotify_parent() argument
31 if (!dentry) in fsnotify_parent()
32 dentry = path->dentry; in fsnotify_parent()
34 return __fsnotify_parent(path, dentry, mask); in fsnotify_parent()
66 static inline void fsnotify_d_move(struct dentry *dentry) in fsnotify_d_move() argument
72 __fsnotify_update_dcache_flags(dentry); in fsnotify_d_move()
88 int isdir, struct inode *target, struct dentry *moved) in fsnotify_move()
136 static inline void fsnotify_nameremove(struct dentry *dentry, int isdir) in fsnotify_nameremove() argument
143 fsnotify_parent(NULL, dentry, mask); in fsnotify_nameremove()
158 static inline void fsnotify_create(struct inode *inode, struct dentry *dentry) in fsnotify_create() argument
160 audit_inode_child(inode, dentry, AUDIT_TYPE_CHILD_CREATE); in fsnotify_create()
162 fsnotify(inode, FS_CREATE, dentry->d_inode, FSNOTIFY_EVENT_INODE, dentry->d_name.name, 0); in fsnotify_create()
170 static inline void fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry) in fsnotify_link()
181 static inline void fsnotify_mkdir(struct inode *inode, struct dentry *dentry) in fsnotify_mkdir() argument
184 struct inode *d_inode = dentry->d_inode; in fsnotify_mkdir()
186 audit_inode_child(inode, dentry, AUDIT_TYPE_CHILD_CREATE); in fsnotify_mkdir()
188 fsnotify(inode, mask, d_inode, FSNOTIFY_EVENT_INODE, dentry->d_name.name, 0); in fsnotify_mkdir()
265 static inline void fsnotify_xattr(struct dentry *dentry) in fsnotify_xattr() argument
267 struct inode *inode = dentry->d_inode; in fsnotify_xattr()
273 fsnotify_parent(NULL, dentry, mask); in fsnotify_xattr()
281 static inline void fsnotify_change(struct dentry *dentry, unsigned int ia_valid) in fsnotify_change() argument
283 struct inode *inode = dentry->d_inode; in fsnotify_change()
308 fsnotify_parent(NULL, dentry, mask); in fsnotify_change()