Lines Matching refs:full_path

4329 	char *full_path, *pos;  in build_unc_path_to_root()  local
4337 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
4338 if (full_path == NULL) in build_unc_path_to_root()
4341 memcpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
4342 pos = full_path + unc_len; in build_unc_path_to_root()
4351 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
4352 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
4353 return full_path; in build_unc_path_to_root()
4374 char *full_path = NULL, *ref_path = NULL, *mdata = NULL; in expand_dfs_referral() local
4379 full_path = build_unc_path_to_root(volume_info, cifs_sb, true); in expand_dfs_referral()
4380 if (IS_ERR(full_path)) in expand_dfs_referral()
4381 return PTR_ERR(full_path); in expand_dfs_referral()
4384 ref_path = check_prefix ? full_path + 1 : volume_info->UNC + 1; in expand_dfs_referral()
4392 full_path + 1, &referral, in expand_dfs_referral()
4408 kfree(full_path); in expand_dfs_referral()
4613 char *full_path, in cifs_are_all_path_components_accessible() argument
4622 s = full_path; in cifs_are_all_path_components_accessible()
4649 full_path); in cifs_are_all_path_components_accessible()
4665 char *full_path; in is_path_remote() local
4673 full_path = cifs_build_path_to_root(vol, cifs_sb, tcon, in is_path_remote()
4675 if (full_path == NULL) in is_path_remote()
4678 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in is_path_remote()
4681 full_path); in is_path_remote()
4683 kfree(full_path); in is_path_remote()
4689 cifs_sb, full_path, tcon->Flags & SMB_SHARE_IS_IN_DFS); in is_path_remote()
4698 kfree(full_path); in is_path_remote()
4711 char *root_path = NULL, *full_path = NULL; in cifs_mount() local
4750 full_path = build_unc_path_to_root(vol, cifs_sb, true); in cifs_mount()
4751 if (IS_ERR(full_path)) { in cifs_mount()
4752 rc = PTR_ERR(full_path); in cifs_mount()
4753 full_path = NULL; in cifs_mount()
4834 kfree(full_path); in cifs_mount()
4835 full_path = build_unc_path_to_root(vol, cifs_sb, true); in cifs_mount()
4836 if (IS_ERR(full_path)) { in cifs_mount()
4837 rc = PTR_ERR(full_path); in cifs_mount()
4838 full_path = NULL; in cifs_mount()
4857 rc = mount_do_dfs_failover(full_path + 1, cifs_sb, vol, in cifs_mount()
4873 tcon->dfs_path = full_path; in cifs_mount()
4874 full_path = NULL; in cifs_mount()
4903 kfree(full_path); in cifs_mount()