/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tcon_dclk.h | 14 int sun4i_dclk_create(struct device *dev, struct sun4i_tcon *tcon); 15 int sun4i_dclk_free(struct sun4i_tcon *tcon);
|
H A D | sun4i_lvds.h | 10 int sun4i_lvds_init(struct drm_device *drm, struct sun4i_tcon *tcon);
|
H A D | sun4i_rgb.h | 12 int sun4i_rgb_init(struct drm_device *drm, struct sun4i_tcon *tcon);
|
H A D | sun4i_tcon.c | 84 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, argument 91 WARN_ON(!tcon->quirks->has_channel_0); 92 regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG, 95 clk = tcon->dclk; 98 WARN_ON(!tcon->quirks->has_channel_1); 99 regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG, 102 clk = tcon->sclk1; 118 static void sun4i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, argument 121 regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG, 130 regmap_update_bits(tcon 142 sun6i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) argument 173 sun4i_tcon_lvds_set_status(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, bool enabled) argument 189 sun4i_tcon_set_status(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, bool enabled) argument 226 sun4i_tcon_enable_vblank(struct sun4i_tcon *tcon, bool enable) argument 252 struct sun4i_tcon *tcon; local 264 sun4i_tcon_set_mux(struct sun4i_tcon *tcon, int channel, const struct drm_encoder *encoder) argument 294 sun4i_tcon0_mode_set_dithering(struct sun4i_tcon *tcon, const struct drm_connector *connector) argument 346 sun4i_tcon0_mode_set_cpu(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument 425 sun4i_tcon0_mode_set_lvds(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument 505 sun4i_tcon0_mode_set_rgb(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument 598 sun4i_tcon1_mode_set(struct sun4i_tcon *tcon, const struct drm_display_mode *mode) argument 712 sun4i_tcon_mode_set(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument 755 struct sun4i_tcon *tcon = private; local 784 sun4i_tcon_init_clocks(struct device *dev, struct sun4i_tcon *tcon) argument 812 sun4i_tcon_init_irq(struct device *dev, struct sun4i_tcon *tcon) argument 839 sun4i_tcon_init_regmap(struct device *dev, struct sun4i_tcon *tcon) argument 1116 struct sun4i_tcon *tcon; local 1302 struct sun4i_tcon *tcon = dev_get_drvdata(dev); local 1340 sun4i_a10_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) argument 1364 sun5i_a13_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) argument 1380 sun6i_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) argument 1405 sun8i_r40_tcon_tv_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) argument [all...] |
H A D | sun4i_crtc.h | 17 struct sun4i_tcon *tcon; member in struct:sun4i_crtc 27 struct sun4i_tcon *tcon);
|
H A D | sun4i_tcon_dclk.c | 18 struct sun4i_tcon *tcon; member in struct:sun4i_dclk 74 struct sun4i_tcon *tcon = dclk->tcon; local 79 for (i = tcon->dclk_min_div; i <= tcon->dclk_max_div; i++) { 165 int sun4i_dclk_create(struct device *dev, struct sun4i_tcon *tcon) argument 172 parent_name = __clk_get_name(tcon->sclk0); 182 dclk->tcon = tcon; 190 dclk->regmap = tcon 201 sun4i_dclk_free(struct sun4i_tcon *tcon) argument [all...] |
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
|
H A D | sun8i_tcon_top.h | 41 int sun8i_tcon_top_set_hdmi_src(struct device *dev, int tcon); 42 int sun8i_tcon_top_de_config(struct device *dev, int mixer, int tcon);
|
/linux-master/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_tcon.c | 19 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon) argument 21 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, 25 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon) argument 27 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, 37 .name = "tcon", 41 struct fsl_tcon *tcon, 54 tcon->regs = devm_regmap_init_mmio(dev, regs, 56 return PTR_ERR_OR_ZERO(tcon->regs); 61 struct fsl_tcon *tcon; local 66 np = of_parse_phandle(dev->of_node, "fsl,tcon", 40 fsl_tcon_init_regmap(struct device *dev, struct fsl_tcon *tcon, struct device_node *np) argument 102 fsl_tcon_free(struct fsl_tcon *tcon) argument [all...] |
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);
|
/linux-master/fs/smb/client/ |
H A D | cifs_swn.h | 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; } argument 44 static inline int cifs_swn_unregister(struct cifs_tcon *tcon) { return 0; } argument
|
H A D | smb2proto.h | 56 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon, 62 struct cifs_tcon *tcon, 67 struct cifs_tcon *tcon, 73 struct cifs_tcon *tcon, 77 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 84 umode_t mode, struct cifs_tcon *tcon, 88 umode_t mode, struct cifs_tcon *tcon, 92 struct cifs_tcon *tcon, const unsigned int xid); 93 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 95 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, [all...] |
H A D | smb1ops.c | 440 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) argument 442 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); 443 struct TCP_Server_Info *server = tcon->ses->server; 449 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) 455 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) 475 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) argument 477 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); 478 struct TCP_Server_Info *server = tcon->ses->server; 493 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) 516 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, argument 524 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path) argument 545 cifs_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) argument 603 cifs_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 *unused) argument 623 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, struct cifs_open_info_data *data) argument 642 cifs_clear_stats(struct cifs_tcon *tcon) argument 668 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) argument 704 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, const unsigned int xid) argument 757 cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) argument 764 cifs_flush_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) argument 802 struct cifs_tcon *tcon; local 866 cifs_set_compression(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) argument 873 cifs_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) argument 888 cifs_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid, __u16 search_flags, struct cifs_search_info *srch_inf) argument 896 cifs_close_dir(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) argument 903 cifs_oplock_response(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid, __u16 net_fid, struct cifsInodeInfo *cinode) argument 911 cifs_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) argument 952 cifs_unix_dfs_readlink(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, char **symlinkinfo, const struct nls_table *nls_codepage) argument 975 cifs_query_symlink(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, char **target_path) argument 1038 cifs_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) argument [all...] |
H A D | smb2inode.c | 172 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, argument 187 struct cifs_ses *ses = tcon->ses; 214 if (smb3_encryption_required(tcon)) 256 rc = SMB2_open_init(tcon, server, 263 smb2_set_next_command(tcon, &rqst[num_rqst]); 276 rc = SMB2_query_info_init(tcon, server, 285 rc = SMB2_query_info_init(tcon, server, 295 smb2_set_next_command(tcon, &rqst[num_rqst]); 302 tcon->tid, full_path); 310 rc = SMB2_query_info_init(tcon, serve 859 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) argument 981 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) argument 996 smb2_mkdir_setinfo(struct inode *inode, const char *name, struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, const unsigned int xid) argument 1025 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) argument 1040 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb, struct dentry *dentry) argument 1061 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) argument 1090 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) argument 1112 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) argument 1126 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) argument 1164 struct cifs_tcon *tcon; local 1190 smb2_get_reparse_inode(struct cifs_open_info_data *data, struct super_block *sb, const unsigned int xid, struct cifs_tcon *tcon, const char *full_path, struct kvec *reparse_iov, struct kvec *xattr_iov) argument 1243 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) argument [all...] |
H A D | ioctl.c | 31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local 57 if (tcon->ses->server->ops->ioctl_query_info) 58 rc = tcon->ses->server->ops->ioctl_query_info( 59 xid, tcon, cifs_sb, utf16_path, 120 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) argument 125 tcon_inf.tid = tcon->tid; 126 tcon_inf.session_id = tcon->ses->Suid; 134 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, argument 145 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; 146 fsinf->tcon_flags = tcon 220 cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) argument 339 struct cifs_tcon *tcon; local [all...] |
H A D | cached_dir.h | 45 struct cifs_tcon *tcon; member in struct:cached_fid 65 extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, 69 extern int open_cached_dir_by_dentry(struct cifs_tcon *tcon, 74 struct cifs_tcon *tcon, 78 extern void invalidate_all_cached_dirs(struct cifs_tcon *tcon); 79 extern int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
|
H A D | dfs.c | 70 * release it as any new DFS referrals must go through its IPC tcon. 217 struct cifs_tcon *tcon; local 236 else if (WARN_ON(!mnt_ctx->tcon)) 242 tcon = mnt_ctx->tcon; 243 spin_lock(&tcon->tc_lock); 244 if (!tcon->origin_fullpath) { 245 tcon->origin_fullpath = origin_fullpath; 250 spin_unlock(&tcon->tc_lock); 253 queue_delayed_work(dfscache_wq, &tcon 399 struct cifs_tcon *tcon = ses->tcon_ipc; local 432 tree_connect_ipc(const unsigned int xid, char *tree, struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon) argument 442 __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) argument 527 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) argument 552 cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, const struct nls_table *nlsc) argument [all...] |
H A D | cifs_swn.c | 32 struct cifs_tcon *tcon; member in struct:cifs_swn_reg 35 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) argument 46 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) argument 50 if (tcon->ses->user_name != NULL) { 51 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name); 56 if (tcon->ses->password != NULL) { 57 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_PASSWORD, tcon->ses->password); 62 if (tcon->ses->domainName != NULL) { 63 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName); 114 if (swnreg->tcon 252 cifs_find_swn_reg(struct cifs_tcon *tcon) argument 305 cifs_get_swn_reg(struct cifs_tcon *tcon) argument 463 cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) argument 589 cifs_swn_register(struct cifs_tcon *tcon) argument 607 cifs_swn_unregister(struct cifs_tcon *tcon) argument [all...] |
H A D | smb2pdu.c | 73 int smb3_encryption_required(const struct cifs_tcon *tcon) argument 75 if (!tcon || !tcon->ses) 77 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || 78 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) 80 if (tcon->seal && 81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) 88 const struct cifs_tcon *tcon, 126 if (!tcon) 135 shdr->Id.SyncId.TreeId = cpu_to_le32(tcon 87 smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd, const struct cifs_tcon *tcon, struct TCP_Server_Info *server) argument 210 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, bool from_reconnect) argument 498 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void *buf, unsigned int *total_len) argument 524 __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) argument 556 smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) argument 570 smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) argument 1268 smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) argument 2002 cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) argument 2010 init_copy_chunk_defaults(struct cifs_tcon *tcon) argument 2018 SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, const char *tree, struct cifs_tcon *tcon, const struct nls_table *cp) argument 2159 SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon) argument 2802 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) argument 2985 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) argument 3175 struct cifs_tcon *tcon = oparms->tcon; local 3276 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) argument 3382 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 ) argument 3521 SMB2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) argument 3543 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) argument 3577 __SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct smb2_file_network_open_info *pbuf) argument 3668 SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) argument 3730 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) argument 3779 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) argument 3881 SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct smb2_file_all_info *data) argument 3909 SMB2_query_acl(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, void **data, u32 *plen, u32 extra_info) argument 3923 SMB2_get_srv_num(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, __le64 *uniqueid) argument 3939 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) argument 3972 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 ) argument 4094 struct cifs_tcon *tcon, *tcon2; local 4270 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) argument 4294 SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) argument 4360 struct cifs_tcon *tcon = io_parms->tcon; local 4485 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); local 4580 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); local 4737 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); local 4823 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); local 5222 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) argument 5303 smb2_parse_query_directory(struct cifs_tcon *tcon, struct kvec *rsp_iov, int resp_buftype, struct cifs_search_info *srch_inf) argument 5378 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) argument 5462 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) argument 5512 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) argument 5585 SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, loff_t new_eof) argument 5605 SMB2_set_acl(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct cifs_ntsd *pnntsd, int pacllen, int aclflag) argument 5615 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) argument 5625 SMB2_oplock_break(const unsigned int xid, struct cifs_tcon *tcon, const u64 persistent_fid, const u64 volatile_fid, __u8 oplock_level) argument 5719 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) argument 5759 SMB311_posix_qfs_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct kstatfs *fsdata) argument 5824 SMB2_QFS_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct kstatfs *fsdata) argument 5889 SMB2_QFS_attr(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, int level) argument 5988 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) argument 6060 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) argument 6077 SMB2_lease_break(const unsigned int xid, struct cifs_tcon *tcon, __u8 *lease_key, const __le32 lease_state) argument [all...] |
H A D | cifsproto.h | 79 struct cifs_tcon *tcon, 155 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, 159 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, 268 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 269 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 306 extern void cifs_put_tcon(struct cifs_tcon *tcon); 317 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, 332 const char *tree, struct cifs_tcon *tcon, 335 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, 341 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon, 705 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) argument [all...] |
H A D | fscache.c | 26 struct cifs_tcon *tcon, 30 cd->resource_id = cpu_to_le64(tcon->resource_id); 31 cd->vol_create_time = tcon->vol_create_time; 32 cd->vol_serial_number = cpu_to_le32(tcon->vol_serial_number); 35 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) argument 38 struct TCP_Server_Info *server = tcon->ses->server; 46 tcon->fscache = NULL; 58 sharename = extract_sharename(tcon->tree_name); 73 cifs_fscache_fill_volume_coherency(tcon, &cd); 87 tcon 25 cifs_fscache_fill_volume_coherency( struct cifs_tcon *tcon, struct cifs_fscache_volume_coherency_data *cd) argument 96 cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) argument 113 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local [all...] |
H A D | smb2misc.c | 541 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) argument 551 list_for_each_entry(cfile, &tcon->openFileList, tlist) { 580 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, argument 589 list_for_each_entry(open, &tcon->pending_opens, olist) { 614 struct cifs_tcon *tcon; local 622 /* look up tcon based on tid & uid */ 627 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { 628 spin_lock(&tcon->open_file_lock); 630 &tcon->stats.cifs_stats.num_oplock_brks); 631 if (smb2_tcon_has_lease(tcon, rs 677 struct cifs_tcon *tcon; local 756 struct cifs_tcon *tcon = cancelled->tcon; local 783 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, __u64 persistent_fid, __u64 volatile_fid) argument 804 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid) argument 841 struct cifs_tcon *tcon; local [all...] |
H A D | link.c | 160 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, argument 176 if (tcon->ses->server->ops->create_mf_symlink) 177 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, 193 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, argument 211 if (tcon->ses->server->ops->query_mf_symlink) 212 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, 250 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, argument 263 .tcon 295 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) argument 335 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) argument 398 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) argument 472 struct cifs_tcon *tcon; local [all...] |
H A D | namespace.c | 123 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local 126 spin_lock(&tcon->tc_lock); 127 ret = !!tcon->origin_fullpath; 128 spin_unlock(&tcon->tc_lock); 136 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); local 140 spin_lock(&tcon->tc_lock); 141 if (!tcon->origin_fullpath) { 142 spin_unlock(&tcon->tc_lock); 147 spin_unlock(&tcon->tc_lock); 156 spin_lock(&tcon [all...] |
/linux-master/fs/smb/server/mgmt/ |
H A D | tree_connect.c | 99 void ksmbd_tree_connect_put(struct ksmbd_tree_connect *tcon) argument 106 if (!atomic_dec_return(&tcon->refcount) && 107 waitqueue_active(&tcon->refcount_q)) 108 wake_up(&tcon->refcount_q); 134 struct ksmbd_tree_connect *tcon; local 137 tcon = xa_load(&sess->tree_conns, id); 138 if (tcon) { 139 if (tcon->t_state != TREE_CONNECTED) 140 tcon = NULL; 141 else if (!atomic_inc_not_zero(&tcon [all...] |