Home
last modified time | relevance | path

Searched refs:volume_info (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/fs/cifs/ !
Dconnect.c272 static int cifs_setup_volume_info(struct smb_vol *volume_info, char *mount_data,
2139 cifs_get_tcp_session(struct smb_vol *volume_info) in cifs_get_tcp_session() argument
2149 cFYI(1, "UNC: %s ip: %s", volume_info->UNC, volume_info->UNCip); in cifs_get_tcp_session()
2151 if (volume_info->UNCip && volume_info->UNC) { in cifs_get_tcp_session()
2153 volume_info->UNCip, in cifs_get_tcp_session()
2154 strlen(volume_info->UNCip), in cifs_get_tcp_session()
2155 volume_info->port); in cifs_get_tcp_session()
2161 } else if (volume_info->UNCip) { in cifs_get_tcp_session()
2175 tcp_ses = cifs_find_tcp_session((struct sockaddr *)&addr, volume_info); in cifs_get_tcp_session()
2192 tcp_ses->hostname = extract_hostname(volume_info->UNC); in cifs_get_tcp_session()
[all …]
Dcifsfs.c624 struct smb_vol *volume_info; in cifs_do_mount() local
630 volume_info = cifs_get_volume_info((char *)data, dev_name); in cifs_do_mount()
631 if (IS_ERR(volume_info)) in cifs_do_mount()
632 return ERR_CAST(volume_info); in cifs_do_mount()
646 cifs_setup_cifs_sb(volume_info, cifs_sb); in cifs_do_mount()
648 rc = cifs_mount(cifs_sb, volume_info); in cifs_do_mount()
656 mnt_data.vol = volume_info; in cifs_do_mount()
684 root = cifs_get_root(volume_info, sb); in cifs_do_mount()
694 cifs_cleanup_volume_info(volume_info); in cifs_do_mount()
702 unload_nls(volume_info->local_nls); in cifs_do_mount()