Home
last modified time | relevance | path

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

12

/linux/fs/smb/client/
H A Dsmb2proto.h48 struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
57 struct cifs_tcon *tcon,
61 int smb2_query_reparse_point(const unsigned int xid, struct cifs_tcon *tcon,
65 int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
68 int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
75 umode_t mode, struct cifs_tcon *tcon,
78 umode_t mode, struct cifs_tcon *tcon, const char *name,
81 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon,
83 int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
85 int smb2_unlink(const unsigned int xid, struct cifs_tcon *tco
[all...]
H A Dcifsglob.h299 struct cifs_tcon;
350 void (*clear_stats)(struct cifs_tcon *);
351 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
352 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
371 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
373 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
381 struct cifs_tcon *);
383 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
389 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
392 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *,
1196 struct cifs_tcon { global() struct
1197 tcon_listcifs_tcon global() argument
1198 debug_idcifs_tcon global() argument
1199 tc_countcifs_tcon global() argument
1200 rlistcifs_tcon global() argument
1201 tc_lockcifs_tcon global() argument
1202 num_local_openscifs_tcon global() argument
1203 num_remote_openscifs_tcon global() argument
1204 openFileListcifs_tcon global() argument
1205 open_file_lockcifs_tcon global() argument
1206 sescifs_tcon global() argument
1207 tree_namecifs_tcon global() argument
1208 nativeFileSystemcifs_tcon global() argument
1209 passwordcifs_tcon global() argument
1210 tidcifs_tcon global() argument
1211 Flagscifs_tcon global() argument
1212 statuscifs_tcon global() argument
1213 num_smbs_sentcifs_tcon global() argument
1214 __anone910d0fc060acifs_tcon global() argument
1242 statscifs_tcon global() argument
1243 bytes_readcifs_tcon global() argument
1244 bytes_writtencifs_tcon global() argument
1245 stat_lockcifs_tcon global() argument
1246 stats_from_timecifs_tcon global() argument
1247 fsDevInfocifs_tcon global() argument
1248 fsAttrInfocifs_tcon global() argument
1249 fsUnixInfocifs_tcon global() argument
1250 ipccifs_tcon global() argument
1251 pipecifs_tcon global() argument
1252 printcifs_tcon global() argument
1253 retrycifs_tcon global() argument
1254 nocasecifs_tcon global() argument
1255 nohandlecachecifs_tcon global() argument
1256 nodeletecifs_tcon global() argument
1257 sealcifs_tcon global() argument
1258 unix_extcifs_tcon global() argument
1260 posix_extensionscifs_tcon global() argument
1261 local_leasecifs_tcon global() argument
1262 broken_posix_opencifs_tcon global() argument
1263 broken_sparse_supcifs_tcon global() argument
1264 need_reconnectcifs_tcon global() argument
1265 need_reopen_filescifs_tcon global() argument
1266 use_resilientcifs_tcon global() argument
1267 use_persistentcifs_tcon global() argument
1268 no_leasecifs_tcon global() argument
1269 use_witnesscifs_tcon global() argument
1270 dummycifs_tcon global() argument
1271 capabilitiescifs_tcon global() argument
1272 share_flagscifs_tcon global() argument
1273 maximal_accesscifs_tcon global() argument
1274 vol_serial_numbercifs_tcon global() argument
1275 vol_create_timecifs_tcon global() argument
1276 snapshot_timecifs_tcon global() argument
1277 handle_timeoutcifs_tcon global() argument
1278 ss_flagscifs_tcon global() argument
1279 perf_sector_sizecifs_tcon global() argument
1280 max_chunkscifs_tcon global() argument
1281 max_bytes_chunkcifs_tcon global() argument
1282 max_bytes_copycifs_tcon global() argument
1283 max_cached_dirscifs_tcon global() argument
1285 resource_idcifs_tcon global() argument
1286 fscache_acquiredcifs_tcon global() argument
1287 fscachecifs_tcon global() argument
1288 fscache_lockcifs_tcon global() argument
1290 pending_openscifs_tcon global() argument
1291 cfidscifs_tcon global() argument
1292 cifs_sb_listcifs_tcon global() argument
1293 sb_list_lockcifs_tcon global() argument
1317 origin_fullpathcifs_tcon global() argument
[all...]
H A Dcifsproto.h82 struct cifs_tcon *tcon, int add_treename);
145 int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
151 int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
153 int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode,
243 void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
244 void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
266 void cifs_close_all_deferred_files(struct cifs_tcon *tcon);
269 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon,
278 void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace);
289 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tco
[all...]
H A Dcifs_swn.c79 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_krb()
90 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_ntlm()
121 struct cifs_tcon *tcon) in cifs_swn_send_register_message()
225 struct cifs_tcon *tcon) in cifs_swn_send_unregister_message()
297 static bool cifs_swn_tcon_matches(struct cifs_tcon *tcon, in cifs_swn_tcon_matches()
341 static struct cifs_tcon *cifs_swn_get_tcon(struct cifs_swn_reg_info *swnreg) in cifs_swn_get_tcon()
345 struct cifs_tcon *tcon; in cifs_swn_get_tcon()
377 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon) in cifs_find_swn_reg()
430 static struct cifs_swn_reg *cifs_get_swn_reg(struct cifs_tcon *tcon) in cifs_get_swn_reg()
505 struct cifs_tcon *tcon) in cifs_put_swn_reg_locked()
[all …]
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()
110 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
129 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_get_inode_cookie()
H A Dlink.c137 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
170 int cifs_check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
228 struct cifs_tcon *tcon, in cifs_query_mf_symlink()
275 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
312 struct cifs_tcon *tcon, in smb3_query_mf_symlink()
493 smb2_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
568 struct cifs_tcon *tcon;
669 struct cifs_tcon *pTcon;
H A Dmisc.c33 struct cifs_tcon *tcon;
120 struct cifs_tcon *
123 struct cifs_tcon *ret_buf; in tcon_info_alloc()
171 tconInfoFree(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in tconInfoFree()
284 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
538 cifs_close_all_deferred_files(struct cifs_tcon *tcon)
579 struct cifs_tcon *tcon; in cifs_close_all_deferred_files_sb()
612 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, in cifs_close_all_deferred_files_sb()
888 struct cifs_tcon *t1 = sd->data, *t2; in tcon_super_cb()
938 struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tco in __cifs_put_super()
[all...]
H A Dcifssmb.c72 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
227 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
280 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
308 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
321 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
540 struct cifs_tcon *tcon)
682 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon)
839 int CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSSMBLogoff()
914 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSPOSIXDelFile()
960 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tco in CIFSSMBDelFile()
[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()
138 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix()
150 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
208 struct cifs_tcon *tcon = tlink_tcon(tlink);
527 struct cifs_tcon *tcon;
681 struct cifs_tcon *tcon;
730 struct cifs_tcon *tcon;
781 struct cifs_tcon *pTcon;
944 struct cifs_tcon *tco
[all...]
H A Dsmb2misc.c583 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
622 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
656 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
730 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
809 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
836 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
860 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
902 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
H A Dxattr.c45 static int cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_attrib_set()
69 static int cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_creation_time_set()
104 struct cifs_tcon *pTcon; in cifs_xattr_set()
280 struct cifs_tcon *pTcon; in cifs_xattr_get()
394 struct cifs_tcon *pTcon; in cifs_listxattr()
H A Dsmb2ops.c493 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
508 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
543 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
559 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
829 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces()
883 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
928 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
959 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
1023 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
1031 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tco
[all...]
H A Dinode.c31 static void cifs_invalidate_cached_dir(struct cifs_tcon *tcon, in cifs_invalidate_cached_dir()
61 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_set_ops()
423 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix()
459 struct cifs_tcon *tcon; in cifs_get_unix_fattr()
549 struct cifs_tcon *tcon; in cifs_sfu_type()
737 struct cifs_tcon *tcon; in cifs_sfu_mode()
859 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in smb311_posix_info_to_fattr()
922 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_open_info_to_fattr()
1003 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info()
1094 struct cifs_tcon *tco in cifs_backup_query_path_info()
[all...]
H A Dsmb2inode.c189 static void set_next_compound(struct cifs_tcon *tcon, in set_next_compound()
211 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon,
865 struct cifs_tcon *tcon, in free_rsp_iov()
1050 struct cifs_tcon *tcon, const char *name,
1065 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon,
1093 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_mkdir_setinfo()
1108 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
1220 static int smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_unlink()
1252 struct cifs_tcon *tcon, in smb2_set_path_attr()
1277 static int clear_tmpfile_attr(const unsigned int xid, struct cifs_tcon *tco in smb2_rename_path()
[all...]
H A Dfile.c375 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
500 struct cifs_tcon *tcon; in cifs_posix_open()
553 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
681 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
813 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in serverclose_work()
874 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
974 struct cifs_tcon *tcon; in cifs_file_flush()
1002 struct cifs_tcon *tcon; in cifs_do_truncate()
1068 struct cifs_tcon *tcon; in cifs_open()
1251 struct cifs_tcon *tco in cifs_relock_file()
[all...]
H A Dsmb2pdu.c77 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
95 const struct cifs_tcon *tcon, in smb2_hdr_assemble()
250 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect()
528 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf()
554 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
586 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
600 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
1353 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon)
2110 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in SMB2_logoff()
2118 struct cifs_tcon *tco in cifs_stats_fail_inc()
[all...]
H A Dreparse.h138 struct dentry *dentry, struct cifs_tcon *tcon,
141 struct cifs_tcon *tcon, const char *full_path, umode_t mode,
H A Dcached_dir.c135 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir()
434 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, in open_cached_dir_by_dentry()
494 void drop_cached_dir_by_name(const unsigned int xid, struct cifs_tcon *tcon, in drop_cached_dir_by_name()
562 struct cifs_tcon *tcon; in close_all_cached_dirs()
616 void invalidate_all_cached_dirs(struct cifs_tcon *tcon, bool sync) in invalidate_all_cached_dirs()
657 struct cifs_tcon *tcon = cfid->tcon; in cached_dir_offload_close()
682 bool cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break()
H A Dreparse.c19 struct dentry *dentry, struct cifs_tcon *tcon,
24 struct dentry *dentry, struct cifs_tcon *tcon,
29 struct dentry *dentry, struct cifs_tcon *tcon,
39 struct dentry *dentry, struct cifs_tcon *tcon, in create_reparse_symlink()
55 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_symlink()
281 struct cifs_tcon *tcon; in detect_directory_symlink_target()
411 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_socket()
481 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_nfs()
683 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_wsl()
732 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_reparse()
H A Ddfs_cache.c1115 static bool target_share_equal(struct cifs_tcon *tcon, const char *s1) in target_share_equal()
1142 static bool is_ses_good(struct cifs_tcon *tcon, struct cifs_ses *ses) in is_ses_good()
1145 struct cifs_tcon *ipc = NULL; in is_ses_good()
1198 static void refresh_ses_referral(struct cifs_tcon *tcon, struct cifs_ses *ses) in refresh_ses_referral()
1230 static int __refresh_tcon_referral(struct cifs_tcon *tcon, in __refresh_tcon_referral()
1272 static void refresh_tcon_referral(struct cifs_tcon *tcon, bool force_refresh) in refresh_tcon_referral()
1331 struct cifs_tcon *tcon; in dfs_cache_remount_fs()
1364 struct cifs_tcon *tcon; in dfs_cache_refresh()
1367 tcon = container_of(work, struct cifs_tcon, dfs_cache_work.work); in dfs_cache_refresh()
H A Dfs_context.h401 struct cifs_tcon *tcon) in cifs_negotiate_rsize()
413 struct cifs_tcon *tcon) in cifs_negotiate_wsize()
425 struct cifs_tcon *tcon) in cifs_negotiate_iosize()
H A Dconnect.c107 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces()
108 struct cifs_tcon, in smb2_query_server_interfaces()
217 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect()
2060 struct cifs_tcon *cifs_setup_ipc(struct cifs_ses *ses, bool seal) in cifs_setup_ipc()
2063 struct cifs_tcon *tcon; in cifs_setup_ipc()
2137 struct cifs_tcon *tcon; in __cifs_put_smb_ses()
2376 struct cifs_tcon *ipc; in cifs_get_smb_ses()
2572 static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in match_tcon()
2603 static struct cifs_tcon * in cifs_find_tcon()
2606 struct cifs_tcon *tco
[all...]
H A Dcifsfs.c197 struct cifs_tcon *tcon; in cifs_read_super()
339 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
379 struct cifs_tcon *tcon = cifs_sb_master_tcon(CIFS_SB(file)); in cifs_fallocate()
625 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
833 struct cifs_tcon *tcon; in cifs_umount_begin()
875 struct cifs_tcon *tcon;
1096 struct cifs_tcon *tcon;
1192 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
1311 struct cifs_tcon *src_tcon,
1383 struct cifs_tcon *target_tco in cifs_remap_file_range()
[all...]
H A Ddfs.c206 struct cifs_tcon *tcon; in __dfs_mount_share()
337 struct cifs_tcon *tcon, in tree_connect_dfs_target()
386 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon) in cifs_tree_connect()
H A Ddfs.h133 struct cifs_tcon *tcon) in ref_walk_set_tcon()

12