Lines Matching defs:smb3_fs_context
209 struct smb3_fs_context { struct
210 bool forceuid_specified;
211 bool forcegid_specified;
212 bool uid_specified;
213 bool cruid_specified;
214 bool gid_specified;
215 bool sloppy;
216 bool got_ip;
217 bool got_version;
218 bool got_rsize;
219 bool got_wsize;
220 bool got_bsize;
221 unsigned short port;
223 char *username;
224 char *password;
225 char *password2;
226 char *domainname;
227 char *source;
228 char *server_hostname;
229 char *UNC;
230 char *nodename;
231 char workstation_name[CIFS_MAX_WORKSTATION_LEN];
232 char *iocharset; /* local code page for mapping to and from Unicode */
233 char source_rfc1001_name[RFC1001_NAME_LEN_WITH_NULL]; /* clnt nb name */
234 char target_rfc1001_name[RFC1001_NAME_LEN_WITH_NULL]; /* srvr nb name */
235 int rfc1001_sessinit;
236 kuid_t cred_uid;
237 kuid_t linux_uid;
238 kgid_t linux_gid;
239 kuid_t backupuid;
240 kgid_t backupgid;
241 umode_t file_mode;
242 umode_t dir_mode;
243 enum securityEnum sectype; /* sectype requested via mnt opts */
244 enum upcall_target_enum upcall_target; /* where to upcall for mount */
245 bool sign; /* was signing requested via mnt opts? */
246 bool ignore_signature:1;
247 bool retry:1;
248 bool intr:1;
249 bool setuids:1;
250 bool setuidfromacl:1;
251 bool override_uid:1;
252 bool override_gid:1;
253 bool dynperm:1;
254 bool noperm:1;
255 bool nodelete:1;
256 bool mode_ace:1;
257 bool no_psx_acl:1; /* set if posix acl support should be disabled */
258 bool cifs_acl:1;
259 bool backupuid_specified; /* mount option backupuid is specified */
260 bool backupgid_specified; /* mount option backupgid is specified */
261 bool no_xattr:1; /* set if xattr (EA) support should be disabled*/
262 bool server_ino:1; /* use inode numbers from server ie UniqueId */
263 bool direct_io:1;
264 bool strict_io:1; /* strict cache behavior */
265 bool cache_ro:1;
266 bool cache_rw:1;
267 bool remap:1; /* set to remap seven reserved chars in filenames */
268 bool sfu_remap:1; /* remap seven reserved chars ala SFU */
269 bool posix_paths:1; /* unset to not ask for posix pathnames. */
270 bool no_linux_ext:1;
271 bool linux_ext:1;
272 bool sfu_emul:1;
273 bool nullauth:1; /* attempt to authenticate with null user */
274 bool nocase:1; /* request case insensitive filenames */
275 bool nobrl:1; /* disable sending byte range locks to srv */
276 bool nohandlecache:1; /* disable caching dir handles if srvr probs */
277 bool mand_lock:1; /* send mandatory not posix byte range lock reqs */
278 bool seal:1; /* request transport encryption on share */
279 bool nodfs:1; /* Do not request DFS, even if available */
280 bool local_lease:1; /* check leases only on local system, not remote */
281 bool noblocksnd:1;
282 bool noautotune:1;
283 bool nostrictsync:1; /* do not force expensive SMBflush on every sync */
284 bool no_lease:1; /* disable requesting leases */
285 bool no_sparse:1; /* do not attempt to set files sparse */
286 bool fsc:1; /* enable fscache */
287 bool mfsymlinks:1; /* use Minshall+French Symlinks */
288 bool multiuser:1;
289 bool rwpidforward:1; /* pid forward for read/write operations */
290 bool nosharesock:1;
291 bool persistent:1;
292 bool nopersistent:1;
293 bool resilient:1; /* noresilient not required since not fored for CA */
294 bool domainauto:1;
295 bool rdma:1;
296 bool multichannel:1;
297 bool use_client_guid:1;
299 u8 client_guid[SMB2_CLIENT_GUID_SIZE];
301 unsigned int vol_rsize;
302 unsigned int vol_wsize;
303 unsigned int bsize;
304 unsigned int rasize;
305 unsigned int rsize;
306 unsigned int wsize;
307 unsigned int min_offload;
308 unsigned int retrans;
309 bool sockopt_tcp_nodelay:1;
311 unsigned long acregmax;
312 unsigned long acdirmax;
314 unsigned long closetimeo;
315 struct smb_version_operations *ops;
316 struct smb_version_values *vals;
317 char *prepath;
318 struct sockaddr_storage dstaddr; /* destination address */
319 struct sockaddr_storage srcaddr; /* allow binding to a local IP */
320 struct nls_table *local_nls; /* This is a copy of the pointer in cifs_sb */
321 unsigned int echo_interval; /* echo interval in secs */
322 __u64 snapshot_time; /* needed for timewarp tokens */
323 __u32 handle_timeout; /* persistent and durable handle timeout in ms */
347 extern void smb3_cleanup_fs_context_contents(struct smb3_fs_context *ctx); argument