Lines Matching defs:full_path
2477 struct cifs_sb_info *cifs_sb, const char *full_path)
2486 rc = CIFSSMBQPathInfo(xid, tcon, full_path, pfile_info,
2518 char *full_path;
2521 full_path = kmalloc(unc_len + cifs_sb->prepathlen + 1, GFP_KERNEL);
2522 if (full_path == NULL)
2525 strncpy(full_path, volume_info->UNC, unc_len);
2529 if (full_path[i] == '\\')
2530 full_path[i] = '/';
2535 strncpy(full_path + unc_len, cifs_sb->prepath,
2538 full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */
2539 return full_path;
2553 char *full_path;
2565 full_path = NULL;
2674 full_path = cifs_build_path_to_root(cifs_sb);
2675 if (full_path == NULL) {
2679 rc = is_path_accessible(xid, tcon, cifs_sb, full_path);
2681 kfree(full_path);
2684 kfree(full_path);
2704 full_path = build_unc_path_to_root(volume_info, cifs_sb);
2705 if (IS_ERR(full_path)) {
2706 rc = PTR_ERR(full_path);
2710 cFYI(1, "Getting referral for: %s", full_path);
2711 rc = get_dfs_path(xid, pSesInfo , full_path + 1,
2721 cifs_sb->mountdata, full_path + 1,
2726 kfree(full_path);