/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tcon.c | 83 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument 90 WARN_ON(!tcon->quirks->has_channel_0); in sun4i_tcon_channel_set_status() 91 regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG, in sun4i_tcon_channel_set_status() 94 clk = tcon->dclk; in sun4i_tcon_channel_set_status() 97 WARN_ON(!tcon->quirks->has_channel_1); in sun4i_tcon_channel_set_status() 98 regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG, in sun4i_tcon_channel_set_status() 101 clk = tcon->sclk1; in sun4i_tcon_channel_set_status() 117 static void sun4i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, in sun4i_tcon_setup_lvds_phy() argument 120 regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG, in sun4i_tcon_setup_lvds_phy() 129 regmap_update_bits(tcon in sun4i_tcon_setup_lvds_phy() 141 sun6i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun6i_tcon_setup_lvds_phy() argument 172 sun4i_tcon_lvds_set_status(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, bool enabled) sun4i_tcon_lvds_set_status() argument 188 sun4i_tcon_set_status(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, bool enabled) sun4i_tcon_set_status() argument 225 sun4i_tcon_enable_vblank(struct sun4i_tcon *tcon, bool enable) sun4i_tcon_enable_vblank() argument 251 struct sun4i_tcon *tcon; sun4i_get_tcon0() local 263 sun4i_tcon_set_mux(struct sun4i_tcon *tcon, int channel, const struct drm_encoder *encoder) sun4i_tcon_set_mux() argument 293 sun4i_tcon0_mode_set_common(struct sun4i_tcon *tcon, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_common() argument 305 sun4i_tcon0_mode_set_dithering(struct sun4i_tcon *tcon, const struct drm_connector *connector) sun4i_tcon0_mode_set_dithering() argument 357 sun4i_tcon0_mode_set_cpu(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_cpu() argument 428 sun4i_tcon0_mode_set_lvds(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_lvds() argument 503 sun4i_tcon0_mode_set_rgb(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_rgb() argument 591 sun4i_tcon1_mode_set(struct sun4i_tcon *tcon, const struct drm_display_mode *mode) sun4i_tcon1_mode_set() argument 705 sun4i_tcon_mode_set(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon_mode_set() argument 748 struct sun4i_tcon *tcon = private; sun4i_tcon_handler() local 777 sun4i_tcon_init_clocks(struct device *dev, struct sun4i_tcon *tcon) sun4i_tcon_init_clocks() argument 805 sun4i_tcon_init_irq(struct device *dev, struct sun4i_tcon *tcon) sun4i_tcon_init_irq() argument 832 sun4i_tcon_init_regmap(struct device *dev, struct sun4i_tcon *tcon) sun4i_tcon_init_regmap() argument 1111 struct sun4i_tcon *tcon; sun4i_tcon_bind() local 1297 struct sun4i_tcon *tcon = dev_get_drvdata(dev); sun4i_tcon_unbind() local 1337 sun4i_a10_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun4i_a10_tcon_set_mux() argument 1361 sun5i_a13_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun5i_a13_tcon_set_mux() argument 1377 sun6i_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun6i_tcon_set_mux() argument 1402 sun8i_r40_tcon_tv_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun8i_r40_tcon_tv_set_mux() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tcon.c | 84 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument 91 WARN_ON(!tcon->quirks->has_channel_0); in sun4i_tcon_channel_set_status() 92 regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG, in sun4i_tcon_channel_set_status() 95 clk = tcon->dclk; in sun4i_tcon_channel_set_status() 98 WARN_ON(!tcon->quirks->has_channel_1); in sun4i_tcon_channel_set_status() 99 regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG, in sun4i_tcon_channel_set_status() 102 clk = tcon->sclk1; in sun4i_tcon_channel_set_status() 118 static void sun4i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, in sun4i_tcon_setup_lvds_phy() argument 121 regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG, in sun4i_tcon_setup_lvds_phy() 130 regmap_update_bits(tcon in sun4i_tcon_setup_lvds_phy() 142 sun6i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun6i_tcon_setup_lvds_phy() argument 173 sun4i_tcon_lvds_set_status(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, bool enabled) sun4i_tcon_lvds_set_status() argument 189 sun4i_tcon_set_status(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, bool enabled) sun4i_tcon_set_status() argument 226 sun4i_tcon_enable_vblank(struct sun4i_tcon *tcon, bool enable) sun4i_tcon_enable_vblank() argument 252 struct sun4i_tcon *tcon; sun4i_get_tcon0() local 264 sun4i_tcon_set_mux(struct sun4i_tcon *tcon, int channel, const struct drm_encoder *encoder) sun4i_tcon_set_mux() argument 294 sun4i_tcon0_mode_set_dithering(struct sun4i_tcon *tcon, const struct drm_connector *connector) sun4i_tcon0_mode_set_dithering() argument 346 sun4i_tcon0_mode_set_cpu(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_cpu() argument 425 sun4i_tcon0_mode_set_lvds(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_lvds() argument 505 sun4i_tcon0_mode_set_rgb(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon0_mode_set_rgb() argument 598 sun4i_tcon1_mode_set(struct sun4i_tcon *tcon, const struct drm_display_mode *mode) sun4i_tcon1_mode_set() argument 712 sun4i_tcon_mode_set(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) sun4i_tcon_mode_set() argument 755 struct sun4i_tcon *tcon = private; sun4i_tcon_handler() local 784 sun4i_tcon_init_clocks(struct device *dev, struct sun4i_tcon *tcon) sun4i_tcon_init_clocks() argument 812 sun4i_tcon_init_irq(struct device *dev, struct sun4i_tcon *tcon) sun4i_tcon_init_irq() argument 839 sun4i_tcon_init_regmap(struct device *dev, struct sun4i_tcon *tcon) sun4i_tcon_init_regmap() argument 1116 struct sun4i_tcon *tcon; sun4i_tcon_bind() local 1302 struct sun4i_tcon *tcon = dev_get_drvdata(dev); sun4i_tcon_unbind() local 1340 sun4i_a10_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun4i_a10_tcon_set_mux() argument 1364 sun5i_a13_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun5i_a13_tcon_set_mux() argument 1380 sun6i_tcon_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun6i_tcon_set_mux() argument 1405 sun8i_r40_tcon_tv_set_mux(struct sun4i_tcon *tcon, const struct drm_encoder *encoder) sun8i_r40_tcon_tv_set_mux() argument [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | ioctl.c | 43 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info() local 66 if (tcon->ses->server->ops->ioctl_query_info) in cifs_ioctl_query_info() 67 rc = tcon->ses->server->ops->ioctl_query_info( in cifs_ioctl_query_info() 68 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info() 129 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument 140 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo() 142 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics); in smb_mnt_get_fsinfo() 143 fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in smb_mnt_get_fsinfo() 144 fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes); in smb_mnt_get_fsinfo() 146 le32_to_cpu(tcon in smb_mnt_get_fsinfo() 171 struct cifs_tcon *tcon; cifs_ioctl() local [all...] |
H A D | smb1ops.c | 431 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize() argument 433 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize() 434 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() 440 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 446 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 466 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize() argument 468 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize() 469 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize() 484 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize() 507 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() argument 515 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path) cifs_is_path_accessible() argument 537 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjustTZ, bool *symlink) cifs_query_path_info() argument 587 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid, FILE_ALL_INFO *data) cifs_get_srv_inum() argument 608 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid, FILE_ALL_INFO *data) cifs_query_file_info() argument 615 cifs_clear_stats(struct cifs_tcon *tcon) cifs_clear_stats() argument 641 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) cifs_print_stats() argument 677 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, const unsigned int xid) cifs_mkdir_setinfo() argument 721 cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) cifs_close_file() argument 728 cifs_flush_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) cifs_flush_file() argument 766 struct cifs_tcon *tcon; smb_set_file_info() local 829 cifs_set_compression(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) cifs_set_compression() argument 836 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) cifs_query_dir_first() argument 851 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) cifs_query_dir_next() argument 859 cifs_close_dir(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) cifs_close_dir() argument 866 cifs_oplock_response(struct cifs_tcon *tcon, struct cifs_fid *fid, struct cifsInodeInfo *cinode) cifs_oplock_response() argument 875 cifs_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) cifs_queryfs() argument 916 cifs_unix_dfs_readlink(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, char **symlinkinfo, const struct nls_table *nls_codepage) cifs_unix_dfs_readlink() argument 942 cifs_query_symlink(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, char **target_path, bool is_reparse_point) cifs_query_symlink() argument 1027 cifs_make_node(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, char *full_path, umode_t mode, dev_t dev) cifs_make_node() argument [all...] |
H A D | smb2inode.c | 63 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument 76 struct cifs_ses *ses = tcon->ses; in smb2_compound_op() 95 if (smb3_encryption_required(tcon)) in smb2_compound_op() 111 vars->oparms.tcon = tcon; in smb2_compound_op() 122 rc = SMB2_open_init(tcon, server, in smb2_compound_op() 129 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 141 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 150 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 159 smb2_set_next_command(tcon, in smb2_compound_op() 523 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjust_tz, bool *reparse) smb2_query_path_info() argument 587 smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, struct smb311_posix_qinfo *data, bool *adjust_tz, bool *reparse) smb311_posix_query_path_info() argument 639 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 650 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 674 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) smb2_rmdir() argument 683 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) smb2_unlink() argument 692 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 access, int command, struct cifsFileInfo *cfile) smb2_set_path_attr() argument 714 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) smb2_rename_path() argument 727 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) smb2_create_hardlink() argument 737 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) smb2_set_path_size() argument [all...] |
H A D | smb2proto.h | 72 extern int open_shroot(unsigned int xid, struct cifs_tcon *tcon, 80 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon, 83 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, 87 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 93 umode_t mode, struct cifs_tcon *tcon, 97 umode_t mode, struct cifs_tcon *tcon, 101 struct cifs_tcon *tcon, const unsigned int xid); 102 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 104 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, 106 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, [all...] |
H A D | smb2pdu.c | 86 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 88 if (!tcon || !tcon->ses) in smb3_encryption_required() 90 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 91 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 93 if (tcon->seal && in smb3_encryption_required() 94 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 101 const struct cifs_tcon *tcon, in smb2_hdr_assemble() 122 if (!tcon) in smb2_hdr_assemble() 131 shdr->TreeId = tcon in smb2_hdr_assemble() 100 smb2_hdr_assemble(struct smb2_sync_hdr *shdr, __le16 smb2_cmd, const struct cifs_tcon *tcon, struct TCP_Server_Info *server) smb2_hdr_assemble() argument 156 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server) smb2_reconnect() argument 345 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 371 __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 403 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 417 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 1006 smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) smb3_validate_negotiate() argument 1694 cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) cifs_stats_fail_inc() argument 1702 init_copy_chunk_defaults(struct cifs_tcon *tcon) init_copy_chunk_defaults() argument 1710 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 1851 SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon) SMB2_tdis() argument 2490 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 2644 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 2845 struct cifs_tcon *tcon = oparms->tcon; SMB2_open() local 2927 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 3032 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 3148 SMB2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) SMB2_set_compression() argument 3170 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 3204 __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 3282 SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) SMB2_close() argument 3344 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 3393 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 3480 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 3491 SMB311_posix_query_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct smb311_posix_qinfo *data, u32 *plen) SMB311_posix_query_info() argument 3504 SMB2_query_acl(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, void **data, u32 *plen) SMB2_query_acl() argument 3517 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 3533 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 3566 SMB2_change_notify(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, bool watch_tree, u32 completion_filter) SMB2_change_notify() argument 3648 struct cifs_tcon *tcon, *tcon2; smb2_reconnect_server() local 3757 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 3781 SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) SMB2_flush() argument 3931 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); smb2_readv_callback() local 4028 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); smb2_async_readv() local 4177 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); smb2_writev_callback() local 4263 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); smb2_async_writev() local 4631 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 4709 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 4781 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 4851 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 4902 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 4962 SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, __le64 *eof) SMB2_set_eof() argument 4980 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) SMB2_set_acl() argument 4990 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 5000 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 5082 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 5122 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 5173 SMB2_QFS_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct kstatfs *fsdata) SMB2_QFS_info() argument 5224 SMB2_QFS_attr(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, int level) SMB2_QFS_attr() argument 5309 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 5368 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 5385 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 | cifsproto.h | 77 struct cifs_tcon *tcon, 145 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, 149 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, 247 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 248 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 264 extern void cifs_put_tcon(struct cifs_tcon *tcon); 279 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, 290 const char *tree, struct cifs_tcon *tcon, 293 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, 299 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon, [all...] |
H A D | link.c | 185 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument 201 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 202 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink() 218 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument 231 if (tcon->ses->server->ops->query_mf_symlink) in query_mf_symlink() 232 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink() 252 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument 269 if (tcon in check_mf_symlink() 306 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 350 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 388 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 449 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 521 struct cifs_tcon *tcon; cifs_hardlink() local 611 struct cifs_tcon *tcon; cifs_get_link() local [all...] |
H A D | smb2ops.c | 342 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize() argument 344 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() 357 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_wsize() argument 359 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize() 389 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize() argument 391 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize() 405 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_rsize() argument 407 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize() 580 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument 587 struct cifs_ses *ses = tcon in SMB3_request_interfaces() 672 open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct cached_fid **cfid) open_shroot() argument 851 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb) smb3_qfs_tcon() argument 898 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb) smb2_qfs_tcon() argument 927 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 963 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid, FILE_ALL_INFO *data) smb2_get_srv_inum() argument 972 smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid, FILE_ALL_INFO *data) smb2_query_file_info() argument 1077 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 1133 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 1301 smb2_clear_stats(struct cifs_tcon *tcon) smb2_clear_stats() argument 1312 smb2_dump_share_caps(struct seq_file *m, struct cifs_tcon *tcon) smb2_dump_share_caps() argument 1345 smb2_print_stats(struct seq_file *m, struct cifs_tcon *tcon) smb2_print_stats() argument 1423 smb2_close_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) smb2_close_file() argument 1430 smb2_close_getattr(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) smb2_close_getattr() argument 1469 SMB2_request_res_key(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct copychunk_ioctl *pcchunk) SMB2_request_res_key() argument 1508 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 1748 struct cifs_tcon *tcon; smb2_copychunk_range() local 1877 smb2_flush_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) smb2_flush_file() argument 1925 smb2_set_sparse(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, struct inode *inode, __u8 setsparse) smb2_set_sparse() argument 1971 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 2004 struct cifs_tcon *tcon = tlink_tcon(trgtfile->tlink); smb2_duplicate_extents() local 2050 smb2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) smb2_set_compression() argument 2058 smb3_set_integrity(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) smb3_set_integrity() argument 2088 smb3_enum_snapshots(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, void __user *ioc_buf) smb3_enum_snapshots() argument 2181 struct cifs_tcon *tcon; smb3_notify() local 2231 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 2350 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 2359 smb2_close_dir(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) smb2_close_dir() argument 2416 smb2_oplock_response(struct cifs_tcon *tcon, struct cifs_fid *fid, struct cifsInodeInfo *cinode) smb2_oplock_response() argument 2444 smb2_set_next_command(struct cifs_tcon *tcon, struct smb_rqst *rqst) smb2_set_next_command() argument 2505 smb2_query_info_compound(const unsigned int xid, struct cifs_tcon *tcon, __le16 *utf16_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 2598 smb2_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) smb2_queryfs() argument 2635 smb311_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) smb311_queryfs() argument 2712 struct cifs_tcon *tcon; smb2_get_dfs_refer() local 2895 smb2_query_symlink(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, char **target_path, bool is_reparse_point) smb2_query_symlink() argument 3083 smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, __u32 *tag) smb2_query_reparse_tag() argument 3250 struct cifs_tcon *tcon; get_smb2_acl_by_path() local 3307 struct cifs_tcon *tcon; set_smb2_acl() local 3374 smb3_zero_range(struct file *file, struct cifs_tcon *tcon, loff_t offset, loff_t len, bool keep_size) smb3_zero_range() argument 3443 smb3_punch_hole(struct file *file, struct cifs_tcon *tcon, loff_t offset, loff_t len) smb3_punch_hole() argument 3485 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 3522 smb3_simple_fallocate_range(unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, loff_t off, loff_t len) smb3_simple_fallocate_range() argument 3606 smb3_simple_falloc(struct file *file, struct cifs_tcon *tcon, loff_t off, loff_t len, bool keep_size) smb3_simple_falloc() argument 3733 smb3_llseek(struct file *file, struct cifs_tcon *tcon, loff_t offset, int whence) smb3_llseek() argument 3817 smb3_fiemap(struct cifs_tcon *tcon, struct cifsFileInfo *cfile, struct fiemap_extent_info *fei, u64 start, u64 len) smb3_fiemap() argument 3892 smb3_fallocate(struct file *file, struct cifs_tcon *tcon, int mode, loff_t off, loff_t len) smb3_fallocate() argument 5032 smb2_make_node(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, char *full_path, umode_t mode, dev_t dev) smb2_make_node() argument [all...] |
H A D | smb2misc.c | 533 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument 544 list_for_each(tmp, &tcon->openFileList) { in smb2_tcon_has_lease() 574 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() argument 583 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease() 609 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local 614 /* look up tcon based on tid & uid */ in smb2_is_valid_lease_break() 623 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break() 625 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break() 627 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break() 628 if (smb2_tcon_has_lease(tcon, rs in smb2_is_valid_lease_break() 676 struct cifs_tcon *tcon; smb2_is_valid_oplock_break() local 751 struct cifs_tcon *tcon = cancelled->tcon; smb2_cancelled_close_fid() local 778 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, __u64 persistent_fid, __u64 volatile_fid) __smb2_handle_cancelled_cmd() argument 799 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid) smb2_handle_cancelled_close() argument 836 struct cifs_tcon *tcon; smb2_handle_cancelled_mid() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | ioctl.c | 31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info() local 57 if (tcon->ses->server->ops->ioctl_query_info) in cifs_ioctl_query_info() 58 rc = tcon->ses->server->ops->ioctl_query_info( in cifs_ioctl_query_info() 59 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info() 120 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info() argument 125 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info() 126 tcon_inf.session_id = tcon->ses->Suid; in smb_mnt_get_tcon_info() 134 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument 145 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo() 147 le32_to_cpu(tcon in smb_mnt_get_fsinfo() 219 cifs_dump_full_key(struct cifs_tcon *tcon, struct smb3_full_key_debug_info __user *in) cifs_dump_full_key() argument 334 struct cifs_tcon *tcon; cifs_ioctl() local [all...] |
H A D | smb2inode.c | 58 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument 72 struct cifs_ses *ses = tcon->ses; in smb2_compound_op() 92 if (smb3_encryption_required(tcon)) in smb2_compound_op() 109 .tcon = tcon, in smb2_compound_op() 121 rc = SMB2_open_init(tcon, server, in smb2_compound_op() 128 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 140 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 149 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 158 smb2_set_next_command(tcon, in smb2_compound_op() 574 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 658 smb311_posix_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, struct cifs_sid *owner, struct cifs_sid *group) smb311_posix_query_path_info() argument 743 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 754 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 778 smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) smb2_rmdir() argument 788 smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) smb2_unlink() argument 796 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) smb2_set_path_attr() argument 818 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 834 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 848 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) smb2_set_path_size() argument 867 struct cifs_tcon *tcon; smb2_set_file_info() local [all...] |
H A D | smb1ops.c | 440 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_wsize() argument 442 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize() 443 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() 449 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 455 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 475 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_rsize() argument 477 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize() 478 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize() 493 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize() 516 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_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) cifs_is_path_accessible() 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) cifs_query_path_info() 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) cifs_get_srv_inum() argument 623 cifs_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, struct cifs_open_info_data *data) cifs_query_file_info() argument 642 cifs_clear_stats(struct cifs_tcon *tcon) cifs_clear_stats() argument 668 cifs_print_stats(struct seq_file *m, struct cifs_tcon *tcon) cifs_print_stats() 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) cifs_mkdir_setinfo() argument 757 cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) cifs_close_file() argument 764 cifs_flush_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) cifs_flush_file() argument 802 struct cifs_tcon *tcon; smb_set_file_info() local 866 cifs_set_compression(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) cifs_set_compression() 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) cifs_query_dir_first() 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) cifs_query_dir_next() argument 896 cifs_close_dir(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) cifs_close_dir() argument 903 cifs_oplock_response(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid, __u16 net_fid, struct cifsInodeInfo *cinode) cifs_oplock_response() argument 911 cifs_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) cifs_queryfs() 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) cifs_unix_dfs_readlink() 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) cifs_query_symlink() 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) cifs_make_node() argument [all...] |
H A D | dfs.c | 71 * On success, their lifetime will be shared by final tcon (dfs_ses_list). 233 struct cifs_tcon *tcon; in __dfs_mount_share() local 245 tcon = mnt_ctx->tcon; in __dfs_mount_share() 246 spin_lock(&tcon->tc_lock); in __dfs_mount_share() 247 if (!tcon->origin_fullpath) { in __dfs_mount_share() 248 tcon->origin_fullpath = origin_fullpath; in __dfs_mount_share() 251 spin_unlock(&tcon->tc_lock); in __dfs_mount_share() 253 if (list_empty(&tcon->dfs_ses_list)) { in __dfs_mount_share() 254 list_replace_init(&mnt_ctx->dfs_ses_list, &tcon in __dfs_mount_share() 402 struct cifs_tcon *tcon = ses->tcon_ipc; __tree_connect_ipc() local 435 tree_connect_ipc(const unsigned int xid, char *tree, struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon) tree_connect_ipc() argument 445 __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 530 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 555 cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, const struct nls_table *nlsc) cifs_tree_connect() argument [all...] |
H A D | smb2proto.h | 56 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon, 60 struct cifs_tcon *tcon, 64 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 70 umode_t mode, struct cifs_tcon *tcon, 74 umode_t mode, struct cifs_tcon *tcon, 78 struct cifs_tcon *tcon, const unsigned int xid); 79 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 81 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, 84 struct cifs_tcon *tcon, 89 struct cifs_tcon *tcon, [all...] |
H A D | smb2pdu.c | 73 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 75 if (!tcon || !tcon->ses) in smb3_encryption_required() 77 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 78 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 80 if (tcon->seal && in smb3_encryption_required() 81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 88 const struct cifs_tcon *tcon, in smb2_hdr_assemble() 126 if (!tcon) in smb2_hdr_assemble() 135 shdr->Id.SyncId.TreeId = cpu_to_le32(tcon in smb2_hdr_assemble() 87 smb2_hdr_assemble(struct smb2_hdr *shdr, __le16 smb2_cmd, const struct cifs_tcon *tcon, struct TCP_Server_Info *server) smb2_hdr_assemble() argument 210 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, bool from_reconnect) smb2_reconnect() argument 486 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 512 __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 544 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 558 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 1246 smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) smb3_validate_negotiate() argument 1980 cifs_stats_fail_inc(struct cifs_tcon *tcon, uint16_t code) cifs_stats_fail_inc() argument 1988 init_copy_chunk_defaults(struct cifs_tcon *tcon) init_copy_chunk_defaults() argument 1996 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 2140 SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon) SMB2_tdis() argument 2766 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 2933 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 3122 struct cifs_tcon *tcon = oparms->tcon; SMB2_open() local 3208 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 3314 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 3440 SMB2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) SMB2_set_compression() argument 3462 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 3496 __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 3572 SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) SMB2_close() argument 3634 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 3683 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 3770 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 3798 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 3812 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 3828 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 3861 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 3968 struct cifs_tcon *tcon, *tcon2; smb2_reconnect_server() local 4144 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 4168 SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid) SMB2_flush() argument 4219 struct cifs_tcon *tcon = io_parms->tcon; smb3_use_rdma_offload() local 4344 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); smb2_readv_callback() local 4439 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); smb2_async_readv() local 4596 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); smb2_writev_callback() local 4682 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); smb2_async_writev() local 5068 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 5149 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 5224 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 5294 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 5344 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 5404 SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, __le64 *eof) SMB2_set_eof() argument 5424 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) SMB2_set_acl() argument 5434 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 5444 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 5526 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 5566 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 5617 SMB2_QFS_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct kstatfs *fsdata) SMB2_QFS_info() argument 5668 SMB2_QFS_attr(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, int level) SMB2_QFS_attr() argument 5753 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 5812 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 5829 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 | 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); 302 extern void cifs_put_tcon(struct cifs_tcon *tcon); 313 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, 328 const char *tree, struct cifs_tcon *tcon, 331 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, 337 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon, 696 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 | cifs_swn.c | 32 struct cifs_tcon *tcon; member 35 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_krb() argument 46 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb) in cifs_swn_auth_info_ntlm() argument 50 if (tcon->ses->user_name != NULL) { in cifs_swn_auth_info_ntlm() 51 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name); in cifs_swn_auth_info_ntlm() 56 if (tcon->ses->password != NULL) { in cifs_swn_auth_info_ntlm() 57 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_PASSWORD, tcon->ses->password); in cifs_swn_auth_info_ntlm() 62 if (tcon->ses->domainName != NULL) { in cifs_swn_auth_info_ntlm() 63 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName); in cifs_swn_auth_info_ntlm() 114 if (swnreg->tcon in cifs_swn_send_register_message() 252 cifs_find_swn_reg(struct cifs_tcon *tcon) cifs_find_swn_reg() argument 305 cifs_get_swn_reg(struct cifs_tcon *tcon) cifs_get_swn_reg() argument 463 cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) cifs_swn_reconnect() argument 589 cifs_swn_register(struct cifs_tcon *tcon) cifs_swn_register() argument 607 cifs_swn_unregister(struct cifs_tcon *tcon) cifs_swn_unregister() argument [all...] |
H A D | link.c | 172 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument 188 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 189 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink() 205 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument 223 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink() 224 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink() 262 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument 275 .tcon in cifs_query_mf_symlink() 307 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 347 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 410 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 484 struct cifs_tcon *tcon; global() local [all...] |
H A D | connect.c | 122 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces() local 129 rc = SMB3_request_interfaces(0, tcon, false); in smb2_query_server_interfaces() 138 queue_delayed_work(cifsiod_wq, &tcon->query_interfaces, in smb2_query_server_interfaces() 204 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect() local 257 /* If all channels need reconnect, then tcon needs reconnect */ in cifs_mark_tcp_ses_conns_for_reconnect() 268 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in cifs_mark_tcp_ses_conns_for_reconnect() 269 tcon->need_reconnect = true; in cifs_mark_tcp_ses_conns_for_reconnect() 270 spin_lock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect() 271 tcon->status = TID_NEED_RECON; in cifs_mark_tcp_ses_conns_for_reconnect() 272 spin_unlock(&tcon in cifs_mark_tcp_ses_conns_for_reconnect() 1902 struct cifs_tcon *tcon; cifs_setup_ipc() local 1968 struct cifs_tcon *tcon = ses->tcon_ipc; cifs_free_ipc() local 2387 match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) match_tcon() argument 2419 struct cifs_tcon *tcon; cifs_find_tcon() local 2438 cifs_put_tcon(struct cifs_tcon *tcon) cifs_put_tcon() argument 2519 struct cifs_tcon *tcon; cifs_get_tcon() local 2804 match_prepath(struct super_block *sb, struct cifs_tcon *tcon, struct cifs_mnt_data *mnt_data) match_prepath() argument 2836 struct cifs_tcon *tcon; cifs_match_super() local 3144 reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct smb3_fs_context *ctx) reset_cifs_unix_caps() argument 3370 struct cifs_tcon *tcon = NULL; cifs_mount_get_tcon() local 3464 mount_setup_tlink(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses, struct cifs_tcon *tcon) mount_setup_tlink() argument 3491 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 3548 struct cifs_tcon *tcon = mnt_ctx->tcon; cifs_is_path_remote() local 3665 CIFSTCon(const unsigned int xid, struct cifs_ses *ses, const char *tree, struct cifs_tcon *tcon, const struct nls_table *nls_codepage) CIFSTCon() argument 3981 struct cifs_tcon *tcon = NULL; cifs_construct_tcon() local 4228 cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, const struct nls_table *nlsc) cifs_tree_connect() argument [all...] |
H A D | smb2misc.c | 541 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument 551 list_for_each_entry(cfile, &tcon->openFileList, tlist) { in smb2_tcon_has_lease() 580 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() argument 589 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease() 614 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local 622 /* look up tcon based on tid & uid */ in smb2_is_valid_lease_break() 625 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break() 626 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break() 628 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break() 629 if (smb2_tcon_has_lease(tcon, rs in smb2_is_valid_lease_break() 675 struct cifs_tcon *tcon; smb2_is_valid_oplock_break() local 752 struct cifs_tcon *tcon = cancelled->tcon; smb2_cancelled_close_fid() local 779 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, __u64 persistent_fid, __u64 volatile_fid) __smb2_handle_cancelled_cmd() argument 800 smb2_handle_cancelled_close(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid) smb2_handle_cancelled_close() argument 837 struct cifs_tcon *tcon; smb2_handle_cancelled_mid() local [all...] |
H A D | smb2ops.c | 437 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize() argument 439 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() 452 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize() argument 454 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize() 484 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize() argument 486 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize() 500 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize() argument 502 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize() 758 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces() argument 763 struct cifs_ses *ses = tcon in SMB3_request_interfaces() 805 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb) smb3_qfs_tcon() argument 850 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb) smb2_qfs_tcon() argument 881 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 948 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 956 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 1055 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 1104 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 1274 smb2_clear_stats(struct cifs_tcon *tcon) smb2_clear_stats() argument 1285 smb2_dump_share_caps(struct seq_file *m, struct cifs_tcon *tcon) smb2_dump_share_caps() argument 1318 smb2_print_stats(struct seq_file *m, struct cifs_tcon *tcon) smb2_print_stats() argument 1396 smb2_close_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) smb2_close_file() argument 1403 smb2_close_getattr(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) smb2_close_getattr() argument 1445 SMB2_request_res_key(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, struct copychunk_ioctl *pcchunk) SMB2_request_res_key() argument 1477 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 1717 struct cifs_tcon *tcon; smb2_copychunk_range() local 1837 smb2_flush_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) smb2_flush_file() argument 1885 smb2_set_sparse(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, struct inode *inode, __u8 setsparse) smb2_set_sparse() argument 1931 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 1964 struct cifs_tcon *tcon = tlink_tcon(trgtfile->tlink); smb2_duplicate_extents() local 2010 smb2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) smb2_set_compression() argument 2018 smb3_set_integrity(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile) smb3_set_integrity() argument 2048 smb3_enum_snapshots(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, void __user *ioc_buf) smb3_enum_snapshots() argument 2142 struct cifs_tcon *tcon; smb3_notify() local 2215 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 2341 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 2350 smb2_close_dir(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) smb2_close_dir() argument 2422 struct cifs_tcon *tcon; smb2_is_network_name_deleted() local 2450 smb2_oplock_response(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid, __u16 net_fid, struct cifsInodeInfo *cinode) smb2_oplock_response() argument 2477 smb2_set_next_command(struct cifs_tcon *tcon, struct smb_rqst *rqst) smb2_set_next_command() argument 2538 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 2673 smb2_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) smb2_queryfs() argument 2710 smb311_queryfs(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct kstatfs *buf) smb311_queryfs() argument 2789 struct cifs_tcon *tcon; smb2_get_dfs_refer() local 2996 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 3172 struct cifs_tcon *tcon; get_smb2_acl_by_path() local 3237 struct cifs_tcon *tcon; set_smb2_acl() local 3307 smb3_zero_data(struct file *file, struct cifs_tcon *tcon, loff_t offset, loff_t len, unsigned int xid) smb3_zero_data() argument 3325 smb3_zero_range(struct file *file, struct cifs_tcon *tcon, loff_t offset, loff_t len, bool keep_size) smb3_zero_range() argument 3387 smb3_punch_hole(struct file *file, struct cifs_tcon *tcon, loff_t offset, loff_t len) smb3_punch_hole() argument 3431 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 3468 smb3_simple_fallocate_range(unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, loff_t off, loff_t len) smb3_simple_fallocate_range() argument 3552 smb3_simple_falloc(struct file *file, struct cifs_tcon *tcon, loff_t off, loff_t len, bool keep_size) smb3_simple_falloc() argument 3679 smb3_collapse_range(struct file *file, struct cifs_tcon *tcon, loff_t off, loff_t len) smb3_collapse_range() argument 3732 smb3_insert_range(struct file *file, struct cifs_tcon *tcon, loff_t off, loff_t len) smb3_insert_range() argument 3786 smb3_llseek(struct file *file, struct cifs_tcon *tcon, loff_t offset, int whence) smb3_llseek() argument 3870 smb3_fiemap(struct cifs_tcon *tcon, struct cifsFileInfo *cfile, struct fiemap_extent_info *fei, u64 start, u64 len) smb3_fiemap() argument 3945 smb3_fallocate(struct file *file, struct cifs_tcon *tcon, int mode, loff_t off, loff_t len) smb3_fallocate() argument 5106 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...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_tcon.c | 19 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon) in fsl_tcon_bypass_disable() argument 21 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_disable() 25 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon) in fsl_tcon_bypass_enable() argument 27 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_enable() 37 .name = "tcon", 41 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() 54 tcon->regs = devm_regmap_init_mmio(dev, regs, in fsl_tcon_init_regmap() 56 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap() 61 struct fsl_tcon *tcon; in fsl_tcon_init() local 66 np = of_parse_phandle(dev->of_node, "fsl,tcon", in fsl_tcon_init() 40 fsl_tcon_init_regmap(struct device *dev, struct fsl_tcon *tcon, struct device_node *np) fsl_tcon_init_regmap() argument 102 fsl_tcon_free(struct fsl_tcon *tcon) fsl_tcon_free() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_tcon.c | 19 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon) in fsl_tcon_bypass_disable() argument 21 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_disable() 25 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon) in fsl_tcon_bypass_enable() argument 27 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_enable() 37 .name = "tcon", 41 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() 54 tcon->regs = devm_regmap_init_mmio(dev, regs, in fsl_tcon_init_regmap() 56 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap() 61 struct fsl_tcon *tcon; in fsl_tcon_init() local 66 np = of_parse_phandle(dev->of_node, "fsl,tcon", in fsl_tcon_init() 40 fsl_tcon_init_regmap(struct device *dev, struct fsl_tcon *tcon, struct device_node *np) fsl_tcon_init_regmap() argument 102 fsl_tcon_free(struct fsl_tcon *tcon) fsl_tcon_free() argument [all...] |