Lines Matching refs:tcon
43 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
66 if (tcon->ses->server->ops->ioctl_query_info)
67 rc = tcon->ses->server->ops->ioctl_query_info(
68 xid, tcon, cifs_sb, utf16_path,
129 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon,
140 fsinf->protocol_id = tcon->ses->server->vals->protocol_id;
142 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics);
143 fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);
144 fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes);
146 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength);
147 fsinf->vol_serial_number = tcon->vol_serial_number;
148 fsinf->vol_create_time = le64_to_cpu(tcon->vol_create_time);
149 fsinf->share_flags = tcon->share_flags;
150 fsinf->share_caps = le32_to_cpu(tcon->capabilities);
151 fsinf->sector_flags = tcon->ss_flags;
152 fsinf->optimal_sector_size = tcon->perf_sector_size;
153 fsinf->max_bytes_chunk = tcon->max_bytes_chunk;
154 fsinf->maximal_access = tcon->maximal_access;
155 fsinf->cifs_posix_caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
171 struct cifs_tcon *tcon;
184 tcon = tlink_tcon(pSMBFile->tlink);
185 caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
189 rc = CIFSGetExtAttr(xid, tcon,
211 tcon = tlink_tcon(pSMBFile->tlink);
212 caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
221 * rc = CIFSSetExtAttr(xid, tcon,
234 if (tcon->ses->server->ops->set_compression) {
235 rc = tcon->ses->server->ops->set_compression(
236 xid, tcon, pSMBFile);
249 tcon = tlink_tcon(pSMBFile->tlink);
250 if (tcon->ses->server->ops->set_integrity)
251 rc = tcon->ses->server->ops->set_integrity(xid,
252 tcon, pSMBFile);
259 tcon = tlink_tcon(pSMBFile->tlink);
260 rc = smb_mnt_get_fsinfo(xid, tcon, (void __user *)arg);
269 tcon = tlink_tcon(pSMBFile->tlink);
270 if (tcon->ses->server->ops->enum_snapshots)
271 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon,
284 tcon = tlink_tcon(pSMBFile->tlink);
285 if (!smb3_encryption_required(tcon)) {
290 le16_to_cpu(tcon->ses->server->cipher_type);
291 pkey_inf.Suid = tcon->ses->Suid;
292 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response,
295 tcon->ses->smb3decryptionkey, SMB3_SIGN_KEY_SIZE);
297 tcon->ses->smb3encryptionkey, SMB3_SIGN_KEY_SIZE);
316 tcon = tlink_tcon(tlink);
317 if (tcon && tcon->ses->server->ops->notify) {
318 rc = tcon->ses->server->ops->notify(xid,