Home
last modified time | relevance | path

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

12

/linux/fs/smb/client/
H A Dsmb1proto.h36 struct cifs_tcon *tcon, const struct nls_table *nls_codepage);
37 int CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon);
40 int CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon,
43 int CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon,
46 int CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon,
49 struct cifs_tcon *tcon, const char *name,
51 int CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon,
56 int SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
71 int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon,
75 int CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
H A Dsmb2proto.h43 struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
52 struct cifs_tcon *tcon,
56 int smb2_query_reparse_point(const unsigned int xid, struct cifs_tcon *tcon,
60 int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
63 int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
70 umode_t mode, struct cifs_tcon *tcon,
73 umode_t mode, struct cifs_tcon *tcon, const char *name,
76 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon,
78 int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
80 int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
H A Dcifsglob.h301 struct cifs_tcon;
352 void (*clear_stats)(struct cifs_tcon *);
353 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
354 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
373 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
375 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
384 struct cifs_tcon *, const struct nls_table *);
386 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
392 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
395 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *,
[all …]
H A Dcifsproto.h81 struct cifs_tcon *tcon, int add_treename);
144 int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, int flags,
149 int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
151 int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode,
241 void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
242 void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
264 void cifs_close_all_deferred_files(struct cifs_tcon *tcon);
267 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon,
276 void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace);
287 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon);
[all …]
H A Dcached_dir.h47 struct cifs_tcon *tcon;
84 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, const char *path,
87 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, struct dentry *dentry,
90 void drop_cached_dir_by_name(const unsigned int xid, struct cifs_tcon *tcon,
93 void invalidate_all_cached_dirs(struct cifs_tcon *tcon);
94 bool cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
H A Dcifs_swn.h12 struct cifs_tcon;
17 int cifs_swn_register(struct cifs_tcon *tcon);
19 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 Dfscache.h41 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon);
42 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon);
46 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon);
47 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon);
94 static inline int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) { return 0; } in cifs_fscache_get_super_cookie()
95 static inline void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
H A Dsmb1ops.c21 void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, in reset_cifs_unix_caps()
424 smb1_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_wsize()
459 smb1_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_rsize()
500 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon()
508 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
530 struct cifs_tcon *tcon, in cifs_query_path_info()
737 static int cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
763 static int cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
789 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
815 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats()
[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()
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 Dlink.c136 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
170 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
227 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
272 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
312 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
375 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
450 struct cifs_tcon *tcon;
550 struct cifs_tcon *pTcon;
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()
249 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon) in cifs_find_swn_reg()
302 static struct cifs_swn_reg *cifs_get_swn_reg(struct cifs_tcon *tcon) in cifs_get_swn_reg()
459 static int cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) in cifs_swn_reconnect()
585 int cifs_swn_register(struct cifs_tcon *tcon) in cifs_swn_register()
603 int cifs_swn_unregister(struct cifs_tcon *tcon) in cifs_swn_unregister()
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()
142 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix()
154 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
186 struct cifs_tcon *tcon = tlink_tcon(tlink);
471 struct cifs_tcon *tcon;
586 struct cifs_tcon *tcon;
629 struct cifs_tcon *tcon;
680 struct cifs_tcon *pTcon;
843 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
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()
542 const char *tree, struct cifs_tcon *tcon, in CIFSTCon()
678 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
836 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
912 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
958 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
[all …]
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()
286 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
530 cifs_close_all_deferred_files(struct cifs_tcon *tcon) in cifs_close_all_deferred_files()
566 struct cifs_tcon *tcon; in cifs_close_all_deferred_files_sb()
599 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, in cifs_close_deferred_file_under_dentry()
895 struct cifs_tcon *t1 = sd->data, *t2; in tcon_super_cb()
946 struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tcon) in cifs_get_dfs_tcon_super()
[all …]
H A Dsmb2misc.c533 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
572 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
606 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
680 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
759 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
786 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
807 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
849 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
H A Dsmb2ops.c482 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
497 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
532 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
548 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
818 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces()
872 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
917 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
948 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
1012 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
1020 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
[all …]
H A Dioctl.c30 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info()
116 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info()
130 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
170 struct cifs_tcon *tcon; in cifs_shutdown()
236 static int cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) in cifs_dump_full_key()
355 struct cifs_tcon *tcon; in cifs_ioctl()
H A Dsmb2pdu.c78 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
96 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()
1328 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
2077 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
2085 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[all …]
H A Dinode.c44 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_set_ops()
400 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix()
436 struct cifs_tcon *tcon; in cifs_get_unix_fattr()
524 struct cifs_tcon *tcon; in cifs_sfu_type()
712 struct cifs_tcon *tcon; in cifs_sfu_mode()
834 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in smb311_posix_info_to_fattr()
892 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_open_info_to_fattr()
971 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info()
1062 struct cifs_tcon *tcon, in cifs_backup_query_path_info()
1100 static void cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, in cifs_set_fattr_ino()
[all …]
H A Dfile.c370 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
488 struct cifs_tcon *tcon; in cifs_posix_open()
542 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
666 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
795 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in serverclose_work()
856 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
948 struct cifs_tcon *tcon; in cifs_file_flush()
976 struct cifs_tcon *tcon; in cifs_do_truncate()
1014 struct cifs_tcon *tcon; in cifs_open()
1194 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
[all …]
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 Dreparse.c18 struct dentry *dentry, struct cifs_tcon *tcon,
23 struct dentry *dentry, struct cifs_tcon *tcon,
28 struct dentry *dentry, struct cifs_tcon *tcon,
38 struct dentry *dentry, struct cifs_tcon *tcon, in create_reparse_symlink()
54 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_symlink()
256 struct cifs_tcon *tcon; in detect_directory_symlink_target()
386 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_socket()
456 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_nfs()
658 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_wsl()
707 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_reparse()
H A Dcached_dir.c134 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir()
414 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, in open_cached_dir_by_dentry()
474 void drop_cached_dir_by_name(const unsigned int xid, struct cifs_tcon *tcon, in drop_cached_dir_by_name()
542 struct cifs_tcon *tcon; in close_all_cached_dirs()
596 void invalidate_all_cached_dirs(struct cifs_tcon *tcon) in invalidate_all_cached_dirs()
636 struct cifs_tcon *tcon = cfid->tcon; in cached_dir_offload_close()
661 bool cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break()
H A Dreparse.h134 struct dentry *dentry, struct cifs_tcon *tcon,
137 struct cifs_tcon *tcon, const char *full_path, umode_t mode,
H A Dsmb2inode.c175 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
951 struct cifs_tcon *tcon, in smb2_query_path_info()
1128 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
1143 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
1171 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
1186 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
1298 static int smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
1330 struct cifs_tcon *tcon, in smb2_rename_path()
1353 struct cifs_tcon *tcon, in smb2_create_hardlink()
1366 smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_size()
[all …]

12