Lines Matching refs:UNC
1365 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname()
1366 if (!vol->UNC) in cifs_parse_devname()
1369 convert_delimiter(vol->UNC, '\\'); in cifs_parse_devname()
2238 if (!vol->UNC) { in cifs_parse_mount_options()
2244 if (!strchr(vol->UNC + 3, '\\')) { in cifs_parse_mount_options()
2255 slash = strchr(&vol->UNC[2], '\\'); in cifs_parse_mount_options()
2256 len = slash - &vol->UNC[2]; in cifs_parse_mount_options()
2257 if (!cifs_convert_address(dstaddr, &vol->UNC[2], len)) { in cifs_parse_mount_options()
2535 cifs_dbg(FYI, "UNC: %s\n", volume_info->UNC); in cifs_get_tcp_session()
2551 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
3159 if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) in match_tcon()
3340 rc = ses->server->ops->tree_connect(xid, ses, volume_info->UNC, tcon, in cifs_get_tcon()
4043 kfree(volume_info->UNC); in cifs_cleanup_volume_info_contents()
4202 unsigned int unc_len = strnlen(vol->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root()
4211 memcpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
4302 kfree(vol->UNC); in update_vol_info()
4303 vol->UNC = new_unc; in update_vol_info()
4633 v.UNC = vol->UNC; in check_dfs_prepath()
4671 if (dfs_cache_find(xid, ses, cifs_sb->local_nls, cifs_remap(cifs_sb), vol->UNC + 1, NULL, in cifs_mount()
5114 vol_info->UNC = master_tcon->treeName; in cifs_construct_tcon()