Home
last modified time | relevance | path

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

12

/Linux-v6.6/fs/smb/client/
Dsmb2proto.h42 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
56 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
60 struct cifs_tcon *tcon,
64 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
70 umode_t mode, struct cifs_tcon *tcon,
74 umode_t mode, struct cifs_tcon *tcon,
78 struct cifs_tcon *tcon, const unsigned int xid);
79 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
81 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
83 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h79 struct cifs_tcon *tcon,
131 struct cifs_tcon *ptcon,
153 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
157 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
167 const struct cifs_tcon *, int /* length of
265 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
266 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
290 extern void cifs_close_all_deferred_files(struct cifs_tcon *cifs_tcon);
292 extern void cifs_close_deferred_file_under_dentry(struct cifs_tcon *cifs_tcon,
299 extern void cifs_put_tcon(struct cifs_tcon *tcon);
[all …]
Dcifsglob.h235 struct cifs_tcon;
286 void (*clear_stats)(struct cifs_tcon *);
287 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
288 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
306 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
308 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
317 struct cifs_tcon *, const struct nls_table *);
319 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
325 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
328 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
[all …]
Dcached_dir.h45 struct cifs_tcon *tcon;
65 extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon,
69 extern int open_cached_dir_by_dentry(struct cifs_tcon *tcon,
74 struct cifs_tcon *tcon,
78 extern void invalidate_all_cached_dirs(struct cifs_tcon *tcon);
79 extern int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
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()
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 …]
Dfscache.h41 extern int cifs_fscache_get_super_cookie(struct cifs_tcon *);
42 extern void cifs_fscache_release_super_cookie(struct cifs_tcon *);
119 static inline int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) { return 0; } in cifs_fscache_get_super_cookie()
120 static inline void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
Dsmb2inode.c46 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
563 struct cifs_tcon *tcon, in smb2_query_path_info()
647 struct cifs_tcon *tcon, in smb311_posix_query_path_info()
732 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
743 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
766 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
776 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
785 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
807 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path()
821 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_create_hardlink()
[all …]
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()
Dlink.c172 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
205 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
262 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
307 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
347 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
410 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
484 struct cifs_tcon *tcon;
585 struct cifs_tcon *pTcon;
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 …]
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);
424 struct cifs_tcon *tcon;
547 struct cifs_tcon *tcon;
590 struct cifs_tcon *tcon;
634 struct cifs_tcon *pTcon;
Dfscache.c16 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency()
25 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
86 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
102 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_get_inode_cookie()
Dsmb2ops.c435 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
450 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
482 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
498 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
753 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces()
789 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
834 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
865 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
932 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
940 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
[all …]
Dsmb2misc.c547 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
586 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
620 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
681 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
758 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
785 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
806 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
843 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
Dsmb2pdu.c73 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
88 const struct cifs_tcon *tcon, in smb2_hdr_assemble()
160 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect()
348 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf()
374 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
401 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
415 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
1103 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1832 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1840 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[all …]
Dmisc.c115 struct cifs_tcon *
118 struct cifs_tcon *ret_buf; in tcon_info_alloc()
151 tconInfoFree(struct cifs_tcon *tcon) in tconInfoFree()
257 const struct cifs_tcon *treeCon, int word_count in header_assemble()
419 struct cifs_tcon *tcon; in is_valid_oplock_break()
538 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
780 cifs_close_all_deferred_files(struct cifs_tcon *tcon) in cifs_close_all_deferred_files()
812 cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, const char *path) in cifs_close_deferred_file_under_dentry()
1119 struct cifs_tcon *t1 = sd->data, *t2; in tcon_super_cb()
1169 struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tcon) in cifs_get_dfs_tcon_super()
[all …]
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()
267 struct cifs_tcon *pTcon; in cifs_xattr_get()
366 struct cifs_tcon *pTcon; in cifs_listxattr()
Dinode.c382 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix()
419 struct cifs_tcon *tcon; in cifs_get_unix_fattr()
508 struct cifs_tcon *tcon; in cifs_sfu_type()
626 struct cifs_tcon *tcon; in cifs_sfu_mode()
668 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in smb311_posix_info_to_fattr()
762 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_open_info_to_fattr()
839 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info()
918 struct cifs_tcon *tcon, in cifs_backup_query_path_info()
956 static void cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, in cifs_set_fattr_ino()
1014 struct cifs_tcon *tcon, in reparse_info_to_fattr()
[all …]
Ddfs.c233 struct cifs_tcon *tcon; in __dfs_mount_share()
394 struct cifs_tcon *tcon = ses->tcon_ipc; in __tree_connect_ipc()
429 struct cifs_tcon *tcon) in tree_connect_ipc()
437 static int __tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon, in __tree_connect_dfs_target()
522 static int tree_connect_dfs_target(const unsigned int xid, struct cifs_tcon *tcon, in tree_connect_dfs_target()
547 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, const struct nls_table *nlsc) in cifs_tree_connect()
Dcached_dir.c125 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir()
352 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, in open_cached_dir_by_dentry()
402 void drop_cached_dir_by_name(const unsigned int xid, struct cifs_tcon *tcon, in drop_cached_dir_by_name()
436 struct cifs_tcon *tcon; in close_all_cached_dirs()
459 void invalidate_all_cached_dirs(struct cifs_tcon *tcon) in invalidate_all_cached_dirs()
509 int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break()
Dioctl.c31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info()
120 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
205 static int cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) in cifs_dump_full_key()
320 struct cifs_tcon *tcon; in cifs_ioctl()
Dconnect.c122 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces()
123 struct cifs_tcon, in smb2_query_server_interfaces()
196 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect()
1866 struct cifs_tcon *tcon; in cifs_setup_ipc()
1932 struct cifs_tcon *tcon = ses->tcon_ipc; in cifs_free_ipc()
2345 static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in match_tcon()
2374 static struct cifs_tcon *
2377 struct cifs_tcon *tcon; in cifs_find_tcon()
2396 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
2474 static struct cifs_tcon *
[all …]
Dcifsfs.c193 struct cifs_tcon *tcon; in cifs_read_super()
314 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
344 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate()
543 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
731 struct cifs_tcon *tcon; in cifs_umount_begin()
774 struct cifs_tcon *tcon; in cifs_freeze()
1043 struct cifs_tcon *tcon; in cifs_llseek()
1206 struct cifs_tcon *target_tcon; in cifs_remap_file_range()
1267 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range()
1268 struct cifs_tcon *target_tcon; in cifs_file_copychunk_range()
Dfile.c170 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
285 struct cifs_tcon *tcon; in cifs_posix_open()
339 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
455 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
614 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
695 struct cifs_tcon *tcon; in cifs_open()
860 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
893 struct cifs_tcon *tcon; in cifs_reopen_file()
1122 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
1158 struct cifs_tcon *tcon; in cifs_closedir()
[all …]

12