Home
last modified time | relevance | path

Searched refs:cifs_tcon (Results 1 - 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2proto.h55 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
72 extern int open_shroot(unsigned int xid, struct cifs_tcon *tcon,
80 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
83 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
87 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
93 umode_t mode, struct cifs_tcon *tcon,
97 umode_t mode, struct cifs_tcon *tcon,
101 struct cifs_tcon *tcon, const unsigned int xid);
102 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
104 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tco
[all...]
H A Dcifsproto.h77 struct cifs_tcon *tcon,
130 struct cifs_tcon *ptcon,
145 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
149 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
159 const struct cifs_tcon *, int /* length of
247 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
248 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
264 extern void cifs_put_tcon(struct cifs_tcon *tcon);
279 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
290 const char *tree, struct cifs_tcon *tco
[all...]
H A Dcifsglob.h205 struct cifs_tcon;
256 void (*clear_stats)(struct cifs_tcon *);
257 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
258 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
274 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
276 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
284 struct cifs_tcon *, const struct nls_table *);
286 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
292 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
295 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
1089 struct cifs_tcon { global() struct
[all...]
H A Dfscache.h67 extern void cifs_fscache_get_super_cookie(struct cifs_tcon *);
68 extern void cifs_fscache_release_super_cookie(struct cifs_tcon *);
134 static inline void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_get_super_cookie()
136 cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
H A Dsmb1ops.c431 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize()
466 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize()
507 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon()
515 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
537 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info()
587 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
608 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
615 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
641 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats()
678 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tco in cifs_mkdir_setinfo()
[all...]
H A Dsmb2misc.c533 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
574 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
609 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
623 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
676 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
701 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
751 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
778 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
799 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
836 struct cifs_tcon *tco in smb2_handle_cancelled_mid()
[all...]
H A Dlink.c185 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
218 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink()
252 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
306 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
350 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
388 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
449 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
521 struct cifs_tcon *tcon; in cifs_hardlink()
611 struct cifs_tcon *tcon; in cifs_get_link()
674 struct cifs_tcon *pTco in cifs_symlink()
[all...]
H A Dmisc.c114 struct cifs_tcon *
117 struct cifs_tcon *ret_buf; in tconInfoAlloc()
143 tconInfoFree(struct cifs_tcon *buf_to_free) in tconInfoFree()
248 const struct cifs_tcon *treeCon, int word_count in header_assemble()
413 struct cifs_tcon *tcon; in is_valid_oplock_break()
481 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break()
533 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
1042 struct cifs_tcon *tcon; in tcp_super_cb()
1144 struct cifs_tcon *tcon = sd->data; in tcon_super_cb()
1156 static inline struct super_block *cifs_get_tcon_super(struct cifs_tcon *tco
[all...]
H A Ddir.c50 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root()
84 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry()
101 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix()
201 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
234 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_do_create()
468 struct cifs_tcon *tcon; in cifs_atomic_open()
583 struct cifs_tcon *tcon; in cifs_create()
620 struct cifs_tcon *tcon; in cifs_mknod()
660 struct cifs_tcon *pTcon; in cifs_lookup()
H A Dfscache.c95 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
124 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
139 struct cifs_tcon *tcon) in cifs_fscache_acquire_inode_cookie()
162 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie()
219 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_reset_inode_cookie()
H A Dsmb2inode.c63 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
523 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info()
587 smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb311_posix_query_path_info()
640 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
651 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
674 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
683 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
692 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
714 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path()
727 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tco
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A 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,
84 struct cifs_tcon *tco
[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
268 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
269 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
293 extern void cifs_close_all_deferred_files(struct cifs_tcon *cifs_tcon);
295 extern void cifs_close_deferred_file_under_dentry(struct cifs_tcon *cifs_tco
[all...]
H A 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]);
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 Dcifsglob.h250 struct cifs_tcon;
301 void (*clear_stats)(struct cifs_tcon *);
302 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
303 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
321 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
323 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
332 struct cifs_tcon *, const struct nls_table *);
334 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
340 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
343 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
1159 struct cifs_tcon { global() struct
[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 *);
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()
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 *tco in cifs_mkdir_setinfo()
[all...]
H A 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;
H A Dsmb2inode.c58 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
575 struct cifs_tcon *tcon, in smb2_query_path_info()
659 struct cifs_tcon *tcon, in smb311_posix_query_path_info()
744 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
755 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
778 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
788 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
796 static int smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
819 struct cifs_tcon *tcon, in smb2_rename_path()
835 struct cifs_tcon *tco in smb2_create_hardlink()
[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);
424 struct cifs_tcon *tcon;
547 struct cifs_tcon *tcon;
590 struct cifs_tcon *tcon;
634 struct cifs_tcon *pTcon;
H A 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()
H A Dsmb2ops.c437 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
452 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
484 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
500 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
758 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces()
805 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
850 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
881 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
948 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
956 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tco
[all...]
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 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()
675 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
752 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
779 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
800 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
837 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()

Completed in 29 milliseconds

123