Lines Matching refs:vol_info
3817 struct cifs_sb_info *cifs_sb, struct smb_vol *vol_info) in reset_cifs_unix_caps() argument
3830 if (vol_info && vol_info->no_linux_ext) { in reset_cifs_unix_caps()
3835 } else if (vol_info) in reset_cifs_unix_caps()
3848 if (vol_info == NULL) { in reset_cifs_unix_caps()
3867 if (vol_info && vol_info->no_psx_acl) in reset_cifs_unix_caps()
3876 if (vol_info && vol_info->posix_paths == 0) in reset_cifs_unix_caps()
3907 if (vol_info == NULL) { in reset_cifs_unix_caps()
5105 struct smb_vol *vol_info; in cifs_construct_tcon() local
5107 vol_info = kzalloc(sizeof(*vol_info), GFP_KERNEL); in cifs_construct_tcon()
5108 if (vol_info == NULL) in cifs_construct_tcon()
5111 vol_info->local_nls = cifs_sb->local_nls; in cifs_construct_tcon()
5112 vol_info->linux_uid = fsuid; in cifs_construct_tcon()
5113 vol_info->cred_uid = fsuid; in cifs_construct_tcon()
5114 vol_info->UNC = master_tcon->treeName; in cifs_construct_tcon()
5115 vol_info->retry = master_tcon->retry; in cifs_construct_tcon()
5116 vol_info->nocase = master_tcon->nocase; in cifs_construct_tcon()
5117 vol_info->nohandlecache = master_tcon->nohandlecache; in cifs_construct_tcon()
5118 vol_info->local_lease = master_tcon->local_lease; in cifs_construct_tcon()
5119 vol_info->no_lease = master_tcon->no_lease; in cifs_construct_tcon()
5120 vol_info->resilient = master_tcon->use_resilient; in cifs_construct_tcon()
5121 vol_info->persistent = master_tcon->use_persistent; in cifs_construct_tcon()
5122 vol_info->handle_timeout = master_tcon->handle_timeout; in cifs_construct_tcon()
5123 vol_info->no_linux_ext = !master_tcon->unix_ext; in cifs_construct_tcon()
5124 vol_info->linux_ext = master_tcon->posix_extensions; in cifs_construct_tcon()
5125 vol_info->sectype = master_tcon->ses->sectype; in cifs_construct_tcon()
5126 vol_info->sign = master_tcon->ses->sign; in cifs_construct_tcon()
5127 vol_info->seal = master_tcon->seal; in cifs_construct_tcon()
5129 rc = cifs_set_vol_auth(vol_info, master_tcon->ses); in cifs_construct_tcon()
5140 ses = cifs_get_smb_ses(master_tcon->ses->server, vol_info); in cifs_construct_tcon()
5147 tcon = cifs_get_tcon(ses, vol_info); in cifs_construct_tcon()
5154 reset_cifs_unix_caps(0, tcon, NULL, vol_info); in cifs_construct_tcon()
5157 kfree(vol_info->username); in cifs_construct_tcon()
5158 kfree_sensitive(vol_info->password); in cifs_construct_tcon()
5159 kfree(vol_info); in cifs_construct_tcon()