Lines Matching refs:full_path

4199 	char *full_path, *pos;  in build_unc_path_to_root()  local
4207 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
4208 if (full_path == NULL) in build_unc_path_to_root()
4211 memcpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
4212 pos = full_path + unc_len; in build_unc_path_to_root()
4221 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in build_unc_path_to_root()
4222 cifs_dbg(FYI, "%s: full_path=%s\n", __func__, full_path); in build_unc_path_to_root()
4223 return full_path; in build_unc_path_to_root()
4244 char *full_path = NULL, *mdata = NULL; in expand_dfs_referral() local
4249 full_path = build_unc_path_to_root(volume_info, cifs_sb, true); in expand_dfs_referral()
4250 if (IS_ERR(full_path)) in expand_dfs_referral()
4251 return PTR_ERR(full_path); in expand_dfs_referral()
4259 full_path + 1, &referral, in expand_dfs_referral()
4275 kfree(full_path); in expand_dfs_referral()
4315 static int setup_dfs_tgt_conn(const char *path, const char *full_path, in setup_dfs_tgt_conn() argument
4332 mdata = cifs_compose_mount_options(cifs_sb->mountdata, full_path + 1, &ref, &fake_devname); in setup_dfs_tgt_conn()
4367 static int do_dfs_failover(const char *path, const char *full_path, struct cifs_sb_info *cifs_sb, in do_dfs_failover() argument
4389 rc = setup_dfs_tgt_conn(path, full_path, tgt_it, cifs_sb, vol, xid, server, ses, in do_dfs_failover()
4472 char *full_path, in cifs_are_all_path_components_accessible() argument
4481 s = full_path; in cifs_are_all_path_components_accessible()
4508 full_path); in cifs_are_all_path_components_accessible()
4524 char *full_path; in is_path_remote() local
4532 full_path = cifs_build_path_to_root(vol, cifs_sb, tcon, in is_path_remote()
4534 if (full_path == NULL) in is_path_remote()
4537 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in is_path_remote()
4540 full_path); in is_path_remote()
4542 kfree(full_path); in is_path_remote()
4548 cifs_sb, full_path, tcon->Flags & SMB_SHARE_IS_IN_DFS); in is_path_remote()
4556 kfree(full_path); in is_path_remote()
4659 char *ref_path = NULL, *full_path = NULL; in cifs_mount() local
4700 kfree(full_path); in cifs_mount()
4701 full_path = build_unc_path_to_root(vol, cifs_sb, !!count); in cifs_mount()
4702 if (IS_ERR(full_path)) { in cifs_mount()
4703 rc = PTR_ERR(full_path); in cifs_mount()
4704 full_path = NULL; in cifs_mount()
4719 rc = do_dfs_failover(ref_path + 1, full_path, cifs_sb, vol, root_ses, &xid, in cifs_mount()
4752 cifs_sb->origin_fullpath = kstrndup(full_path, strlen(full_path), GFP_KERNEL); in cifs_mount()
4758 tcon->dfs_path = full_path; in cifs_mount()
4759 full_path = NULL; in cifs_mount()
4789 kfree(full_path); in cifs_mount()