Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dsmb2proto.h48 struct cifs_tcon *smb2_find_smb_tcon(struct TCP_Server_Info *server,
57 struct cifs_tcon *tcon,
61 int smb2_query_reparse_point(const unsigned int xid, struct cifs_tcon *tcon,
65 int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
68 int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
75 umode_t mode, struct cifs_tcon *tcon,
78 umode_t mode, struct cifs_tcon *tcon, const char *name,
81 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon,
83 int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
85 int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
H A Dcifsglob.h299 struct cifs_tcon;
350 void (*clear_stats)(struct cifs_tcon *);
351 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
352 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
371 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
373 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
382 struct cifs_tcon *, const struct nls_table *);
384 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
390 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
393 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *,
[all …]
H A Dcifsproto.h82 struct cifs_tcon *tcon, int add_treename);
144 int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
150 int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
152 int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode,
242 void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
243 void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
265 void cifs_close_all_deferred_files(struct cifs_tcon *tcon);
268 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon,
277 void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace);
288 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon);
[all …]
H A Dcifs_swn.c79 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_krb()
90 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_ntlm()
121 struct cifs_tcon *tcon) in cifs_swn_send_register_message()
225 struct cifs_tcon *tcon) in cifs_swn_send_unregister_message()
297 static bool cifs_swn_tcon_matches(struct cifs_tcon *tcon, in cifs_swn_tcon_matches()
341 static struct cifs_tcon *cifs_swn_get_tcon(struct cifs_swn_reg_info *swnreg) in cifs_swn_get_tcon()
345 struct cifs_tcon *tcon; in cifs_swn_get_tcon()
377 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon) in cifs_find_swn_reg()
430 static struct cifs_swn_reg *cifs_get_swn_reg(struct cifs_tcon *tcon) in cifs_get_swn_reg()
505 struct cifs_tcon *tcon) in cifs_put_swn_reg_locked()
[all …]
H A Dfscache.c26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency()
35 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie()
110 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie()
129 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_get_inode_cookie()
H A Dlink.c136 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink()
170 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink()
227 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink()
272 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink()
312 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink()
366 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink()
441 struct cifs_tcon *tcon;
542 struct cifs_tcon *pTcon;
H A Dmisc.c33 struct cifs_tcon *tcon;
120 struct cifs_tcon *
123 struct cifs_tcon *ret_buf; in tcon_info_alloc()
171 tconInfoFree(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in tconInfoFree()
286 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino()
539 cifs_close_all_deferred_files(struct cifs_tcon *tcon) in cifs_close_all_deferred_files()
580 struct cifs_tcon *tcon; in cifs_close_all_deferred_files_sb()
613 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, in cifs_close_deferred_file_under_dentry()
881 struct cifs_tcon *t1 = sd->data, *t2; in tcon_super_cb()
932 struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tcon) in cifs_get_dfs_tcon_super()
[all …]
H A Dcifssmb.c72 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon()
227 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init()
280 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init()
308 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init()
321 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect()
542 const char *tree, struct cifs_tcon *tcon, in CIFSTCon()
684 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis()
842 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile()
918 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile()
964 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBRmDir()
[all …]
H A Dsmb2ops.c493 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize()
508 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize()
543 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize()
559 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize()
829 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces()
883 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb3_qfs_tcon()
928 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in smb2_qfs_tcon()
959 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible()
1023 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum()
1031 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info()
[all …]
H A Dsmb2misc.c570 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease()
609 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease()
643 struct cifs_tcon *tcon; in smb2_is_valid_lease_break()
717 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break()
796 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
823 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd()
844 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close()
886 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
H A Dsmb2pdu.c77 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required()
95 const struct cifs_tcon *tcon, in smb2_hdr_assemble()
249 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect()
527 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf()
553 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init()
585 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init()
599 static int smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, in smb2_ioctl_req_init()
1353 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate()
2115 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc()
2123 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults()
[all …]
H A Dfile.c375 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid()
500 struct cifs_tcon *tcon; in cifs_posix_open()
554 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open()
678 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo()
810 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in serverclose_work()
871 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put()
971 struct cifs_tcon *tcon; in cifs_file_flush()
999 struct cifs_tcon *tcon; in cifs_do_truncate()
1062 struct cifs_tcon *tcon; in cifs_open()
1245 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file()
[all …]
H A Dreparse.c18 struct dentry *dentry, struct cifs_tcon *tcon,
23 struct dentry *dentry, struct cifs_tcon *tcon,
28 struct dentry *dentry, struct cifs_tcon *tcon,
38 struct dentry *dentry, struct cifs_tcon *tcon, in create_reparse_symlink()
54 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_symlink()
271 struct cifs_tcon *tcon; in detect_directory_symlink_target()
401 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_socket()
471 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_nfs()
673 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_wsl()
722 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_reparse()
H A Dcached_dir.c134 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir()
422 int open_cached_dir_by_dentry(struct cifs_tcon *tcon, in open_cached_dir_by_dentry()
482 void drop_cached_dir_by_name(const unsigned int xid, struct cifs_tcon *tcon, in drop_cached_dir_by_name()
550 struct cifs_tcon *tcon; in close_all_cached_dirs()
604 void invalidate_all_cached_dirs(struct cifs_tcon *tcon, bool sync) in invalidate_all_cached_dirs()
645 struct cifs_tcon *tcon = cfid->tcon; in cached_dir_offload_close()
670 bool cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break()
H A Dfs_context.h401 struct cifs_tcon *tcon) in cifs_negotiate_rsize()
413 struct cifs_tcon *tcon) in cifs_negotiate_wsize()
425 struct cifs_tcon *tcon) in cifs_negotiate_iosize()
H A Dconnect.c107 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces()
108 struct cifs_tcon, in smb2_query_server_interfaces()
208 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect()
2029 struct cifs_tcon *cifs_setup_ipc(struct cifs_ses *ses, bool seal) in cifs_setup_ipc()
2032 struct cifs_tcon *tcon; in cifs_setup_ipc()
2106 struct cifs_tcon *tcon; in __cifs_put_smb_ses()
2345 struct cifs_tcon *ipc; in cifs_get_smb_ses()
2542 static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in match_tcon()
2573 static struct cifs_tcon *
2576 struct cifs_tcon *tcon; in cifs_find_tcon()
[all …]
H A Ddfs.c206 struct cifs_tcon *tcon; in __dfs_mount_share()
337 struct cifs_tcon *tcon, in tree_connect_dfs_target()
386 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon) in cifs_tree_connect()
H A Ddfs.h133 struct cifs_tcon *tcon) in ref_walk_set_tcon()
H A Dreaddir.c353 struct cifs_tcon *tcon; in _initiate_cifs_search()
685 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry()
1061 struct cifs_tcon *tcon; in cifs_readdir()
H A Dcifsacl.c1585 struct cifs_tcon *tcon; in get_cifs_acl_by_path()
1649 struct cifs_tcon *tcon; in set_cifs_acl()
1880 struct cifs_tcon *pTcon; in cifs_get_acl()
1943 struct cifs_tcon *pTcon; in cifs_set_acl()