| /linux/fs/smb/client/ |
| H A D | smb2proto.h | 48 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 D | cifsglob.h | 298 struct cifs_tcon; 349 void (*clear_stats)(struct cifs_tcon *); 350 void (*print_stats)(struct seq_file *m, struct cifs_tcon *); 351 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *); 370 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx); 372 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx); 381 struct cifs_tcon *, const struct nls_table *); 383 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *); 389 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *, 392 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *, [all …]
|
| H A D | cifsproto.h | 81 struct cifs_tcon *tcon, int add_treename); 143 int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, 149 int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, 151 int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode, 241 void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 242 void cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 264 void cifs_close_all_deferred_files(struct cifs_tcon *tcon); 267 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, 276 void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace); 287 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon); [all …]
|
| H A D | smb1ops.c | 21 void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, in reset_cifs_unix_caps() 421 smb1_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_wsize() 456 smb1_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_rsize() 497 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() 505 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible() 527 struct cifs_tcon *tcon, in cifs_query_path_info() 734 static int cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in cifs_get_srv_inum() 760 static int cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_file_info() 786 cifs_clear_stats(struct cifs_tcon *tcon) in cifs_clear_stats() 812 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) in cifs_print_stats() [all …]
|
| H A D | fscache.c | 26 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() 114 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie() 133 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_get_inode_cookie()
|
| H A D | cifs_swn.c | 32 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() 249 static struct cifs_swn_reg *cifs_find_swn_reg(struct cifs_tcon *tcon) in cifs_find_swn_reg() 302 static struct cifs_swn_reg *cifs_get_swn_reg(struct cifs_tcon *tcon) in cifs_get_swn_reg() 459 static int cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) in cifs_swn_reconnect() 585 int cifs_swn_register(struct cifs_tcon *tcon) in cifs_swn_register() 603 int cifs_swn_unregister(struct cifs_tcon *tcon) in cifs_swn_unregister()
|
| H A D | link.c | 136 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() 375 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink() 450 struct cifs_tcon *tcon; 551 struct cifs_tcon *pTcon;
|
| H A D | misc.c | 33 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() 530 cifs_close_all_deferred_files(struct cifs_tcon *tcon) in cifs_close_all_deferred_files() 566 struct cifs_tcon *tcon; in cifs_close_all_deferred_files_sb() 599 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, in cifs_close_deferred_file_under_dentry() 838 struct cifs_tcon *t1 = sd->data, *t2; in tcon_super_cb() 889 struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tcon) in cifs_get_dfs_tcon_super() [all …]
|
| H A D | smb2misc.c | 534 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() 607 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() 681 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break() 760 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid() 787 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd() 808 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, in smb2_handle_cancelled_close() 850 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid()
|
| H A D | smb2ops.c | 493 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 D | dir.c | 40 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() 74 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() 142 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() 154 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() 212 struct cifs_tcon *tcon = tlink_tcon(tlink); 518 struct cifs_tcon *tcon; 650 struct cifs_tcon *tcon; 698 struct cifs_tcon *tcon; 749 struct cifs_tcon *pTcon; 912 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); [all …]
|
| H A D | ioctl.c | 30 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info() 116 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info() 130 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() 170 struct cifs_tcon *tcon; in cifs_shutdown() 236 static int cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) in cifs_dump_full_key() 355 struct cifs_tcon *tcon; in cifs_ioctl()
|
| H A D | file.c | 369 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() 494 struct cifs_tcon *tcon; in cifs_posix_open() 548 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() 672 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo() 804 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in serverclose_work() 865 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in _cifsFileInfo_put() 957 struct cifs_tcon *tcon; in cifs_file_flush() 985 struct cifs_tcon *tcon; in cifs_do_truncate() 1023 struct cifs_tcon *tcon; in cifs_open() 1206 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_relock_file() [all …]
|
| H A D | smb2pdu.c | 77 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() 1327 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate() 2089 static inline void cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) in cifs_stats_fail_inc() 2097 static inline void init_copy_chunk_defaults(struct cifs_tcon *tcon) in init_copy_chunk_defaults() [all …]
|
| H A D | smb2inode.c | 175 static void set_next_compound(struct cifs_tcon *tcon, in set_next_compound() 200 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() 840 struct cifs_tcon *tcon, in smb2_query_path_info() 1017 struct cifs_tcon *tcon, const char *name, in smb2_mkdir() 1032 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, in smb2_mkdir_setinfo() 1060 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_rmdir() 1075 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in smb2_unlink() 1187 static int smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_path_attr() 1219 struct cifs_tcon *tcon, in smb2_rename_path() 1244 static int clear_tmpfile_attr(const unsigned int xid, struct cifs_tcon *tcon, in clear_tmpfile_attr() [all …]
|
| H A D | xattr.c | 45 static int cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_attrib_set() 69 static int cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, in cifs_creation_time_set() 104 struct cifs_tcon *pTcon; in cifs_xattr_set() 280 struct cifs_tcon *pTcon; in cifs_xattr_get() 394 struct cifs_tcon *pTcon; in cifs_listxattr()
|
| H A D | inode.c | 44 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_set_ops() 400 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() 436 struct cifs_tcon *tcon; in cifs_get_unix_fattr() 524 struct cifs_tcon *tcon; in cifs_sfu_type() 712 struct cifs_tcon *tcon; in cifs_sfu_mode() 834 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in smb311_posix_info_to_fattr() 892 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_open_info_to_fattr() 971 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info() 1062 struct cifs_tcon *tcon, in cifs_backup_query_path_info() 1100 static void cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, in cifs_set_fattr_ino() [all …]
|
| H A D | reparse.c | 18 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() 256 struct cifs_tcon *tcon; in detect_directory_symlink_target() 386 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_socket() 456 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_nfs() 658 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_wsl() 707 struct dentry *dentry, struct cifs_tcon *tcon, in mknod_reparse()
|
| H A D | reparse.h | 134 struct dentry *dentry, struct cifs_tcon *tcon, 137 struct cifs_tcon *tcon, const char *full_path, umode_t mode,
|
| H A D | cached_dir.c | 134 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 D | dfs_cache.c | 1096 static bool target_share_equal(struct cifs_tcon *tcon, const char *s1) in target_share_equal() 1123 static bool is_ses_good(struct cifs_tcon *tcon, struct cifs_ses *ses) in is_ses_good() 1126 struct cifs_tcon *ipc = NULL; in is_ses_good() 1179 static void refresh_ses_referral(struct cifs_tcon *tcon, struct cifs_ses *ses) in refresh_ses_referral() 1211 static int __refresh_tcon_referral(struct cifs_tcon *tcon, in __refresh_tcon_referral() 1253 static void refresh_tcon_referral(struct cifs_tcon *tcon, bool force_refresh) in refresh_tcon_referral() 1312 struct cifs_tcon *tcon; in dfs_cache_remount_fs() 1345 struct cifs_tcon *tcon; in dfs_cache_refresh() 1348 tcon = container_of(work, struct cifs_tcon, dfs_cache_work.work); in dfs_cache_refresh()
|
| H A D | fs_context.h | 401 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 D | connect.c | 106 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces() 107 struct cifs_tcon, in smb2_query_server_interfaces() 207 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect() 2023 struct cifs_tcon *cifs_setup_ipc(struct cifs_ses *ses, bool seal) in cifs_setup_ipc() 2026 struct cifs_tcon *tcon; in cifs_setup_ipc() 2100 struct cifs_tcon *tcon; in __cifs_put_smb_ses() 2339 struct cifs_tcon *ipc; in cifs_get_smb_ses() 2536 static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in match_tcon() 2567 static struct cifs_tcon * 2570 struct cifs_tcon *tcon; in cifs_find_tcon() [all …]
|
| H A D | cifsfs.c | 196 struct cifs_tcon *tcon; in cifs_read_super() 324 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs() 364 struct cifs_tcon *tcon = cifs_sb_master_tcon(CIFS_SB(file)); in cifs_fallocate() 609 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options() 815 struct cifs_tcon *tcon; in cifs_umount_begin() 859 struct cifs_tcon *tcon; in cifs_freeze() 1072 struct cifs_tcon *tcon; in cifs_llseek() 1233 struct cifs_tcon *src_tcon, in cifs_precopy_set_eof() 1305 struct cifs_tcon *target_tcon, *src_tcon; in cifs_remap_file_range() 1432 struct cifs_tcon *src_tcon; in cifs_file_copychunk_range() [all …]
|
| H A D | namespace.c | 123 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in is_dfs_mount() 136 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in automount_fullpath()
|