Lines Matching defs:cifs_tcon

1227 struct cifs_tcon {  struct
1228 struct list_head tcon_list;
1229 int debug_id; /* Debugging for tracing */
1230 int tc_count;
1231 struct list_head rlist; /* reconnect list */
1232 spinlock_t tc_lock; /* protect anything here that is not protected */
1233 atomic_t num_local_opens; /* num of all opens including disconnected */
1234 atomic_t num_remote_opens; /* num of all network opens on server */
1235 struct list_head openFileList;
1236 spinlock_t open_file_lock; /* protects list above */
1237 struct cifs_ses *ses; /* pointer to session associated with */
1238 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
1239 char *nativeFileSystem;
1240 char *password; /* for share-level security */
1241 __u32 tid; /* The 4 byte tree id */
1242 __u16 Flags; /* optional support bits */
1243 enum tid_status_enum status;
1244 atomic_t num_smbs_sent;
1245 union {
1273 } stats;
1274 __u64 bytes_read;
1275 __u64 bytes_written;
1276 spinlock_t stat_lock; /* protects the two fields above */
1277 time64_t stats_from_time;
1278 FILE_SYSTEM_DEVICE_INFO fsDevInfo;
1279 FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if fs name truncated */
1280 FILE_SYSTEM_UNIX_INFO fsUnixInfo;
1281 bool ipc:1; /* set if connection to IPC$ share (always also pipe) */
1282 bool pipe:1; /* set if connection to pipe share */
1283 bool print:1; /* set if connection to printer share */
1284 bool retry:1;
1285 bool nocase:1;
1286 bool nohandlecache:1; /* if strange server resource prob can turn off */
1287 bool nodelete:1;
1288 bool seal:1; /* transport encryption for this mounted share */
1289 bool unix_ext:1; /* if false disable Linux extensions to CIFS protocol
1291 bool posix_extensions; /* if true SMB3.11 posix extensions enabled */
1292 bool local_lease:1; /* check leases (only) on local system not remote */
1293 bool broken_posix_open; /* e.g. Samba server versions < 3.3.2, 3.2.9 */
1294 bool broken_sparse_sup; /* if server or share does not support sparse */
1295 bool need_reconnect:1; /* connection reset, tid now invalid */
1296 bool need_reopen_files:1; /* need to reopen tcon file handles */
1297 bool use_resilient:1; /* use resilient instead of durable handles */
1298 bool use_persistent:1; /* use persistent instead of durable handles */
1299 bool no_lease:1; /* Do not request leases on files or directories */
1300 bool use_witness:1; /* use witness protocol */
1301 __le32 capabilities;
1302 __u32 share_flags;
1303 __u32 maximal_access;
1304 __u32 vol_serial_number;
1305 __le64 vol_create_time;
1306 __u64 snapshot_time; /* for timewarp tokens - timestamp of snapshot */
1307 __u32 handle_timeout; /* persistent and durable handle timeout in ms */
1308 __u32 ss_flags; /* sector size flags */
1309 __u32 perf_sector_size; /* best sector size for perf */
1310 __u32 max_chunks;
1311 __u32 max_bytes_chunk;
1312 __u32 max_bytes_copy;
1313 __u32 max_cached_dirs;
1315 u64 resource_id; /* server resource id */
1316 bool fscache_acquired; /* T if we've tried acquiring a cookie */
1317 struct fscache_volume *fscache; /* cookie for share */
1318 struct mutex fscache_lock; /* Prevent regetting a cookie */
1320 struct list_head pending_opens; /* list of incomplete opens */
1321 struct cached_fids *cfids;
1346 struct cifs_tcon *tl_tcon; argument