Home
last modified time | relevance | path

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

12

/fs/cifs/
Dsmb2proto.h42 extern struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
57 extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon,
61 extern int open_cached_dir_by_dentry(struct cifs_tcon *tcon,
69 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
72 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
76 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
82 umode_t mode, struct cifs_tcon *tcon,
86 umode_t mode, struct cifs_tcon *tcon,
90 struct cifs_tcon *tcon, const unsigned int xid);
91 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h75 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
243 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
244 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
268 extern void cifs_close_all_deferred_files(struct cifs_tcon *cifs_tcon);
270 extern void cifs_close_deferred_file_under_dentry(struct cifs_tcon *cifs_tcon,
276 extern void cifs_put_tcon(struct cifs_tcon *tcon);
[all …]
Dcifsglob.h198 struct cifs_tcon;
249 void (*clear_stats)(struct cifs_tcon *);
250 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
251 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
267 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
269 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
277 struct cifs_tcon *, const struct nls_table *);
279 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
285 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
288 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
[all …]
Dcifs_swn.h12 struct cifs_tcon;
17 extern int cifs_swn_register(struct cifs_tcon *tcon);
19 extern int cifs_swn_unregister(struct cifs_tcon *tcon);
43 static inline int cifs_swn_register(struct cifs_tcon *tcon) { return 0; } in cifs_swn_register()
44 static inline int cifs_swn_unregister(struct cifs_tcon *tcon) { return 0; } in cifs_swn_unregister()
Dsmb1ops.c432 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_wsize()
467 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_rsize()
508 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 …]
Dfscache.h54 extern void cifs_fscache_get_super_cookie(struct cifs_tcon *);
55 extern void cifs_fscache_release_super_cookie(struct cifs_tcon *);
138 static inline void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_get_super_cookie()
140 cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie()
Dsmb2inode.c50 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op()
510 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info()
570 smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb311_posix_query_path_info()
623 struct cifs_tcon *tcon, const char *name, in smb2_mkdir()
634 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo()
657 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir()
666 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink()
675 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr()
697 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, in smb2_rename_path()
710 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_create_hardlink()
[all …]
Dlink.c173 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
206 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink()
240 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
294 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
338 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
376 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
437 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
509 struct cifs_tcon *tcon; in cifs_hardlink()
609 struct cifs_tcon *tcon; in cifs_get_link()
675 struct cifs_tcon *pTcon; in cifs_symlink()
Ddir.c39 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root()
73 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry()
87 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix()
143 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name()
176 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_do_create()
415 struct cifs_tcon *tcon; in cifs_atomic_open()
533 struct cifs_tcon *tcon; in cifs_create()
575 struct cifs_tcon *tcon; in cifs_mknod()
619 struct cifs_tcon *pTcon; in cifs_lookup()
Dcifssmb.c70 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
100 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
246 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
298 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
324 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
337 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
586 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
730 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
807 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
851 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
[all …]
Dcifs_swn.c32 struct cifs_tcon *tcon;
35 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_krb()
46 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_ntlm()
252 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon) in cifs_find_swn_reg()
305 static struct cifs_swn_reg *cifs_get_swn_reg(struct cifs_tcon *tcon) in cifs_get_swn_reg()
475 static int cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) in cifs_swn_reconnect()
604 int cifs_swn_register(struct cifs_tcon *tcon) in cifs_swn_register()
622 int cifs_swn_unregister(struct cifs_tcon *tcon) in cifs_swn_unregister()
Dsmb2pdu.c73 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
88 const struct cifs_tcon *tcon, in smb2_hdr_assemble()
143 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect()
336 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf()
362 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
394 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
408 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
1071 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
1760 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
1768 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[all …]
Dinode.c348 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
374 struct cifs_tcon *tcon;
439 struct cifs_tcon *tcon;
556 struct cifs_tcon *tcon;
595 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
652 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
737 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
810 struct cifs_tcon *tcon,
849 struct cifs_tcon *tcon,
918 struct cifs_tcon *tcon;
[all …]
Dsmb2ops.c403 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
418 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
450 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
466 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
641 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces()
744 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir()
945 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, in open_cached_dir_by_dentry()
962 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
1006 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
1035 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
[all …]
Dsmb2misc.c526 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
565 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
599 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
660 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
730 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
757 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
778 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
815 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
Dfscache.c84 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
113 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
128 struct cifs_tcon *tcon) in cifs_fscache_acquire_inode_cookie()
151 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie()
213 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_reset_inode_cookie()
Dmisc.c103 struct cifs_tcon *
106 struct cifs_tcon *ret_buf; in tconInfoAlloc()
132 tconInfoFree(struct cifs_tcon *buf_to_free) in tconInfoFree()
234 const struct cifs_tcon *treeCon, int word_count in header_assemble()
400 struct cifs_tcon *tcon; in is_valid_oplock_break()
468 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break()
520 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
762 cifs_close_all_deferred_files(struct cifs_tcon *tcon) in cifs_close_all_deferred_files()
796 cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, const char *path) in cifs_close_deferred_file_under_dentry()
1210 struct cifs_tcon *tcon; in tcp_super_cb()
Dcifs_debug.c86 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon()
171 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()
223 struct cifs_tcon *tcon; in cifs_debug_data_proc_show()
437 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
497 struct cifs_tcon *tcon; in cifs_stats_proc_write()
533 struct cifs_tcon, in cifs_stats_proc_write()
562 struct cifs_tcon *tcon; in cifs_stats_proc_show()
614 struct cifs_tcon, in cifs_stats_proc_show()
Dxattr.c43 static int cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_attrib_set()
67 static int cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_creation_time_set()
102 struct cifs_tcon *pTcon; in cifs_xattr_set()
294 struct cifs_tcon *pTcon; in cifs_xattr_get()
413 struct cifs_tcon *pTcon; in cifs_listxattr()
Dconnect.c70 struct cifs_tcon *tcon;
174 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect()
193 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_mark_tcp_ses_conns_for_reconnect()
1641 struct cifs_tcon *tcon; in cifs_setup_ipc()
1701 struct cifs_tcon *tcon = ses->tcon_ipc; in cifs_free_ipc()
2080 static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in match_tcon()
2099 static struct cifs_tcon *
2103 struct cifs_tcon *tcon; in cifs_find_tcon()
2107 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon()
2120 cifs_put_tcon(struct cifs_tcon *tcon) in cifs_put_tcon()
[all …]
Dcifsfs.c159 struct cifs_tcon *tcon; in cifs_read_super()
258 struct cifs_tcon *tcon; in cifs_kill_sb()
297 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs()
327 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate()
518 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options()
700 struct cifs_tcon *tcon; in cifs_umount_begin()
737 struct cifs_tcon *tcon; in cifs_freeze()
1007 struct cifs_tcon *tcon; in cifs_llseek()
1143 struct cifs_tcon *target_tcon; in cifs_remap_file_range()
1206 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range()
[all …]
Dioctl.c31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info()
120 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo()
205 static int cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) in cifs_dump_full_key()
320 struct cifs_tcon *tcon; in cifs_ioctl()
Dfile.c113 struct cifs_tcon *tcon; in cifs_posix_open()
167 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
290 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
441 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
522 struct cifs_tcon *tcon; in cifs_open()
673 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
701 struct cifs_tcon *tcon; in cifs_reopen_file()
923 cifs_reopen_persistent_handles(struct cifs_tcon *tcon) in cifs_reopen_persistent_handles()
963 struct cifs_tcon *tcon; in cifs_closedir()
1255 struct cifs_tcon *tcon; in cifs_push_mandatory_locks()
[all …]
Dsmb2file.c109 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()
Dsmb2transport.c163 static struct cifs_tcon *
166 struct cifs_tcon *tcon; in smb2_find_smb_sess_tcon_unlocked()
183 struct cifs_tcon *
187 struct cifs_tcon *tcon; in smb2_find_smb_tcon()

12