| /linux/fs/smb/client/ |
| H A D | fscache.c | 26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency() argument 30 cd->resource_id = cpu_to_le64(tcon->resource_id); in cifs_fscache_fill_volume_coherency() 31 cd->vol_create_time = tcon->vol_create_time; in cifs_fscache_fill_volume_coherency() 32 cd->vol_serial_number = cpu_to_le32(tcon->vol_serial_number); in cifs_fscache_fill_volume_coherency() 35 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument 38 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie() 45 if (tcon->fscache_acquired) in cifs_fscache_get_super_cookie() 48 mutex_lock(&tcon->fscache_lock); in cifs_fscache_get_super_cookie() 49 if (tcon->fscache_acquired) { in cifs_fscache_get_super_cookie() 50 mutex_unlock(&tcon->fscache_lock); in cifs_fscache_get_super_cookie() [all …]
|
| H A D | cifs_swn.c | 79 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_krb() argument 90 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_ntlm() argument 94 if (tcon->ses->user_name != NULL) { in cifs_swn_auth_info_ntlm() 95 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name); in cifs_swn_auth_info_ntlm() 100 if (tcon->ses->password != NULL) { in cifs_swn_auth_info_ntlm() 101 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_PASSWORD, tcon->ses->password); in cifs_swn_auth_info_ntlm() 106 if (tcon->ses->domainName != NULL) { in cifs_swn_auth_info_ntlm() 107 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName); in cifs_swn_auth_info_ntlm() 121 struct cifs_tcon *tcon) in cifs_swn_send_register_message() argument 157 if (tcon->ses->server->use_swn_dstaddr) in cifs_swn_send_register_message() [all …]
|
| H A D | dfs.c | 79 * release it as any new DFS referrals must go through its IPC tcon. in set_root_smb_session() 283 struct cifs_tcon *tcon; in dfs_mount_share() 301 else if (WARN_ON(!mnt_ctx->tcon)) in dfs_mount_share() 307 tcon = mnt_ctx->tcon; in dfs_mount_share() 308 spin_lock(&tcon->tc_lock); in dfs_mount_share() 309 tcon->origin_fullpath = origin_fullpath; in dfs_mount_share() 311 ref_walk_set_tcon(rw, tcon); 312 spin_unlock(&tcon->tc_lock); in target_share_matches_server() 313 queue_delayed_work(dfscache_wq, &tcon in target_share_matches_server() 206 struct cifs_tcon *tcon; __dfs_mount_share() local 337 tree_connect_dfs_target(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,char * tree,bool islink,struct dfs_cache_tgt_list * tl) tree_connect_dfs_target() argument 386 cifs_tree_connect(const unsigned int xid,struct cifs_tcon * tcon) cifs_tree_connect() argument [all...] |
| H A D | smb2proto.h | 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, 88 int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, [all...] |
| H A D | smb2inode.c | 189 static void set_next_compound(struct cifs_tcon *tcon, in set_next_compound() argument 197 smb2_set_next_command(tcon, &rqst[*num_rqst]); in set_next_compound() 211 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, 223 struct cifs_ses *ses = tcon->ses; in smb2_compound_op() 256 if (smb3_encryption_required(tcon)) in smb2_compound_op() 298 rc = SMB2_open_init(tcon, server, in smb2_compound_op() 305 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 323 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 332 set_next_compound(tcon, cfile, i, num_cmds, rqst, &num_rqst); in smb2_compound_op() 333 trace_smb3_query_info_compound_enter(xid, tcon in smb2_compound_op() 214 smb2_compound_op(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,struct cifs_open_parms * oparms,struct kvec * in_iov,int * cmds,int num_cmds,struct cifsFileInfo * cfile,struct kvec * out_iov,int * out_buftype,struct dentry * dentry) smb2_compound_op() argument 868 smb2_query_path_info(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,struct cifs_open_info_data * data) smb2_query_path_info() argument 1053 smb2_mkdir(const unsigned int xid,struct inode * parent_inode,umode_t mode,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb) smb2_mkdir() argument 1068 smb2_mkdir_setinfo(struct inode * inode,const char * name,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,const unsigned int xid) smb2_mkdir_setinfo() argument 1096 smb2_rmdir(const unsigned int xid,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb) smb2_rmdir() argument 1111 smb2_unlink(const unsigned int xid,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb,struct dentry * dentry) smb2_unlink() argument 1223 smb2_set_path_attr(const unsigned int xid,struct cifs_tcon * tcon,const char * from_name,const char * to_name,struct cifs_sb_info * cifs_sb,__u32 create_options,__u32 access,int command,struct cifsFileInfo * cfile,struct dentry * dentry) smb2_set_path_attr() argument 1255 smb2_rename_path(const unsigned int xid,struct cifs_tcon * tcon,struct dentry * source_dentry,const char * from_name,const char * to_name,struct cifs_sb_info * cifs_sb) smb2_rename_path() argument 1280 clear_tmpfile_attr(const unsigned int xid,struct cifs_tcon * tcon,struct inode * inode,const char * full_path) clear_tmpfile_attr() argument 1295 smb2_create_hardlink(const unsigned int xid,struct cifs_tcon * tcon,struct dentry * source_dentry,const char * from_name,const char * to_name,struct cifs_sb_info * cifs_sb) smb2_create_hardlink() argument 1319 smb2_set_path_size(const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,__u64 size,struct cifs_sb_info * cifs_sb,bool set_alloc,struct dentry * dentry) smb2_set_path_size() argument 1362 struct cifs_tcon *tcon; smb2_set_file_info() local 1392 smb2_create_reparse_inode(struct cifs_open_info_data * data,struct super_block * sb,const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,bool directory,struct kvec * reparse_iov,struct kvec * xattr_iov) smb2_create_reparse_inode() argument 1472 smb2_query_reparse_point(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,u32 * tag,struct kvec * rsp,int * rsp_buftype) smb2_query_reparse_point() argument 1540 struct cifs_tcon *tcon; smb2_rename_pending_delete() local [all...] |
| H A D | link.c | 137 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() 153 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 154 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink() 170 int cifs_check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument 175 struct TCP_Server_Info *server = tcon->ses->server; in check_mf_symlink() 192 rc = server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink() 228 struct cifs_tcon *tcon, in cifs_query_mf_symlink() 243 .tcon = tcon, in cifs_query_mf_symlink() 136 create_mf_symlink(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * fromName,const char * toName) create_mf_symlink() argument 227 cifs_query_mf_symlink(unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const unsigned char * path,char * pbuf,unsigned int * pbytes_read) cifs_query_mf_symlink() argument 272 cifs_create_mf_symlink(unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const unsigned char * path,char * pbuf,unsigned int * pbytes_written) cifs_create_mf_symlink() argument 312 smb3_query_mf_symlink(unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const unsigned char * path,char * pbuf,unsigned int * pbytes_read) smb3_query_mf_symlink() argument 366 smb3_create_mf_symlink(unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const unsigned char * path,char * pbuf,unsigned int * pbytes_written) smb3_create_mf_symlink() argument 441 struct cifs_tcon *tcon; global() local [all...] |
| H A D | smb2pdu.c | 77 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 79 if (!tcon || !tcon->ses) in smb3_encryption_required() 81 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 82 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 84 if (tcon->seal && in smb3_encryption_required() 85 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 88 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 95 const struct cifs_tcon *tcon, in smb2_hdr_assemble() argument 133 if (!tcon) in smb2_hdr_assemble() 250 smb2_reconnect(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,bool from_reconnect) smb2_reconnect() argument 528 fill_small_buf(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void * buf,unsigned int * total_len) fill_small_buf() argument 554 __smb2_plain_req_init(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) __smb2_plain_req_init() argument 586 smb2_plain_req_init(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) smb2_plain_req_init() argument 600 smb2_ioctl_req_init(u32 opcode,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) smb2_ioctl_req_init() argument 1354 smb3_validate_negotiate(const unsigned int xid,struct cifs_tcon * tcon) smb3_validate_negotiate() argument 2116 cifs_stats_fail_inc(struct cifs_tcon * tcon,uint16_t code) cifs_stats_fail_inc() argument 2124 init_copy_chunk_defaults(struct cifs_tcon * tcon) init_copy_chunk_defaults() argument 2133 SMB2_tcon(const unsigned int xid,struct cifs_ses * ses,const char * tree,struct cifs_tcon * tcon,const struct nls_table * cp) SMB2_tcon() argument 2272 SMB2_tdis(const unsigned int xid,struct cifs_tcon * tcon) SMB2_tdis() argument 2946 smb311_posix_mkdir(const unsigned int xid,struct inode * inode,umode_t mode,struct cifs_tcon * tcon,const char * full_path,struct cifs_sb_info * cifs_sb) smb311_posix_mkdir() argument 3135 SMB2_open_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,__u8 * oplock,struct cifs_open_parms * oparms,__le16 * path) SMB2_open_init() argument 3324 struct cifs_tcon *tcon = oparms->tcon; SMB2_open() local 3438 SMB2_ioctl_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u32 opcode,char * in_data,u32 indatalen,__u32 max_response_size) SMB2_ioctl_init() argument 3544 SMB2_ioctl(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 opcode,char * in_data,u32 indatalen,u32 max_out_data_len,char ** out_data,u32 * plen) SMB2_ioctl() argument 3691 SMB2_set_compression(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,__u16 compression_state) SMB2_set_compression() argument 3713 SMB2_close_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,bool query_attrs) SMB2_close_init() argument 3747 __SMB2_close(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb2_file_network_open_info * pbuf) __SMB2_close() argument 3844 SMB2_close(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid) SMB2_close() argument 3906 SMB2_query_info_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u8 info_class,u8 info_type,u32 additional_info,size_t output_len,size_t input_len,void * input) SMB2_query_info_init() argument 3955 query_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u8 info_class,u8 info_type,u32 additional_info,size_t output_len,size_t min_len,void ** data,u32 * dlen) query_info() argument 4063 SMB2_query_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb2_file_all_info * data) SMB2_query_info() argument 4074 SMB2_query_acl(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,void ** data,u32 * plen,u32 extra_info) SMB2_query_acl() argument 4086 SMB2_get_srv_num(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,__le64 * uniqueid) SMB2_get_srv_num() argument 4103 SMB2_notify_init(const unsigned int xid,struct smb_rqst * rqst,struct cifs_tcon * tcon,struct TCP_Server_Info * server,u64 persistent_fid,u64 volatile_fid,u32 completion_filter,bool watch_tree) SMB2_notify_init() argument 4135 SMB2_change_notify(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,bool watch_tree,u32 completion_filter,u32 max_out_data_len,char ** out_data,u32 * plen) SMB2_change_notify() argument 4260 cifs_renegotiate_iosize(struct TCP_Server_Info * server,struct cifs_tcon * tcon) cifs_renegotiate_iosize() argument 4279 struct cifs_tcon *tcon, *tcon2; smb2_reconnect_server() local 4459 SMB2_flush_init(const unsigned int xid,struct smb_rqst * rqst,struct cifs_tcon * tcon,struct TCP_Server_Info * server,u64 persistent_fid,u64 volatile_fid) SMB2_flush_init() argument 4482 SMB2_flush(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid) SMB2_flush() argument 4554 struct cifs_tcon *tcon = io_parms->tcon; smb3_use_rdma_offload() local 4688 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); smb2_readv_callback() local 4852 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); smb2_async_readv() local 5033 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); smb2_writev_callback() local 5168 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); smb2_async_writev() local 5600 SMB2_query_directory_init(const unsigned int xid,struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,int index,int info_level) SMB2_query_directory_init() argument 5680 smb2_parse_query_directory(struct cifs_tcon * tcon,struct kvec * rsp_iov,int resp_buftype,struct cifs_search_info * srch_inf) smb2_parse_query_directory() argument 5763 SMB2_query_directory(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,int index,struct cifs_search_info * srch_inf) SMB2_query_directory() argument 5853 SMB2_set_info_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u32 pid,u8 info_class,u8 info_type,u32 additional_info,void ** data,unsigned int * size) SMB2_set_info_init() argument 5903 send_set_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 pid,u8 info_class,u8 info_type,u32 additional_info,unsigned int num,void ** data,unsigned int * size) send_set_info() argument 5980 SMB2_set_eof(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 pid,loff_t new_eof) SMB2_set_eof() argument 6000 SMB2_set_allocation(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 pid,loff_t allocation_size) SMB2_set_allocation() argument 6019 SMB2_set_acl(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb_ntsd * pnntsd,int pacllen,int aclflag) SMB2_set_acl() argument 6029 SMB2_set_ea(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb2_file_full_ea_info * buf,int len) SMB2_set_ea() argument 6039 SMB2_oplock_break(const unsigned int xid,struct cifs_tcon * tcon,const u64 persistent_fid,const u64 volatile_fid,__u8 oplock_level) SMB2_oplock_break() argument 6137 build_qfs_info_req(struct kvec * iov,struct cifs_tcon * tcon,struct TCP_Server_Info * server,int level,int outbuf_len,u64 persistent_fid,u64 volatile_fid) build_qfs_info_req() argument 6177 SMB311_posix_qfs_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct kstatfs * fsdata) SMB311_posix_qfs_info() argument 6246 SMB2_QFS_attr(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,int level) SMB2_QFS_attr() argument 6349 smb2_lockv(const unsigned int xid,struct cifs_tcon * tcon,const __u64 persist_fid,const __u64 volatile_fid,const __u32 pid,const __u32 num_lock,struct smb2_lock_element * buf) smb2_lockv() argument 6438 SMB2_lock(const unsigned int xid,struct cifs_tcon * tcon,const __u64 persist_fid,const __u64 volatile_fid,const __u32 pid,const __u64 length,const __u64 offset,const __u32 lock_flags,const bool wait) SMB2_lock() argument 6455 SMB2_lease_break(const unsigned int xid,struct cifs_tcon * tcon,__u8 * lease_key,const __le32 lease_state) SMB2_lease_break() argument [all...] |
| H A D | smb2misc.c | 599 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() 609 list_for_each_entry(cfile, &tcon->openFileList, tlist) { in smb2_tcon_has_lease() 638 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() 647 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease() 672 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() 689 /* look up tcon based on tid & uid */ in smb2_is_valid_lease_break() 694 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break() 695 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break() 697 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break() 698 if (smb2_tcon_has_lease(tcon, rs in smb2_is_valid_lease_break() 583 smb2_tcon_has_lease(struct cifs_tcon * tcon,struct smb2_lease_break * rsp) smb2_tcon_has_lease() argument 622 smb2_tcon_find_pending_open_lease(struct cifs_tcon * tcon,struct smb2_lease_break * rsp) smb2_tcon_find_pending_open_lease() argument 656 struct cifs_tcon *tcon; smb2_is_valid_lease_break() local 730 struct cifs_tcon *tcon; smb2_is_valid_oplock_break() local 809 struct cifs_tcon *tcon = cancelled->tcon; smb2_cancelled_close_fid() local 836 __smb2_handle_cancelled_cmd(struct cifs_tcon * tcon,__u16 cmd,__u64 mid,__u64 persistent_fid,__u64 volatile_fid,bool account_remote_open) __smb2_handle_cancelled_cmd() argument 860 smb2_handle_cancelled_close(struct cifs_tcon * tcon,__u64 persistent_fid,__u64 volatile_fid) smb2_handle_cancelled_close() argument 902 struct cifs_tcon *tcon; smb2_handle_cancelled_mid() local [all...] |
| H A D | connect.c | 107 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces() local 110 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces() 119 rc = server->ops->query_server_interfaces(xid, tcon, false); in smb2_query_server_interfaces() 126 queue_delayed_work(cifsiod_wq, &tcon->query_interfaces, in smb2_query_server_interfaces() 217 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect() 276 /* If all channels need reconnect, then tcon needs reconnect */ in cifs_mark_tcp_ses_conns_for_reconnect() 287 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in cifs_mark_tcp_ses_conns_for_reconnect() 288 tcon->need_reconnect = true; in cifs_mark_tcp_ses_conns_for_reconnect() 289 spin_lock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect() 290 tcon in cifs_mark_tcp_ses_conns_for_reconnect() 214 struct cifs_tcon *tcon; cifs_mark_tcp_ses_conns_for_reconnect() local 2041 struct cifs_tcon *tcon; cifs_setup_ipc() local 2115 struct cifs_tcon *tcon; __cifs_put_smb_ses() local 2551 match_tcon(struct cifs_tcon * tcon,struct smb3_fs_context * ctx) match_tcon() argument 2585 struct cifs_tcon *tcon; cifs_find_tcon() local 2606 cifs_put_tcon(struct cifs_tcon * tcon,enum smb3_tcon_ref_trace trace) cifs_put_tcon() argument 2693 struct cifs_tcon *tcon; cifs_get_tcon() local 2985 match_prepath(struct super_block * sb,struct cifs_tcon * tcon,struct cifs_mnt_data * mnt_data) match_prepath() argument 3016 struct cifs_tcon *tcon; cifs_match_super() local 3612 struct cifs_tcon *tcon = NULL; cifs_mount_get_tcon() local 3698 mount_setup_tlink(struct cifs_sb_info * cifs_sb,struct cifs_ses * ses,struct cifs_tcon * tcon) mount_setup_tlink() argument 3730 cifs_are_all_path_components_accessible(struct TCP_Server_Info * server,unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,char * full_path,int added_treename) cifs_are_all_path_components_accessible() argument 3785 struct cifs_tcon *tcon = mnt_ctx->tcon; cifs_is_path_remote() local 3989 struct cifs_tcon *tcon = NULL; cifs_umount() local 4230 struct cifs_tcon *tcon = NULL; cifs_construct_tcon() local 4516 cifs_tree_connect(const unsigned int xid,struct cifs_tcon * tcon) cifs_tree_connect() argument [all...] |
| H A D | smb2ops.c | 499 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize() 501 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() 514 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize() 516 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize() 549 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize() 551 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize() 565 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize() 567 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize() 835 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces() 840 struct cifs_ses *ses = tcon in SMB3_request_interfaces() 493 smb2_negotiate_wsize(struct cifs_tcon * tcon,struct smb3_fs_context * ctx) smb2_negotiate_wsize() argument 508 smb3_negotiate_wsize(struct cifs_tcon * tcon,struct smb3_fs_context * ctx) smb3_negotiate_wsize() argument 543 smb2_negotiate_rsize(struct cifs_tcon * tcon,struct smb3_fs_context * ctx) smb2_negotiate_rsize() argument 559 smb3_negotiate_rsize(struct cifs_tcon * tcon,struct smb3_fs_context * ctx) smb3_negotiate_rsize() argument 829 SMB3_request_interfaces(const unsigned int xid,struct cifs_tcon * tcon,bool in_mount) SMB3_request_interfaces() argument 883 smb3_qfs_tcon(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb) smb3_qfs_tcon() argument 928 smb2_qfs_tcon(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb) smb2_qfs_tcon() argument 959 smb2_is_path_accessible(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path) smb2_is_path_accessible() argument 1023 smb2_get_srv_inum(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,u64 * uniqueid,struct cifs_open_info_data * data) smb2_get_srv_inum() argument 1031 smb2_query_file_info(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,struct cifs_open_info_data * data) smb2_query_file_info() argument 1141 smb2_query_eas(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * path,const unsigned char * ea_name,char * ea_data,size_t buf_size,struct cifs_sb_info * cifs_sb) smb2_query_eas() argument 1190 smb2_set_ea(const unsigned int xid,struct cifs_tcon * tcon,const char * path,const char * ea_name,const void * ea_value,const __u16 ea_value_len,const struct nls_table * nls_codepage,struct cifs_sb_info * cifs_sb) smb2_set_ea() argument 1384 smb2_clear_stats(struct cifs_tcon * tcon) smb2_clear_stats() argument 1395 smb2_dump_share_caps(struct seq_file * m,struct cifs_tcon * tcon) smb2_dump_share_caps() argument 1428 smb2_print_stats(struct seq_file * m,struct cifs_tcon * tcon) smb2_print_stats() argument 1508 smb2_close_file(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid) smb2_close_file() argument 1515 smb2_close_getattr(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile) smb2_close_getattr() argument 1554 SMB2_request_res_key(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct copychunk_ioctl_req * pcchunk) SMB2_request_res_key() argument 1587 smb2_ioctl_query_info(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,__le16 * path,int is_dir,unsigned long p) smb2_ioctl_query_info() argument 1856 calc_chunk_count(struct cifs_tcon * tcon,u64 bytes_left,u32 chunk_size) calc_chunk_count() argument 1901 struct cifs_tcon *tcon; __smb2_copychunk_range() local 2159 smb2_flush_file(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid) smb2_flush_file() argument 2207 smb2_set_sparse(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,struct inode * inode,__u8 setsparse) smb2_set_sparse() argument 2254 smb2_set_file_size(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,__u64 size,bool set_alloc) smb2_set_file_size() argument 2289 struct cifs_tcon *tcon = tlink_tcon(trgtfile->tlink); smb2_duplicate_extents() local 2370 smb2_set_compression(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,__u16 compression_state) smb2_set_compression() argument 2378 smb3_set_integrity(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile) smb3_set_integrity() argument 2408 smb3_enum_snapshots(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,void __user * ioc_buf) smb3_enum_snapshots() argument 2508 struct cifs_tcon *tcon; smb3_notify() local 2581 smb2_query_dir_first(const unsigned int xid,struct cifs_tcon * tcon,const char * path,struct cifs_sb_info * cifs_sb,struct cifs_fid * fid,__u16 search_flags,struct cifs_search_info * srch_inf) smb2_query_dir_first() argument 2723 smb2_query_dir_next(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid,__u16 search_flags,struct cifs_search_info * srch_inf) smb2_query_dir_next() argument 2732 smb2_close_dir(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid) smb2_close_dir() argument 2804 struct cifs_tcon *tcon; smb2_is_network_name_deleted() local 2833 smb2_oplock_response(struct cifs_tcon * tcon,__u64 persistent_fid,__u64 volatile_fid,__u16 net_fid,struct cifsInodeInfo * cinode,unsigned int oplock) smb2_oplock_response() argument 2880 smb2_set_next_command(struct cifs_tcon * tcon,struct smb_rqst * rqst) smb2_set_next_command() argument 2930 smb2_should_replay(struct cifs_tcon * tcon,int * pretries,int * pcur_sleep) smb2_should_replay() argument 2957 smb2_query_info_compound(const unsigned int xid,struct cifs_tcon * tcon,const char * path,u32 desired_access,u32 class,u32 type,u32 output_len,struct kvec * rsp,int * buftype,struct cifs_sb_info * cifs_sb) smb2_query_info_compound() argument 3117 smb2_queryfs(const unsigned int xid,struct cifs_tcon * tcon,const char * path,struct cifs_sb_info * cifs_sb,struct kstatfs * buf) smb2_queryfs() argument 3154 smb311_queryfs(const unsigned int xid,struct cifs_tcon * tcon,const char * path,struct cifs_sb_info * cifs_sb,struct kstatfs * buf) smb311_queryfs() argument 3238 struct cifs_tcon *tcon; smb2_get_dfs_refer() local 3372 struct cifs_tcon *tcon; get_smb2_acl_by_path() local 3437 struct cifs_tcon *tcon; set_smb2_acl() local 3507 smb3_zero_data(struct file * file,struct cifs_tcon * tcon,loff_t offset,loff_t len,unsigned int xid) smb3_zero_data() argument 3526 query_server_eof(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,unsigned long long * eof) query_server_eof() argument 3540 smb3_zero_range(struct file * file,struct cifs_tcon * tcon,unsigned long long offset,unsigned long long len,bool keep_size) smb3_zero_range() argument 3632 smb3_punch_hole(struct file * file,struct cifs_tcon * tcon,loff_t offset,loff_t len) smb3_punch_hole() argument 3711 smb3_simple_fallocate_write_range(unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,loff_t off,loff_t len,char * buf) smb3_simple_fallocate_write_range() argument 3749 smb3_simple_fallocate_range(unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,loff_t off,loff_t len,loff_t old_eof) smb3_simple_fallocate_range() argument 3871 smb3_simple_falloc(struct file * file,struct cifs_tcon * tcon,loff_t off,loff_t len,bool keep_size) smb3_simple_falloc() argument 4094 smb3_collapse_range(struct file * file,struct cifs_tcon * tcon,loff_t off,loff_t len) smb3_collapse_range() argument 4158 smb3_insert_range(struct file * file,struct cifs_tcon * tcon,loff_t off,loff_t len) smb3_insert_range() argument 4238 smb3_llseek(struct file * file,struct cifs_tcon * tcon,loff_t offset,int whence) smb3_llseek() argument 4322 smb3_fiemap(struct cifs_tcon * tcon,struct cifsFileInfo * cfile,struct fiemap_extent_info * fei,u64 start,u64 len) smb3_fiemap() argument 4397 smb3_fallocate(struct file * file,struct cifs_tcon * tcon,int mode,loff_t off,loff_t len) smb3_fallocate() argument 5595 __cifs_sfu_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev,const char * symname) __cifs_sfu_make_node() argument 5714 cifs_sfu_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) cifs_sfu_make_node() argument 5741 smb2_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) smb2_make_node() argument [all...] |
| H A D | dir.c | 40 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() argument 53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root() 62 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root() 74 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local 75 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry() 138 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local 140 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name, in build_path_from_dentry_optional_prefix() 150 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument 155 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name() 157 le32_to_cpu(tcon in check_name() 208 struct cifs_tcon *tcon = tlink_tcon(tlink); global() local 528 struct cifs_tcon *tcon; global() local 682 struct cifs_tcon *tcon; global() local 731 struct cifs_tcon *tcon; global() local 945 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); global() local 1101 struct cifs_tcon *tcon; global() local [all...] |
| H A D | inode.c | 31 static void cifs_invalidate_cached_dir(struct cifs_tcon *tcon, in cifs_invalidate_cached_dir() argument 36 if (!tcon || !parent) in cifs_invalidate_cached_dir() 39 if (!open_cached_dir_by_dentry(tcon, parent, &parent_cfid)) { in cifs_invalidate_cached_dir() 61 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_set_ops() local 86 if (tcon->ses->server->max_read < PAGE_SIZE + MAX_CIFS_HDR_SIZE) in cifs_set_ops() 91 if (tcon->ses->server->sign || in cifs_set_ops() 92 (tcon->ses->server->compression.enabled && in cifs_set_ops() 93 (tcon->share_flags & SMB2_SHAREFLAG_COMPRESS_DATA))) in cifs_set_ops() 423 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() 435 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfil in cifs_get_file_info_unix() 421 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_get_file_info_unix() local 457 struct cifs_tcon *tcon; cifs_get_unix_fattr() local 545 struct cifs_tcon *tcon; cifs_sfu_type() local 733 struct cifs_tcon *tcon; cifs_sfu_mode() local 855 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); smb311_posix_info_to_fattr() local 918 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_open_info_to_fattr() local 999 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_get_file_info() local 1090 cifs_backup_query_path_info(int xid,struct cifs_tcon * tcon,struct super_block * sb,const char * full_path,void ** resp_buf,FILE_ALL_INFO ** data) cifs_backup_query_path_info() argument 1128 cifs_set_fattr_ino(int xid,struct cifs_tcon * tcon,struct super_block * sb,struct inode ** inode,const char * full_path,struct cifs_open_info_data * data,struct cifs_fattr * fattr) cifs_set_fattr_ino() argument 1186 reparse_info_to_fattr(struct cifs_open_info_data * data,struct super_block * sb,const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,struct cifs_fattr * fattr) reparse_info_to_fattr() argument 1295 struct cifs_tcon *tcon; cifs_get_fattr() local 1484 struct cifs_tcon *tcon; smb311_posix_get_fattr() local 1683 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_root_iget() local 1829 struct cifs_tcon *tcon; cifs_rename_pending_delete() local 1973 struct cifs_tcon *tcon; __cifs_unlink() local 2130 cifs_mkdir_qinfo(struct inode * parent,struct dentry * dentry,umode_t mode,const char * full_path,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,const unsigned int xid) global() argument 2225 cifs_posix_mkdir(struct inode * inode,struct dentry * dentry,umode_t mode,const char * full_path,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,const unsigned int xid) global() argument 2293 struct cifs_tcon *tcon; global() local 2378 struct cifs_tcon *tcon; global() local 2461 struct cifs_tcon *tcon; global() local 2545 struct cifs_tcon *tcon; global() local 2739 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); global() local 2946 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); global() local 3023 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); global() local 3113 struct cifs_tcon *tcon = NULL; global() local [all...] |
| H A D | cifssmb.c | 70 /* reconnect the socket, tcon, and smb session if needed */ 72 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument 80 * SMBs NegProt, SessSetup, uLogoff do not have tcon yet so check for in cifs_reconnect_tcon() 84 if (!tcon) in cifs_reconnect_tcon() 87 aborts = atomic_read(&tcon->umount_aborts); in cifs_reconnect_tcon() 89 ses = tcon->ses; in cifs_reconnect_tcon() 94 * have tcon) are allowed as we start umount in cifs_reconnect_tcon() 96 spin_lock(&tcon->tc_lock); in cifs_reconnect_tcon() 97 if (tcon->status == TID_EXITING) { in cifs_reconnect_tcon() 99 spin_unlock(&tcon in cifs_reconnect_tcon() 227 small_smb_init(int smb_command,int wct,struct cifs_tcon * tcon,void ** request_buf) small_smb_init() argument 280 __smb_init(int smb_command,int wct,struct cifs_tcon * tcon,void ** request_buf,void ** response_buf) __smb_init() argument 308 smb_init(int smb_command,int wct,struct cifs_tcon * tcon,void ** request_buf,void ** response_buf) smb_init() argument 321 smb_init_no_reconnect(int smb_command,int wct,struct cifs_tcon * tcon,void ** request_buf,void ** response_buf) smb_init_no_reconnect() argument 542 CIFSTCon(const unsigned int xid,struct cifs_ses * ses,const char * tree,struct cifs_tcon * tcon,const struct nls_table * nls_codepage) CIFSTCon() argument 684 CIFSSMBTDis(const unsigned int xid,struct cifs_tcon * tcon) CIFSSMBTDis() argument 842 CIFSPOSIXDelFile(const unsigned int xid,struct cifs_tcon * tcon,const char * fileName,__u16 type,const struct nls_table * nls_codepage,int remap) CIFSPOSIXDelFile() argument 918 CIFSSMBDelFile(const unsigned int xid,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb,struct dentry * dentry) CIFSSMBDelFile() argument 964 CIFSSMBRmDir(const unsigned int xid,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb) CIFSSMBRmDir() argument 1010 CIFSSMBMkDir(const unsigned int xid,struct inode * inode,umode_t mode,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb) CIFSSMBMkDir() argument 1055 CIFSPOSIXCreate(const unsigned int xid,struct cifs_tcon * tcon,__u32 posix_flags,__u64 mode,__u16 * netfid,FILE_UNIX_BASIC_INFO * pRetData,__u32 * pOplock,const char * name,const struct nls_table * nls_codepage,int remap) CIFSPOSIXCreate() argument 1239 SMBLegacyOpen(const unsigned int xid,struct cifs_tcon * tcon,const char * fileName,const int openDisposition,const int access_flags,const int create_options,__u16 * netfid,int * pOplock,FILE_ALL_INFO * pfile_info,const struct nls_table * nls_codepage,int remap) SMBLegacyOpen() argument 1355 struct cifs_tcon *tcon = oparms->tcon; CIFS_open() local 1473 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); cifs_readv_callback() local 1587 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); cifs_async_readv() local 1665 struct cifs_tcon *tcon = io_parms->tcon; CIFSSMBRead() local 1794 struct cifs_tcon *tcon = io_parms->tcon; CIFSSMBWrite() local 1913 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); cifs_writev_callback() local 1991 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); cifs_async_writev() local 2079 struct cifs_tcon *tcon = io_parms->tcon; CIFSSMBWrite2() local 2176 cifs_lockv(const unsigned int xid,struct cifs_tcon * tcon,const __u16 netfid,const __u8 lock_type,const __u32 num_unlock,const __u32 num_lock,LOCKING_ANDX_RANGE * buf) cifs_lockv() argument 2224 CIFSSMBLock(const unsigned int xid,struct cifs_tcon * tcon,const __u16 smb_file_id,const __u32 netpid,const __u64 len,const __u64 offset,const __u32 numUnlock,const __u32 numLock,const __u8 lockType,const bool waitFlag,const __u8 oplock_level) CIFSSMBLock() argument 2296 CIFSSMBPosixLock(const unsigned int xid,struct cifs_tcon * tcon,const __u16 smb_file_id,const __u32 netpid,const loff_t start_offset,const __u64 len,struct file_lock * pLockData,const __u16 lock_type,const bool waitFlag) CIFSSMBPosixLock() argument 2430 CIFSSMBClose(const unsigned int xid,struct cifs_tcon * tcon,int smb_file_id) CIFSSMBClose() argument 2467 CIFSSMBFlush(const unsigned int xid,struct cifs_tcon * tcon,int smb_file_id) CIFSSMBFlush() argument 2491 CIFSSMBRename(const unsigned int xid,struct cifs_tcon * tcon,struct dentry * source_dentry,const char * from_name,const char * to_name,struct cifs_sb_info * cifs_sb) CIFSSMBRename() argument 2643 CIFSUnixCreateSymLink(const unsigned int xid,struct cifs_tcon * tcon,const char * fromName,const char * toName,const struct nls_table * nls_codepage,int remap) CIFSUnixCreateSymLink() argument 2731 CIFSUnixCreateHardLink(const unsigned int xid,struct cifs_tcon * tcon,const char * fromName,const char * toName,const struct nls_table * nls_codepage,int remap) CIFSUnixCreateHardLink() argument 2815 CIFSCreateHardLink(const unsigned int xid,struct cifs_tcon * tcon,struct dentry * source_dentry,const char * from_name,const char * to_name,struct cifs_sb_info * cifs_sb) CIFSCreateHardLink() argument 2887 CIFSSMBUnixQuerySymLink(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * searchName,char ** symlinkinfo,const struct nls_table * nls_codepage,int remap) CIFSSMBUnixQuerySymLink() argument 2983 cifs_query_reparse_point(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,u32 * tag,struct kvec * rsp,int * rsp_buftype) cifs_query_reparse_point() argument 3116 cifs_create_reparse_inode(struct cifs_open_info_data * data,struct super_block * sb,const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,bool directory,struct kvec * reparse_iov,struct kvec * xattr_iov) cifs_create_reparse_inode() argument 3237 CIFSSMB_set_compression(const unsigned int xid,struct cifs_tcon * tcon,__u16 fid,__u16 compression_state) CIFSSMB_set_compression() argument 3467 cifs_do_get_acl(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * searchName,struct posix_acl ** acl,const int acl_type,const struct nls_table * nls_codepage,int remap) cifs_do_get_acl() argument 3561 cifs_do_set_acl(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * fileName,const struct posix_acl * acl,const int acl_type,const struct nls_table * nls_codepage,int remap) cifs_do_set_acl() argument 3647 cifs_do_get_acl(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * searchName,struct posix_acl ** acl,const int acl_type,const struct nls_table * nls_codepage,int remap) cifs_do_get_acl() argument 3655 cifs_do_set_acl(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * fileName,const struct posix_acl * acl,const int acl_type,const struct nls_table * nls_codepage,int remap) cifs_do_set_acl() argument 3665 CIFSGetExtAttr(const unsigned int xid,struct cifs_tcon * tcon,const int netfid,__u64 * pExtAttrBits,__u64 * pMask) CIFSGetExtAttr() argument 3761 smb_init_nttransact(const __u16 sub_command,const int setup_count,const int parm_len,struct cifs_tcon * tcon,void ** ret_buf) smb_init_nttransact() argument 3845 CIFSSMBGetCIFSACL(const unsigned int xid,struct cifs_tcon * tcon,__u16 fid,struct smb_ntsd ** acl_inf,__u32 * pbuflen,__u32 info) CIFSSMBGetCIFSACL() argument 3937 CIFSSMBSetCIFSACL(const unsigned int xid,struct cifs_tcon * tcon,__u16 fid,struct smb_ntsd * pntsd,__u32 acllen,int aclflag) CIFSSMBSetCIFSACL() argument 4003 SMBQueryInformation(const unsigned int xid,struct cifs_tcon * tcon,const char * search_name,FILE_ALL_INFO * data,const struct nls_table * nls_codepage,int remap) SMBQueryInformation() argument 4073 CIFSSMBQFileInfo(const unsigned int xid,struct cifs_tcon * tcon,u16 netfid,FILE_ALL_INFO * pFindData) CIFSSMBQFileInfo() argument 4145 CIFSSMBQPathInfo(const unsigned int xid,struct cifs_tcon * tcon,const char * search_name,FILE_ALL_INFO * data,int legacy,const struct nls_table * nls_codepage,int remap) CIFSSMBQPathInfo() argument 4249 CIFSSMBUnixQFileInfo(const unsigned int xid,struct cifs_tcon * tcon,u16 netfid,FILE_UNIX_BASIC_INFO * pFindData) CIFSSMBUnixQFileInfo() argument 4320 CIFSSMBUnixQPathInfo(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * searchName,FILE_UNIX_BASIC_INFO * pFindData,const struct nls_table * nls_codepage,int remap) CIFSSMBUnixQPathInfo() argument 4405 CIFSFindFirst(const unsigned int xid,struct cifs_tcon * tcon,const char * searchName,struct cifs_sb_info * cifs_sb,__u16 * pnetfid,__u16 search_flags,struct cifs_search_info * psrch_inf,bool msearch) CIFSFindFirst() argument 4558 CIFSFindNext(const unsigned int xid,struct cifs_tcon * tcon,__u16 searchHandle,__u16 search_flags,struct cifs_search_info * psrch_inf) CIFSFindNext() argument 4686 CIFSFindClose(const unsigned int xid,struct cifs_tcon * tcon,const __u16 searchHandle) CIFSFindClose() argument 4721 CIFSGetSrvInodeNumber(const unsigned int xid,struct cifs_tcon * tcon,const char * search_name,__u64 * inode_number,const struct nls_table * nls_codepage,int remap) CIFSGetSrvInodeNumber() argument 4935 SMBOldQFSInfo(const unsigned int xid,struct cifs_tcon * tcon,struct kstatfs * FSData) SMBOldQFSInfo() argument 5025 CIFSSMBQFSInfo(const unsigned int xid,struct cifs_tcon * tcon,struct kstatfs * FSData) CIFSSMBQFSInfo() argument 5115 CIFSSMBQFSAttributeInfo(const unsigned int xid,struct cifs_tcon * tcon) CIFSSMBQFSAttributeInfo() argument 5188 CIFSSMBQFSDeviceInfo(const unsigned int xid,struct cifs_tcon * tcon) CIFSSMBQFSDeviceInfo() argument 5263 CIFSSMBQFSUnixInfo(const unsigned int xid,struct cifs_tcon * tcon) CIFSSMBQFSUnixInfo() argument 5336 CIFSSMBSetFSUnixInfo(const unsigned int xid,struct cifs_tcon * tcon,__u64 cap) CIFSSMBSetFSUnixInfo() argument 5411 CIFSSMBQFSPosixInfo(const unsigned int xid,struct cifs_tcon * tcon,struct kstatfs * FSData) CIFSSMBQFSPosixInfo() argument 5514 CIFSSMBSetEOF(const unsigned int xid,struct cifs_tcon * tcon,const char * file_name,__u64 size,struct cifs_sb_info * cifs_sb,bool set_allocation,struct dentry * dentry) CIFSSMBSetEOF() argument 5605 CIFSSMBSetFileSize(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,__u64 size,bool set_allocation) CIFSSMBSetFileSize() argument 5683 SMBSetInformation(const unsigned int xid,struct cifs_tcon * tcon,const char * fileName,__le32 attributes,__le64 write_time,const struct nls_table * nls_codepage,struct cifs_sb_info * cifs_sb) SMBSetInformation() argument 5748 CIFSSMBSetFileInfo(const unsigned int xid,struct cifs_tcon * tcon,const FILE_BASIC_INFO * data,__u16 fid,__u32 pid_of_opener) CIFSSMBSetFileInfo() argument 5813 CIFSSMBSetFileDisposition(const unsigned int xid,struct cifs_tcon * tcon,bool delete_file,__u16 fid,__u32 pid_of_opener) CIFSSMBSetFileDisposition() argument 5870 CIFSSMBSetPathInfo(const unsigned int xid,struct cifs_tcon * tcon,const char * fileName,const FILE_BASIC_INFO * data,const struct nls_table * nls_codepage,struct cifs_sb_info * cifs_sb) CIFSSMBSetPathInfo() argument 5998 CIFSSMBUnixSetFileInfo(const unsigned int xid,struct cifs_tcon * tcon,const struct cifs_unix_set_info_args * args,u16 fid,u32 pid_of_opener) CIFSSMBUnixSetFileInfo() argument 6064 CIFSSMBUnixSetPathInfo(const unsigned int xid,struct cifs_tcon * tcon,const char * file_name,const struct cifs_unix_set_info_args * args,const struct nls_table * nls_codepage,int remap) CIFSSMBUnixSetPathInfo() argument 6150 CIFSSMBQAllEAs(const unsigned int xid,struct cifs_tcon * tcon,const unsigned char * searchName,const unsigned char * ea_name,char * EAData,size_t buf_size,struct cifs_sb_info * cifs_sb) CIFSSMBQAllEAs() argument 6341 CIFSSMBSetEA(const unsigned int xid,struct cifs_tcon * tcon,const char * fileName,const char * ea_name,const void * ea_value,const __u16 ea_value_len,const struct nls_table * nls_codepage,struct cifs_sb_info * cifs_sb) CIFSSMBSetEA() argument [all...] |
| H A D | cifsfs.c | 198 struct cifs_tcon *tcon; in cifs_read_super() local 205 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super() 211 if (tcon->snapshot_time) in cifs_read_super() 214 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super() 226 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super() 227 ((tcon->ses->capabilities & in cifs_read_super() 228 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super() 229 !tcon->unix_ext) { in cifs_read_super() 257 tcon in cifs_read_super() 340 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_statfs() local 380 struct cifs_tcon *tcon = cifs_sb_master_tcon(CIFS_SB(file)); cifs_fallocate() local 627 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_show_options() local 835 struct cifs_tcon *tcon; cifs_umount_begin() local 879 struct cifs_tcon *tcon; cifs_freeze() local 1100 struct cifs_tcon *tcon; cifs_llseek() local 1196 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); cifs_fileattr_get() local [all...] |
| H A D | file.c | 62 struct cifs_tcon *tcon) in cifs_prepare_write() 64 struct TCP_Server_Info *server = tcon->ses->server; in cifs_prepare_write() 67 if (tcon->retry) in cifs_prepare_write() 78 struct cifs_tcon *tcon = tlink_tcon(subreq->req->cfile->tlink); in cifs_prepare_write() 83 if (cifs_writeback_retry_expired(subreq, tcon)) in cifs_prepare_write() 88 return smb2_should_replay(tcon, &subreq->retries, &subreq->cur_sleep); in cifs_prepare_write() 93 struct cifs_tcon *tcon = tlink_tcon(subreq->req->cfile->tlink); in cifs_prepare_write() 99 tcon->need_reconnect; in cifs_prepare_write() 147 static bool cifs_tcon_reconnecting(struct cifs_tcon *tcon) in cifs_netfs_invalidate_cache() 149 struct cifs_ses *ses = tcon in cifs_netfs_invalidate_cache() 375 cifs_mark_open_files_invalid(struct cifs_tcon * tcon) cifs_mark_open_files_invalid() argument 500 struct cifs_tcon *tcon; cifs_posix_open() local 554 cifs_nt_open(const char * full_path,struct inode * inode,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,unsigned int f_flags,__u32 * oplock,struct cifs_fid * fid,unsigned int xid,struct cifs_open_info_data * buf) cifs_nt_open() argument 678 struct cifs_tcon *tcon = tlink_tcon(tlink); cifs_new_fileinfo() local 810 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); serverclose_work() local 871 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); _cifsFileInfo_put() local 971 struct cifs_tcon *tcon; cifs_file_flush() local 999 struct cifs_tcon *tcon; cifs_do_truncate() local 1065 struct cifs_tcon *tcon; cifs_open() local 1248 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_relock_file() local 1281 struct cifs_tcon *tcon; cifs_reopen_file() local 1490 struct cifs_tcon *tcon; cifs_close() local 1547 cifs_reopen_persistent_handles(struct cifs_tcon * tcon) cifs_reopen_persistent_handles() argument 1582 struct cifs_tcon *tcon; cifs_closedir() local 1792 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_lock_add_if() local 1886 struct cifs_tcon *tcon; cifs_push_mandatory_locks() local 1978 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_push_posix_locks() local 2069 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_push_locks() local 2151 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_getlk() local 2224 cifs_get_hardlink_path(struct cifs_tcon * tcon,struct inode * inode,struct file * file) cifs_get_hardlink_path() argument 2270 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_unlock_range() local 2378 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_setlk() local 2472 struct cifs_tcon *tcon; cifs_flock() local 2521 struct cifs_tcon *tcon; cifs_lock() local 2811 cifs_get_writable_path(struct cifs_tcon * tcon,const char * name,struct inode * inode,int flags,struct cifsFileInfo ** ret_file) cifs_get_writable_path() argument 2848 cifs_get_readable_path(struct cifs_tcon * tcon,const char * name,struct cifsFileInfo ** ret_file) cifs_get_readable_path() argument 2917 struct cifs_tcon *tcon; cifs_fsync() local 3031 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_strict_writev() local 3145 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); cifs_strict_readv() local 3348 struct cifs_tcon *tcon; cifs_oplock_break() local [all...] |
| H A D | cached_dir.c | 135 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir() argument 164 if (tcon == NULL) in open_cached_dir() 167 ses = tcon->ses; in open_cached_dir() 168 cfids = tcon->cfids; in open_cached_dir() 187 cfid = find_or_create_cached_dir(cfids, path, lookup_only, tcon->max_cached_dirs); in open_cached_dir() 251 cfid->tcon = tcon; in open_cached_dir() 260 if (smb3_encryption_required(tcon)) in open_cached_dir() 275 .tcon = tcon, in open_cached_dir() 434 open_cached_dir_by_dentry(struct cifs_tcon * tcon,struct dentry * dentry,struct cached_fid ** ret_cfid) open_cached_dir_by_dentry() argument 494 drop_cached_dir_by_name(const unsigned int xid,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb) drop_cached_dir_by_name() argument 562 struct cifs_tcon *tcon; close_all_cached_dirs() local 616 invalidate_all_cached_dirs(struct cifs_tcon * tcon,bool sync) invalidate_all_cached_dirs() argument 657 struct cifs_tcon *tcon = cfid->tcon; cached_dir_offload_close() local 682 cached_dir_lease_break(struct cifs_tcon * tcon,__u8 lease_key[16]) cached_dir_lease_break() argument [all...] |
| H A D | misc.c | 33 struct cifs_tcon *tcon; member 171 tconInfoFree(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in tconInfoFree() argument 173 if (tcon == NULL) { in tconInfoFree() 177 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, trace); in tconInfoFree() 178 free_cached_dirs(tcon->cfids); in tconInfoFree() 180 kfree(tcon->nativeFileSystem); in tconInfoFree() 181 kfree_sensitive(tcon->password); in tconInfoFree() 182 kfree(tcon->origin_fullpath); in tconInfoFree() 183 kfree(tcon); in tconInfoFree() 286 struct cifs_tcon *tcon = NULL; cifs_autodisable_serverino() local 540 cifs_close_all_deferred_files(struct cifs_tcon * tcon) cifs_close_all_deferred_files() argument 581 struct cifs_tcon *tcon; cifs_close_all_deferred_files_sb() local 614 cifs_close_deferred_file_under_dentry(struct cifs_tcon * tcon,struct dentry * dentry) cifs_close_deferred_file_under_dentry() argument 940 cifs_get_dfs_tcon_super(struct cifs_tcon * tcon) cifs_get_dfs_tcon_super() argument 1009 cifs_inval_name_dfs_link_error(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,bool * islink) cifs_inval_name_dfs_link_error() argument [all...] |
| H A D | cifsglob.h | 372 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx); 374 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx); 400 struct cifs_tcon *tcon, 405 int (*query_file_info)(const unsigned int xid, struct cifs_tcon *tcon, 409 struct cifs_tcon *tcon, 415 int (*get_srv_inum)(const unsigned int xid, struct cifs_tcon *tcon, 436 umode_t mode, struct cifs_tcon *tcon, 440 struct cifs_tcon *tcon, const char *name, 457 struct cifs_tcon *tcon, 463 struct cifs_tcon *tcon, 1402 struct cifs_tcon *tcon; global() member 1479 struct cifs_tcon *tcon; global() member 1658 cifs_stats_bytes_written(struct cifs_tcon * tcon,unsigned int bytes) cifs_stats_bytes_written() argument 1668 cifs_stats_bytes_read(struct cifs_tcon * tcon,unsigned int bytes) cifs_stats_bytes_read() argument 1747 struct cifs_tcon *tcon; global() member 1821 struct cifs_tcon *tcon; global() member 2191 is_tcon_dfs(struct cifs_tcon * tcon) is_tcon_dfs() argument 2206 cifs_is_referral_server(struct cifs_tcon * tcon,const struct dfs_info3_param * ref) cifs_is_referral_server() argument 2322 CIFS_REPARSE_SUPPORT(tcon) global() argument [all...] |
| H A D | cifsproto.h | 82 struct cifs_tcon *tcon, int add_treename); 148 int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, 154 int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, 156 int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode, 246 void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 247 bool cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 269 void cifs_close_all_deferred_files(struct cifs_tcon *tcon); 272 void cifs_close_deferred_file_under_dentry(struct cifs_tcon *tcon, 281 void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace); 292 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon); 422 cifs_inval_name_dfs_link_error(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,bool * islink) cifs_inval_name_dfs_link_error() argument [all...] |
| H A D | reparse.c | 19 struct dentry *dentry, struct cifs_tcon *tcon, 24 struct dentry *dentry, struct cifs_tcon *tcon, 29 struct dentry *dentry, struct cifs_tcon *tcon, 39 struct dentry *dentry, struct cifs_tcon *tcon, in create_reparse_symlink() argument 44 return create_native_symlink(xid, inode, dentry, tcon, full_path, symname); in create_reparse_symlink() 46 return mknod_nfs(xid, inode, dentry, tcon, full_path, S_IFLNK, 0, symname); in create_reparse_symlink() 48 return mknod_wsl(xid, inode, dentry, tcon, full_path, S_IFLNK, 0, symname); in create_reparse_symlink() 55 struct dentry *dentry, struct cifs_tcon *tcon, in create_native_symlink() argument 256 new = tcon->ses->server->ops->create_reparse_inode( in create_native_symlink() 258 tcon, full_path, directory, in create_native_symlink() [all …]
|
| H A D | dfs_cache.c | 1146 static bool target_share_equal(struct cifs_tcon *tcon, const char *s1) in is_ses_good() 1148 struct TCP_Server_Info *server = tcon->ses->server; in is_ses_good() 1149 const char *s2 = &tcon->tree_name[1]; in is_ses_good() 1173 static bool is_ses_good(struct cifs_tcon *tcon, struct cifs_ses *ses) in is_ses_good() 1200 ipc = cifs_setup_ipc(ses, tcon->seal); in refresh_ses_referral() 1229 static void refresh_ses_referral(struct cifs_tcon *tcon, struct cifs_ses *ses) 1245 if (!is_ses_good(tcon, ses)) { in __refresh_tcon_referral() 1261 static int __refresh_tcon_referral(struct cifs_tcon *tcon, in __refresh_tcon_referral() 1277 if (target_share_equal(tcon, refs[i].node_name)) { in refresh_tcon_referral() 1298 cifs_signal_cifsd_for_reconnect(tcon in refresh_tcon_referral() 1115 target_share_equal(struct cifs_tcon * tcon,const char * s1) target_share_equal() argument 1142 is_ses_good(struct cifs_tcon * tcon,struct cifs_ses * ses) is_ses_good() argument 1198 refresh_ses_referral(struct cifs_tcon * tcon,struct cifs_ses * ses) refresh_ses_referral() argument 1230 __refresh_tcon_referral(struct cifs_tcon * tcon,const char * path,struct dfs_info3_param * refs,int numrefs,bool force_refresh) __refresh_tcon_referral() argument 1272 refresh_tcon_referral(struct cifs_tcon * tcon,bool force_refresh) refresh_tcon_referral() argument 1331 struct cifs_tcon *tcon; dfs_cache_remount_fs() local 1364 struct cifs_tcon *tcon; dfs_cache_refresh() local [all...] |
| H A D | readdir.c | 365 struct cifs_tcon *tcon; in _initiate_cifs_search() 383 tcon = tlink_tcon(tlink); in _initiate_cifs_search() 386 tcon = tlink_tcon(cifsFile->tlink); in _initiate_cifs_search() 389 server = tcon->ses->server; in _initiate_cifs_search() 405 /* if (cap_unix(tcon->ses) { */ in _initiate_cifs_search() 406 if (tcon->unix_ext) in _initiate_cifs_search() 408 else if (tcon->posix_extensions) in _initiate_cifs_search() 410 else if ((tcon->ses->capabilities & in _initiate_cifs_search() 411 tcon->ses->server->vals->cap_nt_find) == 0) { in _initiate_cifs_search() 423 rc = server->ops->query_dir_first(xid, tcon, full_pat in _initiate_cifs_search() 364 struct cifs_tcon *tcon; _initiate_cifs_search() local 696 find_cifs_entry(const unsigned int xid,struct cifs_tcon * tcon,loff_t pos,struct file * file,const char * full_path,char ** current_entry,int * num_to_ret) find_cifs_entry() argument 1072 struct cifs_tcon *tcon; cifs_readdir() local [all...] |
| /linux/fs/smb/server/mgmt/ |
| H A D | tree_connect.c | 107 ksmbd_tree_connect_get(struct ksmbd_tree_connect *tcon) in ksmbd_tree_connect_put() 109 atomic_inc(&tcon->refcount); in ksmbd_tree_connect_put() 110 return tcon; in ksmbd_tree_connect_put() 113 void ksmbd_tree_connect_put(struct ksmbd_tree_connect *tcon) 115 if (atomic_dec_and_test(&tcon->refcount)) { in __ksmbd_tree_conn_disconnect() 116 ksmbd_share_config_put(tcon->share_conf); in __ksmbd_tree_conn_disconnect() 117 kfree(tcon); in __ksmbd_tree_conn_disconnect() 156 struct ksmbd_tree_connect *tcon; in ksmbd_tree_conn_lookup() 159 tcon = xa_load(&sess->tree_conns, id); in ksmbd_tree_conn_lookup() 160 if (tcon) { in ksmbd_tree_conn_lookup() 106 ksmbd_tree_connect_put(struct ksmbd_tree_connect * tcon) ksmbd_tree_connect_put() argument 149 struct ksmbd_tree_connect *tcon; ksmbd_tree_conn_lookup() local [all...] |
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | Makefile | 21 sun4i-tcon-y += sun4i_crtc.o 22 sun4i-tcon-y += sun4i_tcon_dclk.o 23 sun4i-tcon-y += sun4i_lvds.o 24 sun4i-tcon-y += sun4i_tcon.o 25 sun4i-tcon-y += sun4i_rgb.o 28 obj-$(CONFIG_DRM_SUN4I) += sun4i-tcon.o
|
| /linux/drivers/gpu/drm/fsl-dcu/ |
| H A D | fsl_tcon.h | 24 void fsl_tcon_free(struct fsl_tcon *tcon); 26 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon); 27 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon);
|