Lines Matching defs:path
15 static struct cached_fid *init_cached_dir(const char *path);
21 const char *path,
29 if (!strcmp(cfid->path, path)) {
52 cfid = init_cached_dir(path);
67 path_to_dentry(struct cifs_sb_info *cifs_sb, const char *path)
75 s = path;
105 const char *path)
109 if (!*path)
110 return path;
115 if (unlikely(len > strlen(path)))
118 return path + len;
126 const char *path,
163 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb);
167 cfid = find_or_create_cached_dir(cfids, path, lookup_only, tcon->max_cached_dirs);
187 * Skip any prefix paths in @path as lookup_positive_unlocked() ends up
191 * having a different prefix path (e.g. after DFS failover).
193 npath = path_no_prefix(cifs_sb, path);
234 .path = path,
564 static struct cached_fid *init_cached_dir(const char *path)
571 cfid->path = kstrdup(path, GFP_ATOMIC);
572 if (!cfid->path) {
602 kfree(cfid->path);
603 cfid->path = NULL;