Home
last modified time | relevance | path

Searched refs:cifs_tcon (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/fs/smb/client/
H A Dsmb2proto.h40 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
54 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
60 struct cifs_tcon *tcon,
66 struct cifs_tcon *tcon,
72 struct cifs_tcon *tcon,
76 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
83 umode_t mode, struct cifs_tcon *tcon,
87 umode_t mode, struct cifs_tcon *tcon,
91 struct cifs_tcon *tcon, const unsigned int xid);
92 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
H A Dcifsproto.h79 struct cifs_tcon *tcon,
131 struct cifs_tcon *ptcon,
155 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
159 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
169 const struct cifs_tcon *, int /* length of
270 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
271 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
295 extern void cifs_close_all_deferred_files(struct cifs_tcon *cifs_tcon);
297 extern void cifs_close_deferred_file_under_dentry(struct cifs_tcon *cifs_tcon,
308 extern void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace);
[all …]
H A Dcifsglob.h267 struct cifs_tcon;
318 void (*clear_stats)(struct cifs_tcon *);
319 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
320 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
338 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
340 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
349 struct cifs_tcon *, const struct nls_table *);
351 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
357 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
360 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *,
1192 struct cifs_tcon { global() struct
1193 tcon_listcifs_tcon global() argument
1194 debug_idcifs_tcon global() argument
1195 tc_countcifs_tcon global() argument
1196 rlistcifs_tcon global() argument
1197 tc_lockcifs_tcon global() argument
1198 num_local_openscifs_tcon global() argument
1199 num_remote_openscifs_tcon global() argument
1200 openFileListcifs_tcon global() argument
1201 open_file_lockcifs_tcon global() argument
1202 sescifs_tcon global() argument
1203 tree_namecifs_tcon global() argument
1204 nativeFileSystemcifs_tcon global() argument
1205 passwordcifs_tcon global() argument
1206 tidcifs_tcon global() argument
1207 Flagscifs_tcon global() argument
1208 statuscifs_tcon global() argument
1209 num_smbs_sentcifs_tcon global() argument
1210 __anon54d476b7080acifs_tcon global() argument
1238 statscifs_tcon global() argument
1239 bytes_readcifs_tcon global() argument
1240 bytes_writtencifs_tcon global() argument
1241 stat_lockcifs_tcon global() argument
1242 stats_from_timecifs_tcon global() argument
1243 fsDevInfocifs_tcon global() argument
1244 fsAttrInfocifs_tcon global() argument
1245 fsUnixInfocifs_tcon global() argument
1246 ipccifs_tcon global() argument
1247 pipecifs_tcon global() argument
1248 printcifs_tcon global() argument
1249 retrycifs_tcon global() argument
1250 nocasecifs_tcon global() argument
1251 nohandlecachecifs_tcon global() argument
1252 nodeletecifs_tcon global() argument
1253 sealcifs_tcon global() argument
1254 unix_extcifs_tcon global() argument
1256 posix_extensionscifs_tcon global() argument
1257 local_leasecifs_tcon global() argument
1258 broken_posix_opencifs_tcon global() argument
1259 broken_sparse_supcifs_tcon global() argument
1260 need_reconnectcifs_tcon global() argument
1261 need_reopen_filescifs_tcon global() argument
1262 use_resilientcifs_tcon global() argument
1263 use_persistentcifs_tcon global() argument
1264 no_leasecifs_tcon global() argument
1265 use_witnesscifs_tcon global() argument
1266 capabilitiescifs_tcon global() argument
1267 share_flagscifs_tcon global() argument
1268 maximal_accesscifs_tcon global() argument
1269 vol_serial_numbercifs_tcon global() argument
1270 vol_create_timecifs_tcon global() argument
1271 snapshot_timecifs_tcon global() argument
1272 handle_timeoutcifs_tcon global() argument
1273 ss_flagscifs_tcon global() argument
1274 perf_sector_sizecifs_tcon global() argument
1275 max_chunkscifs_tcon global() argument
1276 max_bytes_chunkcifs_tcon global() argument
1277 max_bytes_copycifs_tcon global() argument
1278 max_cached_dirscifs_tcon global() argument
1280 resource_idcifs_tcon global() argument
1281 fscache_acquiredcifs_tcon global() argument
1282 fscachecifs_tcon global() argument
1283 fscache_lockcifs_tcon global() argument
1285 pending_openscifs_tcon global() argument
1286 cfidscifs_tcon global() argument
1310 origin_fullpathcifs_tcon global() argument
[all...]
H A Dcached_dir.h45 struct cifs_tcon *tcon;
69 extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon,
73 extern int open_cached_dir_by_dentry(struct cifs_tcon *tcon,
78 struct cifs_tcon *tcon,
82 extern void invalidate_all_cached_dirs(struct cifs_tcon *tcon);
83 extern int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
H A Dcifs_swn.h12 struct cifs_tcon;
17 extern int cifs_swn_register(struct cifs_tcon *tcon);
19 extern int cifs_swn_unregister(struct cifs_tcon *tcon);
43 static inline int cifs_swn_register(struct cifs_tcon *tcon) { return 0; } in cifs_swn_register()
44 static inline int cifs_swn_unregister(struct cifs_tcon *tcon) { return 0; } in cifs_swn_unregister()
H A Dsmb1ops.c440 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_wsize()
475 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_rsize()
516 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon()
524 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
546 struct cifs_tcon *tcon, in cifs_query_path_info()
603 static int cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
623 static int cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
642 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
668 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats()
705 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in cifs_mkdir_setinfo()
[all …]
H A Dfscache.h41 extern int cifs_fscache_get_super_cookie(struct cifs_tcon *);
42 extern void cifs_fscache_release_super_cookie(struct cifs_tcon *);
124 static inline int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) { return 0; } in cifs_fscache_get_super_cookie()
125 static inline void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
H A Dcifs_swn.c32 struct cifs_tcon *tcon;
35 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_krb()
46 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_ntlm()
252 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon) in cifs_find_swn_reg()
305 static struct cifs_swn_reg *cifs_get_swn_reg(struct cifs_tcon *tcon) in cifs_get_swn_reg()
463 static int cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) in cifs_swn_reconnect()
589 int cifs_swn_register(struct cifs_tcon *tcon) in cifs_swn_register()
607 int cifs_swn_unregister(struct cifs_tcon *tcon) in cifs_swn_unregister()
H A Dlink.c160 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
193 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
250 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
295 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
335 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
398 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
472 struct cifs_tcon *tcon;
574 struct cifs_tcon *pTcon;
H A Dcifssmb.c69 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
210 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
262 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
288 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
301 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
510 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
663 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
740 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
784 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
828 struct cifs_tcon *tcon, const char *name, in CIFSSMBMkDir()
[all …]
H A Dsmb2ops.c438 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
453 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
485 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
501 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
760 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces()
807 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
852 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
883 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
950 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
958 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
[all …]
H A Ddir.c40 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root()
74 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry()
141 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix()
153 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
185 struct cifs_tcon *tcon = tlink_tcon(tlink);
439 struct cifs_tcon *tcon;
562 struct cifs_tcon *tcon;
605 struct cifs_tcon *tcon;
656 struct cifs_tcon *pTcon;
H A Dsmb2misc.c541 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
580 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
614 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
677 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
756 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
783 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
804 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
845 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
H A Dfscache.c26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency()
35 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
114 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
133 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_get_inode_cookie()
H A Dinode.c387 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix()
423 struct cifs_tcon *tcon; in cifs_get_unix_fattr()
511 struct cifs_tcon *tcon; in cifs_sfu_type()
633 struct cifs_tcon *tcon; in cifs_sfu_mode()
755 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in smb311_posix_info_to_fattr()
813 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_open_info_to_fattr()
892 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info()
983 struct cifs_tcon *tcon, in cifs_backup_query_path_info()
1021 static void cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, in cifs_set_fattr_ino()
1079 struct cifs_tcon *tco in reparse_info_to_fattr()
[all...]
H A Dxattr.c43 static int cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_attrib_set()
67 static int cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_creation_time_set()
102 struct cifs_tcon *pTcon; in cifs_xattr_set()
270 struct cifs_tcon *pTcon; in cifs_xattr_get()
369 struct cifs_tcon *pTcon; in cifs_listxattr()
H A Dsmb2pdu.c73 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
91 const struct cifs_tcon *tcon, in smb2_hdr_assemble()
213 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect()
501 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf()
527 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
559 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
573 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
1279 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
2013 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
2021 static inline void init_copy_chunk_defaults(struct cifs_tcon *tco
[all...]
H A Dmisc.c113 struct cifs_tcon *
116 struct cifs_tcon *ret_buf; in tcon_info_alloc()
153 tconInfoFree(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in tconInfoFree()
257 const struct cifs_tcon *treeCon, int word_count in header_assemble()
423 struct cifs_tcon *tcon; in is_valid_oplock_break()
544 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
786 cifs_close_all_deferred_files(struct cifs_tcon *tcon) in cifs_close_all_deferred_files()
818 cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, const char *path) in cifs_close_deferred_file_under_dentry()
1159 struct cifs_tcon *t1 = sd->data, *t2; in tcon_super_cb()
1209 struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tcon) in cifs_get_dfs_tcon_super()
[all …]
H A Dreparse.h115 struct dentry *dentry, struct cifs_tcon *tcon,
118 struct dentry *dentry, struct cifs_tcon *tcon,
H A Dsmb2inode.c172 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
900 struct cifs_tcon *tcon, in smb2_query_path_info()
1034 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
1049 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
1077 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
1092 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
1113 static int smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
1143 struct cifs_tcon *tcon, in smb2_rename_path()
1167 struct cifs_tcon *tcon, in smb2_create_hardlink()
1180 smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_size()
[all …]
H A Dcached_dir.c140 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir()
389 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, in open_cached_dir_by_dentry()
441 void drop_cached_dir_by_name(const unsigned int xid, struct cifs_tcon *tcon, in drop_cached_dir_by_name()
475 struct cifs_tcon *tcon; in close_all_cached_dirs()
520 void invalidate_all_cached_dirs(struct cifs_tcon *tcon) in invalidate_all_cached_dirs()
561 struct cifs_tcon *tcon = cfid->tcon; in cached_dir_offload_close()
591 int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break()
H A Dioctl.c31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info()
120 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info()
134 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
220 static int cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) in cifs_dump_full_key()
339 struct cifs_tcon *tcon; in cifs_ioctl()
H A Dconnect.c120 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces()
121 struct cifs_tcon, in smb2_query_server_interfaces()
211 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect()
1978 struct cifs_tcon *tcon; in cifs_setup_ipc()
2060 struct cifs_tcon *tcon; in __cifs_put_smb_ses()
2464 static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in match_tcon()
2493 static struct cifs_tcon * in cifs_find_tcon()
2496 struct cifs_tcon *tcon; in cifs_find_tcon()
2517 cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in cifs_put_tcon()
2596 static struct cifs_tcon * in cifs_get_tcon()
[all...]
H A Dreparse.c24 struct dentry *dentry, struct cifs_tcon *tcon, in smb2_create_reparse_symlink()
116 struct cifs_tcon *tcon; in detect_directory_symlink_target()
280 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_nfs()
417 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_wsl()
459 struct dentry *dentry, struct cifs_tcon *tcon, in smb2_mknod_reparse()
636 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in parse_reparse_point()
H A Dfile.c170 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
288 struct cifs_tcon *tcon; in cifs_posix_open()
342 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
473 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
606 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in serverclose_work()
667 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
763 struct cifs_tcon *tcon; in cifs_open()
928 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
961 struct cifs_tcon *tcon; in cifs_reopen_file()
1218 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
[all …]

12