Home
last modified time | relevance | path

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

12

/Linux-v4.19/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,
87 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
91 struct cifs_tcon *tcon, const unsigned int xid);
92 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
94 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
96 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h74 struct cifs_tcon *tcon,
121 struct cifs_tcon *ptcon,
141 const struct cifs_tcon *, int /* length of
218 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
219 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
234 extern void cifs_put_tcon(struct cifs_tcon *tcon);
257 const char *tree, struct cifs_tcon *tcon,
260 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
266 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
270 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsglob.h207 struct cifs_tcon;
253 void (*clear_stats)(struct cifs_tcon *);
254 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
255 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
270 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
272 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
280 struct cifs_tcon *, const struct nls_table *);
282 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
288 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
290 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
[all …]
Dsmb2inode.c41 smb2_open_op_close(const unsigned int xid, struct cifs_tcon *tcon, in smb2_open_op_close()
144 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info()
180 smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
190 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
210 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
219 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
228 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
249 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path()
258 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_create_hardlink()
267 smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_size()
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.c442 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize()
477 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize()
518 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon()
525 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
547 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info()
597 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
618 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
625 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
651 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats()
688 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()
673 struct cifs_tcon *pTcon; in cifs_symlink()
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()
Dsmb2pdu.c83 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
98 const struct cifs_tcon *tcon) in smb2_hdr_assemble()
156 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon) in smb2_reconnect()
314 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, void *buf, in fill_small_buf()
339 smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
804 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1432 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1440 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
1449 struct cifs_tcon *tcon, const struct nls_table *cp) in SMB2_tcon()
1574 SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon) in SMB2_tdis()
[all …]
Dsmb2ops.c248 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize()
273 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize()
434 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces()
506 int open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *pfid) in open_shroot()
542 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon()
586 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb2_qfs_tcon()
614 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
652 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
661 smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
765 smb2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_eas()
[all …]
Dcifssmb.c95 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
123 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
261 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
313 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
339 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
352 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
685 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
828 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
904 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
950 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
[all …]
Ddir.c50 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root()
85 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry()
102 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix()
202 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
235 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_do_create()
473 struct cifs_tcon *tcon; in cifs_atomic_open()
589 struct cifs_tcon *tcon; in cifs_create()
627 struct cifs_tcon *tcon; in cifs_mknod()
767 struct cifs_tcon *pTcon; in cifs_lookup()
Dsmb2misc.c513 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp, in smb2_tcon_has_lease()
583 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
604 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
642 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
666 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
741 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
Dcifs_debug.c97 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon()
154 struct cifs_tcon *tcon; in cifs_debug_data_proc_show()
327 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
376 struct cifs_tcon *tcon; in cifs_stats_proc_write()
403 struct cifs_tcon, in cifs_stats_proc_write()
432 struct cifs_tcon *tcon; in cifs_stats_proc_show()
475 struct cifs_tcon, in cifs_stats_proc_show()
Dmisc.c110 struct cifs_tcon *
113 struct cifs_tcon *ret_buf; in tconInfoAlloc()
114 ret_buf = kzalloc(sizeof(struct cifs_tcon), GFP_KERNEL); in tconInfoAlloc()
131 tconInfoFree(struct cifs_tcon *buf_to_free) in tconInfoFree()
233 const struct cifs_tcon *treeCon, int word_count in header_assemble()
394 struct cifs_tcon *tcon; in is_valid_oplock_break()
462 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break()
Dinode.c345 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
368 struct cifs_tcon *tcon;
438 struct cifs_tcon *tcon;
557 struct cifs_tcon *tcon;
597 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
670 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
732 struct cifs_tcon *tcon;
1046 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
1177 struct cifs_tcon *tcon;
1318 struct cifs_tcon *tcon;
[all …]
Dfile.c123 struct cifs_tcon *tcon; in cifs_posix_open()
176 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
286 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
369 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in cifsFileInfo_put()
459 struct cifs_tcon *tcon; in cifs_open()
589 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
617 struct cifs_tcon *tcon; in cifs_reopen_file()
780 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
820 struct cifs_tcon *tcon; in cifs_closedir()
1109 struct cifs_tcon *tcon; in cifs_push_mandatory_locks()
[all …]
Dxattr.c60 struct cifs_tcon *pTcon; in cifs_xattr_set()
211 struct cifs_tcon *pTcon; in cifs_xattr_get()
319 struct cifs_tcon *pTcon; in cifs_listxattr()
Dioctl.c86 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
128 struct cifs_tcon *tcon; in cifs_ioctl()
Dcifsfs.c133 struct cifs_tcon *tcon; in cifs_read_super()
208 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
238 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate()
422 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
557 struct cifs_tcon *tcon; in cifs_umount_begin()
985 struct cifs_tcon *target_tcon = tlink_tcon(smb_file_target->tlink); in cifs_clone_file_range()
1040 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range()
1041 struct cifs_tcon *target_tcon; in cifs_file_copychunk_range()
Dconnect.c334 struct cifs_tcon *tcon; in cifs_reconnect()
362 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
2534 struct cifs_tcon *tcon; in cifs_setup_ipc()
2592 struct cifs_tcon *tcon = ses->tcon_ipc; in cifs_free_ipc()
2915 static int match_tcon(struct cifs_tcon *tcon, struct smb_vol *volume_info) in match_tcon()
2928 static struct cifs_tcon *
2932 struct cifs_tcon *tcon; in cifs_find_tcon()
2936 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon()
2948 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
3001 static struct cifs_tcon *
[all …]
Dsmb2file.c115 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range()
214 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()
786 struct cifs_tcon *tcon; in cifs_readdir()

12