Lines Matching refs:full_path

2663 		   struct cifs_sb_info *cifs_sb, const char *full_path)  in is_path_accessible()  argument
2672 rc = CIFSSMBQPathInfo(xid, tcon, full_path, pfile_info, in is_path_accessible()
2678 rc = SMBQueryInformation(xid, tcon, full_path, pfile_info, in is_path_accessible()
2709 char *full_path; in build_unc_path_to_root() local
2712 full_path = kmalloc(unc_len + cifs_sb->prepathlen + 1, GFP_KERNEL); in build_unc_path_to_root()
2713 if (full_path == NULL) in build_unc_path_to_root()
2716 strncpy(full_path, volume_info->UNC, unc_len); in build_unc_path_to_root()
2720 if (full_path[i] == '\\') in build_unc_path_to_root()
2721 full_path[i] = '/'; in build_unc_path_to_root()
2726 strncpy(full_path + unc_len, cifs_sb->prepath, in build_unc_path_to_root()
2729 full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */ in build_unc_path_to_root()
2730 return full_path; in build_unc_path_to_root()
2744 char *full_path; in cifs_mount() local
2757 full_path = NULL; in cifs_mount()
2867 full_path = cifs_build_path_to_root(cifs_sb, tcon); in cifs_mount()
2868 if (full_path == NULL) { in cifs_mount()
2872 rc = is_path_accessible(xid, tcon, cifs_sb, full_path); in cifs_mount()
2874 kfree(full_path); in cifs_mount()
2877 kfree(full_path); in cifs_mount()
2897 full_path = build_unc_path_to_root(volume_info, cifs_sb); in cifs_mount()
2898 if (IS_ERR(full_path)) { in cifs_mount()
2899 rc = PTR_ERR(full_path); in cifs_mount()
2903 cFYI(1, "Getting referral for: %s", full_path); in cifs_mount()
2904 rc = get_dfs_path(xid, pSesInfo , full_path + 1, in cifs_mount()
2914 cifs_sb->mountdata, full_path + 1, in cifs_mount()
2919 kfree(full_path); in cifs_mount()