Lines Matching defs:data
178 int __fsnotify_parent(struct dentry *dentry, __u32 mask, const void *data,
181 const struct path *path = fsnotify_data_path(data, data_type);
219 /* When notifying parent, child should be passed as data */
220 WARN_ON_ONCE(inode != fsnotify_data_inode(data, data_type));
230 ret = fsnotify(mask, data, data_type, p_inode, file_name, inode, 0);
242 u32 mask, const void *data, int data_type,
246 const struct path *path = fsnotify_data_path(data, data_type);
247 struct inode *inode = fsnotify_data_inode(data, data_type);
268 const void *data, int data_type,
281 * For FS_RENAME, 'dir' is old dir and 'data' is new dentry.
286 struct dentry *moved = fsnotify_data_dentry(data, data_type);
294 data, data_type, dir, name, 0);
316 return fsnotify_handle_inode_event(group, inode_mark, mask, data, data_type,
320 static int send_to_group(__u32 mask, const void *data, int data_type,
352 pr_debug("%s: group=%p mask=%x marks_mask=%x marks_ignore_mask=%x data=%p data_type=%d dir=%p cookie=%d\n",
354 data, data_type, dir, cookie);
360 return group->ops->handle_event(group, mask, data, data_type, dir,
364 return fsnotify_handle_event(group, mask, data, data_type, dir,
470 * @data: object that event happened on
481 int fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir,
484 const struct path *path = fsnotify_data_path(data, data_type);
485 struct super_block *sb = fsnotify_data_sb(data, data_type);
502 moved = fsnotify_data_dentry(data, data_type);
570 ret = send_to_group(mask, data, data_type, dir, file_name,