Lines Matching refs:npath
192 char *npath; in dfs_cache_canonical_path() local
204 npath = cifs_strndup_from_utf16(tmp, plen, true, cache_cp); in dfs_cache_canonical_path()
207 if (!npath) { in dfs_cache_canonical_path()
212 npath = kstrdup(path, GFP_KERNEL); in dfs_cache_canonical_path()
213 if (!npath) in dfs_cache_canonical_path()
216 convert_delimiter(npath, '\\'); in dfs_cache_canonical_path()
217 return npath; in dfs_cache_canonical_path()
949 const char *npath; in dfs_cache_find() local
952 npath = dfs_cache_canonical_path(path, cp, remap); in dfs_cache_find()
953 if (IS_ERR(npath)) in dfs_cache_find()
954 return PTR_ERR(npath); in dfs_cache_find()
956 rc = cache_refresh_path(xid, ses, npath); in dfs_cache_find()
962 ce = lookup_cache_entry(npath); in dfs_cache_find()
979 kfree(npath); in dfs_cache_find()
1050 const char *npath; in dfs_cache_update_tgthint() local
1054 npath = dfs_cache_canonical_path(path, cp, remap); in dfs_cache_update_tgthint()
1055 if (IS_ERR(npath)) in dfs_cache_update_tgthint()
1056 return PTR_ERR(npath); in dfs_cache_update_tgthint()
1058 cifs_dbg(FYI, "%s: update target hint - path: %s\n", __func__, npath); in dfs_cache_update_tgthint()
1060 rc = cache_refresh_path(xid, ses, npath); in dfs_cache_update_tgthint()
1066 ce = lookup_cache_entry(npath); in dfs_cache_update_tgthint()
1089 kfree(npath); in dfs_cache_update_tgthint()