Lines Matching refs:path
20 static bool fanotify_path_equal(struct path *p1, struct path *p2)
240 const struct path *path = fsnotify_data_path(data, data_type);
249 /* Do we have path to open a file descriptor? */
250 if (!path)
253 if (!d_is_reg(path->dentry) && !d_can_lookup(path->dentry))
433 static struct fanotify_event *fanotify_alloc_path_event(const struct path *path,
443 pevent->path = *path;
444 path_get(path);
449 static struct fanotify_event *fanotify_alloc_perm_event(const struct path *path,
461 pevent->path = *path;
462 path_get(path);
537 const struct path *path = fsnotify_data_path(data, data_type);
592 event = fanotify_alloc_perm_event(path, gfp);
599 event = fanotify_alloc_path_event(path, gfp);