Lines Matching refs:npath
3140 char *npath = NULL; in do_dfs_failover() local
3148 npath = dfs_cache_canonical_path(path, cifs_sb->local_nls, cifs_remap(cifs_sb)); in do_dfs_failover()
3149 if (IS_ERR(npath)) in do_dfs_failover()
3150 return PTR_ERR(npath); in do_dfs_failover()
3152 cifs_dbg(FYI, "%s: path=%s full_path=%s\n", __func__, npath, full_path); in do_dfs_failover()
3154 rc = dfs_cache_noreq_find(npath, NULL, &tgt_list); in do_dfs_failover()
3174 rc = dfs_cache_get_tgt_referral(npath, tgt_it, &ref); in do_dfs_failover()
3223 kfree(npath); in do_dfs_failover()
3392 char *path, *npath; in next_dfs_prepath() local
3408 npath = build_unc_path_to_root(&v, cifs_sb, true); in next_dfs_prepath()
3413 npath = build_unc_path_to_root(&v, cifs_sb, true); in next_dfs_prepath()
3416 if (IS_ERR(npath)) { in next_dfs_prepath()
3417 rc = PTR_ERR(npath); in next_dfs_prepath()
3422 *dfs_path = npath; in next_dfs_prepath()
3443 char *npath; in is_referral_server() local
3445 npath = dfs_cache_canonical_path(ref_path, cifs_sb->local_nls, cifs_remap(cifs_sb)); in is_referral_server()
3446 if (IS_ERR(npath)) in is_referral_server()
3447 return PTR_ERR(npath); in is_referral_server()
3449 rc = dfs_cache_noreq_find(npath, &ref, NULL); in is_referral_server()
3450 kfree(npath); in is_referral_server()