Home
last modified time | relevance | path

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

12

/linux-4.19.296/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
219 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
220 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
235 extern void cifs_put_tcon(struct cifs_tcon *tcon);
258 const char *tree, struct cifs_tcon *tcon,
261 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
267 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
271 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsglob.h207 struct cifs_tcon;
255 void (*clear_stats)(struct cifs_tcon *);
256 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
257 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
273 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
275 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
283 struct cifs_tcon *, const struct nls_table *);
285 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
291 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
293 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.c443 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize()
478 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize()
519 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon()
526 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
548 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info()
598 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
619 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
626 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
652 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats()
689 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()
392 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
455 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
531 struct cifs_tcon *tcon; in cifs_hardlink()
621 struct cifs_tcon *tcon; in cifs_get_link()
677 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()
Dsmb2misc.c532 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
573 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
608 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
622 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
675 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
700 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
761 __smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in __smb2_handle_cancelled_close()
780 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
802 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
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()
323 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, void *buf, in fill_small_buf()
347 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
373 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
386 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
841 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1483 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1491 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[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 …]
Dsmb2ops.c276 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize()
301 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize()
463 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces()
535 int open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *pfid) in open_shroot()
615 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon()
659 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb2_qfs_tcon()
687 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
725 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
734 smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
840 smb2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_eas()
[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()
588 struct cifs_tcon *tcon; in cifs_create()
626 struct cifs_tcon *tcon; in cifs_mknod()
766 struct cifs_tcon *pTcon; in cifs_lookup()
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()
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()
332 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
381 struct cifs_tcon *tcon; in cifs_stats_proc_write()
411 struct cifs_tcon, in cifs_stats_proc_write()
440 struct cifs_tcon *tcon; in cifs_stats_proc_show()
483 struct cifs_tcon, in cifs_stats_proc_show()
Dinode.c345 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
368 struct cifs_tcon *tcon;
440 struct cifs_tcon *tcon;
559 struct cifs_tcon *tcon;
599 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
672 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
734 struct cifs_tcon *tcon;
1065 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
1196 struct cifs_tcon *tcon;
1337 struct cifs_tcon *tcon;
[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()
Dfile.c123 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()
497 struct cifs_tcon *tcon; in cifs_open()
627 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
655 struct cifs_tcon *tcon; in cifs_reopen_file()
826 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
866 struct cifs_tcon *tcon; in cifs_closedir()
1155 struct cifs_tcon *tcon; in cifs_push_mandatory_locks()
[all …]
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()
423 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
560 struct cifs_tcon *tcon; in cifs_umount_begin()
984 struct cifs_tcon *target_tcon; in cifs_clone_file_range()
1042 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range()
1043 struct cifs_tcon *target_tcon; in cifs_file_copychunk_range()
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()
Dsmb2file.c115 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range()
216 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks()
Dcache.c94 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_check_aux()
Dconnect.c385 struct cifs_tcon *tcon; in cifs_reconnect()
413 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
2643 struct cifs_tcon *tcon; in cifs_setup_ipc()
2701 struct cifs_tcon *tcon = ses->tcon_ipc; in cifs_free_ipc()
3048 static int match_tcon(struct cifs_tcon *tcon, struct smb_vol *volume_info) in match_tcon()
3063 static struct cifs_tcon *
3067 struct cifs_tcon *tcon; in cifs_find_tcon()
3071 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon()
3083 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
3136 static struct cifs_tcon *
[all …]
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