volume_info 778 fs/cifs/cifsfs.c struct smb_vol *volume_info; volume_info 791 fs/cifs/cifsfs.c volume_info = cifs_get_volume_info((char *)data, dev_name, is_smb3); volume_info 792 fs/cifs/cifsfs.c if (IS_ERR(volume_info)) volume_info 793 fs/cifs/cifsfs.c return ERR_CAST(volume_info); volume_info 807 fs/cifs/cifsfs.c rc = cifs_setup_cifs_sb(volume_info, cifs_sb); volume_info 813 fs/cifs/cifsfs.c rc = cifs_mount(cifs_sb, volume_info); volume_info 822 fs/cifs/cifsfs.c mnt_data.vol = volume_info; volume_info 849 fs/cifs/cifsfs.c root = cifs_get_root(volume_info, sb); volume_info 859 fs/cifs/cifsfs.c cifs_cleanup_volume_info(volume_info); volume_info 867 fs/cifs/cifsfs.c unload_nls(volume_info->local_nls); volume_info 539 fs/cifs/cifsproto.h cifs_setup_volume_info(struct smb_vol *volume_info, char *mount_data, volume_info 542 fs/cifs/cifsproto.h cifs_cleanup_volume_info_contents(struct smb_vol *volume_info); volume_info 550 fs/cifs/cifsproto.h cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb_vol *volume_info); volume_info 2752 fs/cifs/connect.c cifs_get_tcp_session(struct smb_vol *volume_info) volume_info 2757 fs/cifs/connect.c cifs_dbg(FYI, "UNC: %s\n", volume_info->UNC); volume_info 2760 fs/cifs/connect.c tcp_ses = cifs_find_tcp_session(volume_info); volume_info 2770 fs/cifs/connect.c tcp_ses->ops = volume_info->ops; volume_info 2771 fs/cifs/connect.c tcp_ses->vals = volume_info->vals; volume_info 2773 fs/cifs/connect.c tcp_ses->hostname = extract_hostname(volume_info->UNC); volume_info 2779 fs/cifs/connect.c tcp_ses->noblockcnt = volume_info->rootfs; volume_info 2780 fs/cifs/connect.c tcp_ses->noblocksnd = volume_info->noblocksnd || volume_info->rootfs; volume_info 2781 fs/cifs/connect.c tcp_ses->noautotune = volume_info->noautotune; volume_info 2782 fs/cifs/connect.c tcp_ses->tcp_nodelay = volume_info->sockopt_tcp_nodelay; volume_info 2783 fs/cifs/connect.c tcp_ses->rdma = volume_info->rdma; volume_info 2792 fs/cifs/connect.c volume_info->source_rfc1001_name, RFC1001_NAME_LEN_WITH_NULL); volume_info 2794 fs/cifs/connect.c volume_info->target_rfc1001_name, RFC1001_NAME_LEN_WITH_NULL); volume_info 2799 fs/cifs/connect.c tcp_ses->compress_algorithm = cpu_to_le16(volume_info->compression); volume_info 2806 fs/cifs/connect.c memcpy(&tcp_ses->srcaddr, &volume_info->srcaddr, volume_info 2808 fs/cifs/connect.c memcpy(&tcp_ses->dstaddr, &volume_info->dstaddr, volume_info 2819 fs/cifs/connect.c if (volume_info->echo_interval >= SMB_ECHO_INTERVAL_MIN && volume_info 2820 fs/cifs/connect.c volume_info->echo_interval <= SMB_ECHO_INTERVAL_MAX) volume_info 2821 fs/cifs/connect.c tcp_ses->echo_interval = volume_info->echo_interval * HZ; volume_info 2831 fs/cifs/connect.c tcp_ses, (struct sockaddr *)&volume_info->dstaddr); volume_info 2860 fs/cifs/connect.c tcp_ses->min_offload = volume_info->min_offload; volume_info 2864 fs/cifs/connect.c tcp_ses->ignore_signature = volume_info->ignore_signature; volume_info 2934 fs/cifs/connect.c cifs_setup_ipc(struct cifs_ses *ses, struct smb_vol *volume_info) volume_info 2947 fs/cifs/connect.c if (volume_info->seal) { volume_info 3234 fs/cifs/connect.c cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb_vol *volume_info) volume_info 3244 fs/cifs/connect.c ses = cifs_find_smb_ses(server, volume_info); volume_info 3261 fs/cifs/connect.c volume_info->local_nls); volume_info 3290 fs/cifs/connect.c if (volume_info->username) { volume_info 3291 fs/cifs/connect.c ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); volume_info 3297 fs/cifs/connect.c if (volume_info->password) { volume_info 3298 fs/cifs/connect.c ses->password = kstrdup(volume_info->password, GFP_KERNEL); volume_info 3302 fs/cifs/connect.c if (volume_info->domainname) { volume_info 3303 fs/cifs/connect.c ses->domainName = kstrdup(volume_info->domainname, GFP_KERNEL); volume_info 3307 fs/cifs/connect.c if (volume_info->domainauto) volume_info 3308 fs/cifs/connect.c ses->domainAuto = volume_info->domainauto; volume_info 3309 fs/cifs/connect.c ses->cred_uid = volume_info->cred_uid; volume_info 3310 fs/cifs/connect.c ses->linux_uid = volume_info->linux_uid; volume_info 3312 fs/cifs/connect.c ses->sectype = volume_info->sectype; volume_info 3313 fs/cifs/connect.c ses->sign = volume_info->sign; volume_info 3317 fs/cifs/connect.c rc = cifs_setup_session(xid, ses, volume_info->local_nls); volume_info 3329 fs/cifs/connect.c cifs_setup_ipc(ses, volume_info); volume_info 3339 fs/cifs/connect.c static int match_tcon(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 3343 fs/cifs/connect.c if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) volume_info 3345 fs/cifs/connect.c if (tcon->seal != volume_info->seal) volume_info 3347 fs/cifs/connect.c if (tcon->snapshot_time != volume_info->snapshot_time) volume_info 3349 fs/cifs/connect.c if (tcon->handle_timeout != volume_info->handle_timeout) volume_info 3351 fs/cifs/connect.c if (tcon->no_lease != volume_info->no_lease) volume_info 3357 fs/cifs/connect.c cifs_find_tcon(struct cifs_ses *ses, struct smb_vol *volume_info) volume_info 3369 fs/cifs/connect.c if (!match_tcon(tcon, volume_info)) volume_info 3434 fs/cifs/connect.c cifs_get_tcon(struct cifs_ses *ses, struct smb_vol *volume_info) volume_info 3439 fs/cifs/connect.c tcon = cifs_find_tcon(ses, volume_info); volume_info 3461 fs/cifs/connect.c if (volume_info->snapshot_time) { volume_info 3468 fs/cifs/connect.c tcon->snapshot_time = volume_info->snapshot_time; volume_info 3471 fs/cifs/connect.c if (volume_info->handle_timeout) { volume_info 3478 fs/cifs/connect.c tcon->handle_timeout = volume_info->handle_timeout; volume_info 3482 fs/cifs/connect.c if (volume_info->password) { volume_info 3483 fs/cifs/connect.c tcon->password = kstrdup(volume_info->password, GFP_KERNEL); volume_info 3490 fs/cifs/connect.c if (volume_info->seal) { volume_info 3506 fs/cifs/connect.c if (volume_info->linux_ext) { volume_info 3523 fs/cifs/connect.c rc = ses->server->ops->tree_connect(xid, ses, volume_info->UNC, tcon, volume_info 3524 fs/cifs/connect.c volume_info->local_nls); volume_info 3532 fs/cifs/connect.c if (volume_info->persistent) { volume_info 3549 fs/cifs/connect.c && (volume_info->nopersistent == false)) { volume_info 3552 fs/cifs/connect.c } else if (volume_info->resilient) { volume_info 3564 fs/cifs/connect.c if (volume_info->cache_ro) volume_info 3566 fs/cifs/connect.c else if (volume_info->cache_rw) volume_info 3575 fs/cifs/connect.c tcon->retry = volume_info->retry; volume_info 3576 fs/cifs/connect.c tcon->nocase = volume_info->nocase; volume_info 3577 fs/cifs/connect.c tcon->nohandlecache = volume_info->nohandlecache; volume_info 3578 fs/cifs/connect.c tcon->local_lease = volume_info->local_lease; volume_info 3579 fs/cifs/connect.c tcon->no_lease = volume_info->no_lease; volume_info 3678 fs/cifs/connect.c struct smb_vol *volume_info; volume_info 3697 fs/cifs/connect.c volume_info = mnt_data->vol; volume_info 3699 fs/cifs/connect.c if (!match_server(tcp_srv, volume_info) || volume_info 3700 fs/cifs/connect.c !match_session(ses, volume_info) || volume_info 3701 fs/cifs/connect.c !match_tcon(tcon, volume_info) || volume_info 4205 fs/cifs/connect.c cifs_cleanup_volume_info_contents(struct smb_vol *volume_info) volume_info 4207 fs/cifs/connect.c kfree(volume_info->username); volume_info 4208 fs/cifs/connect.c kzfree(volume_info->password); volume_info 4209 fs/cifs/connect.c kfree(volume_info->UNC); volume_info 4210 fs/cifs/connect.c kfree(volume_info->domainname); volume_info 4211 fs/cifs/connect.c kfree(volume_info->iocharset); volume_info 4212 fs/cifs/connect.c kfree(volume_info->prepath); volume_info 4216 fs/cifs/connect.c cifs_cleanup_volume_info(struct smb_vol *volume_info) volume_info 4218 fs/cifs/connect.c if (!volume_info) volume_info 4220 fs/cifs/connect.c cifs_cleanup_volume_info_contents(volume_info); volume_info 4221 fs/cifs/connect.c kfree(volume_info); volume_info 4410 fs/cifs/connect.c struct smb_vol *volume_info, struct cifs_sb_info *cifs_sb, volume_info 4420 fs/cifs/connect.c full_path = build_unc_path_to_root(volume_info, cifs_sb, true); volume_info 4425 fs/cifs/connect.c ref_path = check_prefix ? full_path + 1 : volume_info->UNC + 1; volume_info 4441 fs/cifs/connect.c cifs_cleanup_volume_info_contents(volume_info); volume_info 4442 fs/cifs/connect.c rc = cifs_setup_volume_info(volume_info, mdata, volume_info 4592 fs/cifs/connect.c cifs_setup_volume_info(struct smb_vol *volume_info, char *mount_data, volume_info 4597 fs/cifs/connect.c if (cifs_parse_mount_options(mount_data, devname, volume_info, is_smb3)) volume_info 4600 fs/cifs/connect.c if (volume_info->nullauth) { volume_info 4602 fs/cifs/connect.c kfree(volume_info->username); volume_info 4603 fs/cifs/connect.c volume_info->username = NULL; volume_info 4604 fs/cifs/connect.c } else if (volume_info->username) { volume_info 4606 fs/cifs/connect.c cifs_dbg(FYI, "Username: %s\n", volume_info->username); volume_info 4615 fs/cifs/connect.c if (volume_info->iocharset == NULL) { volume_info 4617 fs/cifs/connect.c volume_info->local_nls = load_nls_default(); volume_info 4619 fs/cifs/connect.c volume_info->local_nls = load_nls(volume_info->iocharset); volume_info 4620 fs/cifs/connect.c if (volume_info->local_nls == NULL) { volume_info 4622 fs/cifs/connect.c volume_info->iocharset); volume_info 4634 fs/cifs/connect.c struct smb_vol *volume_info; volume_info 4636 fs/cifs/connect.c volume_info = kmalloc(sizeof(struct smb_vol), GFP_KERNEL); volume_info 4637 fs/cifs/connect.c if (!volume_info) volume_info 4640 fs/cifs/connect.c rc = cifs_setup_volume_info(volume_info, mount_data, devname, is_smb3); volume_info 4642 fs/cifs/connect.c cifs_cleanup_volume_info(volume_info); volume_info 4643 fs/cifs/connect.c volume_info = ERR_PTR(rc); volume_info 4646 fs/cifs/connect.c return volume_info; volume_info 433 fs/cifs/smb1ops.c cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 440 fs/cifs/smb1ops.c if (volume_info->wsize) volume_info 441 fs/cifs/smb1ops.c wsize = volume_info->wsize; volume_info 468 fs/cifs/smb1ops.c cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 493 fs/cifs/smb1ops.c rsize = volume_info->rsize ? volume_info->rsize : defsize; volume_info 321 fs/cifs/smb2ops.c smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 327 fs/cifs/smb2ops.c wsize = volume_info->wsize ? volume_info->wsize : CIFS_DEFAULT_IOSIZE; volume_info 346 fs/cifs/smb2ops.c smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 352 fs/cifs/smb2ops.c wsize = volume_info->wsize ? volume_info->wsize : SMB3_DEFAULT_IOSIZE; volume_info 371 fs/cifs/smb2ops.c smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 377 fs/cifs/smb2ops.c rsize = volume_info->rsize ? volume_info->rsize : CIFS_DEFAULT_IOSIZE; volume_info 397 fs/cifs/smb2ops.c smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) volume_info 403 fs/cifs/smb2ops.c rsize = volume_info->rsize ? volume_info->rsize : SMB3_DEFAULT_IOSIZE;