Lines Matching defs:cifs_tcon

1172 struct cifs_tcon {  struct
1173 struct list_head tcon_list;
1174 int tc_count;
1175 struct list_head rlist; /* reconnect list */
1176 spinlock_t tc_lock; /* protect anything here that is not protected */
1177 atomic_t num_local_opens; /* num of all opens including disconnected */
1178 atomic_t num_remote_opens; /* num of all network opens on server */
1179 struct list_head openFileList;
1180 spinlock_t open_file_lock; /* protects list above */
1181 struct cifs_ses *ses; /* pointer to session associated with */
1182 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
1183 char *nativeFileSystem;
1184 char *password; /* for share-level security */
1185 __u32 tid; /* The 4 byte tree id */
1186 __u16 Flags; /* optional support bits */
1187 enum tid_status_enum status;
1188 atomic_t num_smbs_sent;
1189 union {
1217 } stats;
1218 __u64 bytes_read;
1219 __u64 bytes_written;
1220 spinlock_t stat_lock; /* protects the two fields above */
1221 time64_t stats_from_time;
1222 FILE_SYSTEM_DEVICE_INFO fsDevInfo;
1223 FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if fs name truncated */
1224 FILE_SYSTEM_UNIX_INFO fsUnixInfo;
1225 bool ipc:1; /* set if connection to IPC$ share (always also pipe) */
1226 bool pipe:1; /* set if connection to pipe share */
1227 bool print:1; /* set if connection to printer share */
1228 bool retry:1;
1229 bool nocase:1;
1230 bool nohandlecache:1; /* if strange server resource prob can turn off */
1231 bool nodelete:1;
1232 bool seal:1; /* transport encryption for this mounted share */
1233 bool unix_ext:1; /* if false disable Linux extensions to CIFS protocol
1235 bool posix_extensions; /* if true SMB3.11 posix extensions enabled */
1236 bool local_lease:1; /* check leases (only) on local system not remote */
1237 bool broken_posix_open; /* e.g. Samba server versions < 3.3.2, 3.2.9 */
1238 bool broken_sparse_sup; /* if server or share does not support sparse */
1239 bool need_reconnect:1; /* connection reset, tid now invalid */
1240 bool need_reopen_files:1; /* need to reopen tcon file handles */
1241 bool use_resilient:1; /* use resilient instead of durable handles */
1242 bool use_persistent:1; /* use persistent instead of durable handles */
1243 bool no_lease:1; /* Do not request leases on files or directories */
1244 bool use_witness:1; /* use witness protocol */
1245 __le32 capabilities;
1246 __u32 share_flags;
1247 __u32 maximal_access;
1248 __u32 vol_serial_number;
1249 __le64 vol_create_time;
1250 __u64 snapshot_time; /* for timewarp tokens - timestamp of snapshot */
1251 __u32 handle_timeout; /* persistent and durable handle timeout in ms */
1252 __u32 ss_flags; /* sector size flags */
1253 __u32 perf_sector_size; /* best sector size for perf */
1254 __u32 max_chunks;
1255 __u32 max_bytes_chunk;
1256 __u32 max_bytes_copy;
1257 __u32 max_cached_dirs;
1259 u64 resource_id; /* server resource id */
1260 struct fscache_volume *fscache; /* cookie for share */
1262 struct list_head pending_opens; /* list of incomplete opens */
1263 struct cached_fids *cfids;
1288 struct cifs_tcon *tl_tcon; argument