Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/cifs/
Dsmb2proto.h54 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
69 extern int open_shroot(unsigned int xid, struct cifs_tcon *tcon,
74 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
78 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
84 umode_t mode, struct cifs_tcon *tcon,
88 umode_t mode, struct cifs_tcon *tcon,
92 struct cifs_tcon *tcon, const unsigned int xid);
93 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
95 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
97 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h77 struct cifs_tcon *tcon,
125 struct cifs_tcon *ptcon,
140 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
143 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
152 const struct cifs_tcon *, int /* length of
231 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
232 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
247 extern void cifs_put_tcon(struct cifs_tcon *tcon);
270 const char *tree, struct cifs_tcon *tcon,
273 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsglob.h214 struct cifs_tcon;
264 void (*clear_stats)(struct cifs_tcon *);
265 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
266 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
281 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
283 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
291 struct cifs_tcon *, const struct nls_table *);
293 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
299 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
301 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
[all …]
Dfscache.h58 extern void cifs_fscache_get_super_cookie(struct cifs_tcon *);
59 extern void cifs_fscache_release_super_cookie(struct cifs_tcon *);
125 static inline void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_get_super_cookie()
127 cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
Dsmb1ops.c433 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize()
468 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize()
509 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon()
516 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
538 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info()
588 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
609 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
616 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
642 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats()
679 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in cifs_mkdir_setinfo()
[all …]
Dlink.c182 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
215 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink()
249 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
303 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
347 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
389 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
452 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
527 struct cifs_tcon *tcon; in cifs_hardlink()
617 struct cifs_tcon *tcon; in cifs_get_link()
680 struct cifs_tcon *pTcon; in cifs_symlink()
Dsmb2inode.c51 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
438 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info()
504 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
515 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
538 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
547 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
556 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
578 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path()
591 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_create_hardlink()
601 smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_size()
Dfscache.c95 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
118 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
126 struct cifs_tcon *tcon) in cifs_fscache_acquire_inode_cookie()
149 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie()
206 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_reset_inode_cookie()
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()
472 struct cifs_tcon *tcon; in cifs_atomic_open()
588 struct cifs_tcon *tcon; in cifs_create()
625 struct cifs_tcon *tcon; in cifs_mknod()
665 struct cifs_tcon *pTcon; in cifs_lookup()
Dcifssmb.c98 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
126 struct cifs_tcon *tcon) in __cifs_reconnect_tcon()
198 struct cifs_tcon *tcon) in __cifs_reconnect_tcon()
206 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
352 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
404 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
430 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
443 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
776 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
920 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
[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()
160 struct cifs_tcon *tcon) in __smb2_reconnect()
232 struct cifs_tcon *tcon) in __smb2_reconnect()
239 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon) in smb2_reconnect()
405 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, void *buf, in fill_small_buf()
430 smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
993 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1636 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1644 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[all …]
Dsmb2ops.c327 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize()
352 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_wsize()
377 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize()
403 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_rsize()
563 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces()
636 int open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *pfid) in open_shroot()
798 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon()
840 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb2_qfs_tcon()
867 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
905 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
[all …]
Dinode.c349 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
372 struct cifs_tcon *tcon;
444 struct cifs_tcon *tcon;
563 struct cifs_tcon *tcon;
603 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
676 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
737 struct cifs_tcon *tcon;
1072 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
1203 struct cifs_tcon *tcon;
1344 struct cifs_tcon *tcon;
[all …]
Dcifs_debug.c87 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon()
148 struct cifs_tcon *tcon; in cifs_debug_files_proc_show()
166 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in cifs_debug_files_proc_show()
201 struct cifs_tcon *tcon; in cifs_debug_data_proc_show()
385 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
434 struct cifs_tcon *tcon; in cifs_stats_proc_write()
470 struct cifs_tcon, in cifs_stats_proc_write()
499 struct cifs_tcon *tcon; in cifs_stats_proc_show()
553 struct cifs_tcon, in cifs_stats_proc_show()
Dsmb2misc.c513 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp, in smb2_tcon_has_lease()
594 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
615 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
653 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
677 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
752 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
Dmisc.c110 struct cifs_tcon *
113 struct cifs_tcon *ret_buf; in tconInfoAlloc()
139 tconInfoFree(struct cifs_tcon *buf_to_free) in tconInfoFree()
244 const struct cifs_tcon *treeCon, int word_count in header_assemble()
405 struct cifs_tcon *tcon; in is_valid_oplock_break()
473 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break()
536 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
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()
Dxattr.c60 struct cifs_tcon *pTcon; in cifs_xattr_set()
209 struct cifs_tcon *pTcon; in cifs_xattr_get()
315 struct cifs_tcon *pTcon; in cifs_listxattr()
Dconnect.c399 struct cifs_tcon *tcon; in super_cb()
479 struct cifs_tcon *tcon; in cifs_reconnect()
534 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
2902 struct cifs_tcon *tcon; in cifs_setup_ipc()
2961 struct cifs_tcon *tcon = ses->tcon_ipc; in cifs_free_ipc()
3304 static int match_tcon(struct cifs_tcon *tcon, struct smb_vol *volume_info) in match_tcon()
3321 static struct cifs_tcon *
3325 struct cifs_tcon *tcon; in cifs_find_tcon()
3329 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon()
3341 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
[all …]
Dcifsfs.c154 struct cifs_tcon *tcon; in cifs_read_super()
256 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
286 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate()
469 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
622 struct cifs_tcon *tcon; in cifs_umount_begin()
935 struct cifs_tcon *tcon; in cifs_llseek()
1068 struct cifs_tcon *target_tcon; in cifs_remap_file_range()
1129 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range()
1130 struct cifs_tcon *target_tcon; in cifs_file_copychunk_range()
Dfile.c124 struct cifs_tcon *tcon; in cifs_posix_open()
177 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
300 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
404 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
498 struct cifs_tcon *tcon; in cifs_open()
628 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
656 struct cifs_tcon *tcon; in cifs_reopen_file()
820 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
860 struct cifs_tcon *tcon; in cifs_closedir()
1158 struct cifs_tcon *tcon; in cifs_push_mandatory_locks()
[all …]
Dsmb2file.c123 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range()
224 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks()
Dsmb2transport.c127 static struct cifs_tcon *
130 struct cifs_tcon *tcon; in smb2_find_smb_sess_tcon_unlocked()
147 struct cifs_tcon *
151 struct cifs_tcon *tcon; in smb2_find_smb_tcon()
Dcache.c94 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_check_aux()
Dreaddir.c275 struct cifs_tcon *tcon; in initiate_cifs_search()
572 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry()
793 struct cifs_tcon *tcon; in cifs_readdir()

12