Lines Matching refs:UNC
1294 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname()
1295 if (!vol->UNC) in cifs_parse_devname()
1298 convert_delimiter(vol->UNC, '\\'); in cifs_parse_devname()
2081 if (!vol->UNC) { in cifs_parse_mount_options()
2087 if (!strchr(vol->UNC + 3, '\\')) { in cifs_parse_mount_options()
2098 slash = strchr(&vol->UNC[2], '\\'); in cifs_parse_mount_options()
2099 len = slash - &vol->UNC[2]; in cifs_parse_mount_options()
2100 if (!cifs_convert_address(dstaddr, &vol->UNC[2], len)) { in cifs_parse_mount_options()
2361 cifs_dbg(FYI, "UNC: %s\n", volume_info->UNC); in cifs_get_tcp_session()
2377 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
2919 if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) in match_tcon()
3081 rc = ses->server->ops->tree_connect(xid, ses, volume_info->UNC, tcon, in cifs_get_tcon()
3754 kfree(volume_info->UNC); in cleanup_volume_info_contents()
3781 unsigned int unc_len = strnlen(vol->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root()
3787 strncpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
3827 ref_path = check_prefix ? full_path + 1 : volume_info->UNC + 1; in expand_dfs_referral()
4460 vol_info->UNC = master_tcon->treeName; in cifs_construct_tcon()