Home
last modified time | relevance | path

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

12

/fs/cifs/
Dcifsproto.h66 struct cifs_tcon *tcon);
100 struct cifs_tcon *ptcon,
120 const struct cifs_tcon *, int /* length of
195 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
196 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
211 extern void cifs_put_tcon(struct cifs_tcon *tcon);
234 const char *tree, struct cifs_tcon *tcon,
237 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
243 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
247 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dsmb2proto.h53 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
66 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
70 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
75 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
79 struct cifs_tcon *tcon, const unsigned int xid);
80 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
82 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
84 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
87 extern int smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon,
90 extern int smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsglob.h198 struct cifs_tcon;
238 void (*clear_stats)(struct cifs_tcon *);
239 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
240 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
255 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
257 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
265 struct cifs_tcon *, const struct nls_table *);
267 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
273 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
275 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()
128 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info()
164 smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
174 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
194 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
203 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
212 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
233 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path()
242 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_create_hardlink()
251 smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_size()
Dsmb1ops.c439 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize()
474 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize()
515 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon()
522 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible()
544 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info()
594 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum()
615 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info()
622 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats()
650 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 …]
Dsmb2ops.c240 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize()
256 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize()
273 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces()
301 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon()
335 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb2_qfs_tcon()
363 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
395 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
404 smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
430 smb2_clear_stats(struct cifs_tcon *tcon) in smb2_clear_stats()
442 smb2_dump_share_caps(struct seq_file *m, struct cifs_tcon *tcon) in smb2_dump_share_caps()
[all …]
Dfscache.h43 extern void cifs_fscache_get_super_cookie(struct cifs_tcon *);
44 extern void cifs_fscache_release_super_cookie(struct cifs_tcon *);
110 static inline void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_get_super_cookie()
112 cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
Dlink.c204 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
237 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink()
271 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
325 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
369 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
412 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
474 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
549 struct cifs_tcon *tcon; in cifs_hardlink()
639 struct cifs_tcon *tcon; in cifs_get_link()
695 struct cifs_tcon *pTcon; in cifs_symlink()
Dmisc.c109 struct cifs_tcon *
112 struct cifs_tcon *ret_buf; in tconInfoAlloc()
113 ret_buf = kzalloc(sizeof(struct cifs_tcon), GFP_KERNEL); in tconInfoAlloc()
129 tconInfoFree(struct cifs_tcon *buf_to_free) in tconInfoFree()
237 const struct cifs_tcon *treeCon, int word_count in header_assemble()
398 struct cifs_tcon *tcon; in is_valid_oplock_break()
458 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break()
Dsmb2pdu.c83 const struct cifs_tcon *tcon) in smb2_hdr_assemble()
156 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon) in smb2_reconnect()
298 small_smb2_init(__le16 smb2_command, struct cifs_tcon *tcon, in small_smb2_init()
523 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1056 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1064 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
1073 struct cifs_tcon *tcon, const struct nls_table *cp) in SMB2_tcon()
1201 SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon) in SMB2_tdis()
1481 struct cifs_tcon *tcon = oparms->tcon; in SMB2_open()
1622 SMB2_ioctl(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, in SMB2_ioctl()
[all …]
Dcifssmb.c94 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
116 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
234 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
286 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
312 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
325 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
650 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
790 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
866 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
912 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
[all …]
Dioctl.c44 struct cifs_tcon *src_tcon; in cifs_file_clone_range()
45 struct cifs_tcon *target_tcon; in cifs_file_clone_range()
141 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
185 struct cifs_tcon *tcon; in cifs_ioctl()
Dsmb2misc.c463 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp, in smb2_tcon_has_lease()
532 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
553 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
579 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
603 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break()
678 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
Dinode.c340 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
363 struct cifs_tcon *tcon;
433 struct cifs_tcon *tcon;
550 struct cifs_tcon *tcon;
590 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
662 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
724 struct cifs_tcon *tcon;
1037 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
1169 struct cifs_tcon *tcon;
1310 struct cifs_tcon *tcon;
[all …]
Dcifs_debug.c116 struct cifs_tcon *tcon; in cifs_debug_data_proc_show()
188 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
263 struct cifs_tcon *tcon; in cifs_stats_proc_write()
280 struct cifs_tcon, in cifs_stats_proc_write()
302 struct cifs_tcon *tcon; in cifs_stats_proc_show()
339 struct cifs_tcon, in cifs_stats_proc_show()
Ddir.c50 struct cifs_tcon *tcon) in cifs_build_path_to_root()
91 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry()
191 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
224 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_do_create()
463 struct cifs_tcon *tcon; in cifs_atomic_open()
579 struct cifs_tcon *tcon; in cifs_create()
617 struct cifs_tcon *tcon; in cifs_mknod()
757 struct cifs_tcon *pTcon; in cifs_lookup()
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 …]
Dfscache.c43 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
54 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
65 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie()
Dcache.c149 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_super_get_key()
176 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_get_aux()
195 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_check_aux()
Dxattr.c52 struct cifs_tcon *pTcon; in cifs_xattr_set()
205 struct cifs_tcon *pTcon; in cifs_xattr_get()
312 struct cifs_tcon *pTcon; in cifs_listxattr()
Dconnect.c323 struct cifs_tcon *tcon; in cifs_reconnect()
353 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
2615 static int match_tcon(struct cifs_tcon *tcon, const char *unc) in match_tcon()
2624 static struct cifs_tcon *
2628 struct cifs_tcon *tcon; in cifs_find_tcon()
2632 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon()
2644 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
2669 static struct cifs_tcon *
2673 struct cifs_tcon *tcon; in cifs_get_tcon()
2868 struct cifs_tcon *tcon; in cifs_match_super()
[all …]
Dsmb2transport.c143 static struct cifs_tcon *
146 struct cifs_tcon *tcon; in smb2_find_smb_sess_tcon_unlocked()
163 struct cifs_tcon *
167 struct cifs_tcon *tcon; in smb2_find_smb_tcon()
Dcifsfs.c122 struct cifs_tcon *tcon; in cifs_read_super()
189 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
217 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate()
400 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
527 struct cifs_tcon *tcon; in cifs_umount_begin()
931 struct cifs_tcon *target_tcon = tlink_tcon(smb_file_target->tlink); in cifs_clone_file_range()
Dsmb2file.c116 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range()
215 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks()
Dreaddir.c275 struct cifs_tcon *tcon; in initiate_cifs_search()
565 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry()
778 struct cifs_tcon *tcon; in cifs_readdir()

12