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()
953 const char *npath; in dfs_cache_find() local
956 npath = dfs_cache_canonical_path(path, cp, remap); in dfs_cache_find()
957 if (IS_ERR(npath)) in dfs_cache_find()
958 return PTR_ERR(npath); in dfs_cache_find()
960 rc = cache_refresh_path(xid, ses, npath); in dfs_cache_find()
966 ce = lookup_cache_entry(npath); in dfs_cache_find()
983 kfree(npath); in dfs_cache_find()
1055 const char *npath; in dfs_cache_update_tgthint() local
1058 npath = dfs_cache_canonical_path(path, cp, remap); in dfs_cache_update_tgthint()
1059 if (IS_ERR(npath)) in dfs_cache_update_tgthint()
1060 return PTR_ERR(npath); in dfs_cache_update_tgthint()
1062 cifs_dbg(FYI, "%s: update target hint - path: %s\n", __func__, npath); in dfs_cache_update_tgthint()
1064 rc = cache_refresh_path(xid, ses, npath); in dfs_cache_update_tgthint()
1070 ce = lookup_cache_entry(npath); in dfs_cache_update_tgthint()
1093 kfree(npath); in dfs_cache_update_tgthint()