Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/cifs/
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 *tcon,
[all …]
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 *tcon,
[all …]
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 *,
[all …]
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()
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 *tcon, in cifs_mkdir_setinfo()
[all …]
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 *pTcon; in cifs_symlink()
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 *tcon, in smb2_create_hardlink()
[all …]
Dsmb2misc.c539 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()
615 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
629 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
682 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
707 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
757 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
784 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
805 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
842 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
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 *tcon) in cifs_get_tcon_super()
[all …]
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()
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()
Dcifssmb.c99 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
129 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
275 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
327 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
353 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
366 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
703 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
847 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
921 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
965 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
[all …]
Dsmb2ops.c342 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize()
357 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_wsize()
389 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize()
405 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_rsize()
580 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces()
672 int open_shroot(unsigned int xid, struct cifs_tcon *tcon, in open_shroot()
851 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
898 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
927 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
963 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
[all …]
Dsmb2pdu.c86 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
101 const struct cifs_tcon *tcon, in smb2_hdr_assemble()
156 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect()
345 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf()
371 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
398 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
412 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
1001 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1689 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1697 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[all …]
Dinode.c354 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
377 struct cifs_tcon *tcon;
448 struct cifs_tcon *tcon;
565 struct cifs_tcon *tcon;
604 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
661 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
746 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
813 struct cifs_tcon *tcon,
852 struct cifs_tcon *tcon,
921 struct cifs_tcon *tcon;
[all …]
Dxattr.c53 static int cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_attrib_set()
77 static int cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_creation_time_set()
111 struct cifs_tcon *pTcon; in cifs_xattr_set()
291 struct cifs_tcon *pTcon; in cifs_xattr_get()
399 struct cifs_tcon *pTcon; in cifs_listxattr()
Dcifs_debug.c87 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon()
169 struct cifs_tcon *tcon; in cifs_debug_files_proc_show()
187 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in cifs_debug_files_proc_show()
222 struct cifs_tcon *tcon; in cifs_debug_data_proc_show()
423 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
477 struct cifs_tcon *tcon; in cifs_stats_proc_write()
513 struct cifs_tcon, in cifs_stats_proc_write()
542 struct cifs_tcon *tcon; in cifs_stats_proc_show()
596 struct cifs_tcon, in cifs_stats_proc_show()
Dconnect.c395 struct cifs_tcon *tcon; in cifs_reconnect()
460 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
2731 struct cifs_tcon *tcon; in cifs_setup_ipc()
2790 struct cifs_tcon *tcon = ses->tcon_ipc; in cifs_free_ipc()
3157 static int match_tcon(struct cifs_tcon *tcon, struct smb_vol *volume_info) in match_tcon()
3176 static struct cifs_tcon *
3180 struct cifs_tcon *tcon; in cifs_find_tcon()
3184 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon()
3200 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
3253 static struct cifs_tcon *
[all …]
Dioctl.c43 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info()
129 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
171 struct cifs_tcon *tcon; in cifs_ioctl()
Dfile.c124 struct cifs_tcon *tcon; in cifs_posix_open()
178 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
301 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
443 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
524 struct cifs_tcon *tcon; in cifs_open()
654 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
682 struct cifs_tcon *tcon; in cifs_reopen_file()
852 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
892 struct cifs_tcon *tcon; in cifs_closedir()
1184 struct cifs_tcon *tcon; in cifs_push_mandatory_locks()
[all …]
Dcifsfs.c163 struct cifs_tcon *tcon; in cifs_read_super()
265 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
295 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate()
482 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
649 struct cifs_tcon *tcon; in cifs_umount_begin()
958 struct cifs_tcon *tcon; in cifs_llseek()
1091 struct cifs_tcon *target_tcon; in cifs_remap_file_range()
1152 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range()
1153 struct cifs_tcon *target_tcon; in cifs_file_copychunk_range()
Dsmb2file.c122 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range()
228 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks()
Dcache.c87 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_check_aux()
Dsmb2transport.c175 static struct cifs_tcon *
178 struct cifs_tcon *tcon; in smb2_find_smb_sess_tcon_unlocked()
195 struct cifs_tcon *
199 struct cifs_tcon *tcon; in smb2_find_smb_tcon()
Dreaddir.c393 struct cifs_tcon *tcon; in initiate_cifs_search()
705 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry()
937 struct cifs_tcon *tcon; in cifs_readdir()

12