Lines Matching refs:UNC
1576 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname()
1577 if (!vol->UNC) in cifs_parse_devname()
1580 convert_delimiter(vol->UNC, '\\'); in cifs_parse_devname()
2425 if (!vol->UNC) { in cifs_parse_mount_options()
2431 if (!strchr(vol->UNC + 3, '\\')) { in cifs_parse_mount_options()
2442 slash = strchr(&vol->UNC[2], '\\'); in cifs_parse_mount_options()
2443 len = slash - &vol->UNC[2]; in cifs_parse_mount_options()
2444 if (!cifs_convert_address(dstaddr, &vol->UNC[2], len)) { in cifs_parse_mount_options()
2722 cifs_dbg(FYI, "UNC: %s\n", volume_info->UNC); in cifs_get_tcp_session()
2738 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
3308 if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) in match_tcon()
3484 rc = ses->server->ops->tree_connect(xid, ses, volume_info->UNC, tcon, in cifs_get_tcon()
4168 kfree(volume_info->UNC); in cifs_cleanup_volume_info_contents()
4332 unsigned int unc_len = strnlen(vol->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root()
4341 memcpy(full_path, vol->UNC, unc_len); in build_unc_path_to_root()
4384 ref_path = check_prefix ? full_path + 1 : volume_info->UNC + 1; in expand_dfs_referral()
4435 kfree(vol->UNC); in update_vol_info()
4436 vol->UNC = new_unc; in update_vol_info()
4719 cifs_remap(cifs_sb), vol->UNC + 1, NULL, in cifs_mount()
5226 vol_info->UNC = master_tcon->treeName; in cifs_construct_tcon()