Home
last modified time | relevance | path

Searched refs:tcon (Results 1 – 25 of 78) sorted by relevance

1234

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c84 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->regs, SUN4I_TCON0_LVDS_ANA1_REG, in sun4i_tcon_setup_lvds_phy()
[all …]
H A Dsun4i_rgb.c27 struct sun4i_tcon *tcon; member
66 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid() local
121 tcon->dclk_min_div = 6; in sun4i_rgb_mode_valid()
122 tcon->dclk_max_div = 127; in sun4i_rgb_mode_valid()
123 rounded_rate = clk_round_rate(tcon->dclk, rate); in sun4i_rgb_mode_valid()
189 int sun4i_rgb_init(struct drm_device *drm, struct sun4i_tcon *tcon) in sun4i_rgb_init() argument
198 rgb->tcon = tcon; in sun4i_rgb_init()
201 ret = drm_of_find_panel_or_bridge(tcon->dev->of_node, 1, 0, in sun4i_rgb_init()
218 rgb->encoder.possible_crtcs = drm_crtc_mask(&tcon->crtc->crtc); in sun4i_rgb_init()
/linux/fs/smb/client/
H A Dioctl.c31 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()
117 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info() argument
122 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info()
123 tcon_inf.session_id = tcon->ses->Suid; in smb_mnt_get_tcon_info()
131 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument
142 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo()
143 fsinf->tcon_flags = tcon in smb_mnt_get_fsinfo()
171 struct cifs_tcon *tcon; cifs_shutdown() local
237 cifs_dump_full_key(struct cifs_tcon * tcon,struct smb3_full_key_debug_info __user * in) cifs_dump_full_key() argument
356 struct cifs_tcon *tcon; cifs_ioctl() local
[all...]
H A Dfscache.c26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency() argument
30 cd->resource_id = cpu_to_le64(tcon->resource_id); in cifs_fscache_fill_volume_coherency()
31 cd->vol_create_time = tcon->vol_create_time; in cifs_fscache_fill_volume_coherency()
32 cd->vol_serial_number = cpu_to_le32(tcon->vol_serial_number); in cifs_fscache_fill_volume_coherency()
35 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument
38 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
46 if (tcon->fscache_acquired) in cifs_fscache_get_super_cookie()
49 mutex_lock(&tcon->fscache_lock); in cifs_fscache_get_super_cookie()
50 if (tcon->fscache_acquired) { in cifs_fscache_get_super_cookie()
51 mutex_unlock(&tcon->fscache_lock); in cifs_fscache_get_super_cookie()
[all …]
H A Dsmb1ops.c483 smb1_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_wsize() argument
485 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in smb1_negotiate_wsize()
486 struct TCP_Server_Info *server = tcon->ses->server; in smb1_negotiate_wsize()
492 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in smb1_negotiate_wsize()
498 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in smb1_negotiate_wsize()
518 smb1_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_rsize() argument
520 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in smb1_negotiate_rsize()
521 struct TCP_Server_Info *server = tcon->ses->server; in smb1_negotiate_rsize()
536 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in smb1_negotiate_rsize()
559 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() argument
[all …]
H A Ddfs.c206 struct cifs_tcon *tcon; in __dfs_mount_share() local
224 else if (WARN_ON(!mnt_ctx->tcon)) in __dfs_mount_share()
230 tcon = mnt_ctx->tcon; in __dfs_mount_share()
231 spin_lock(&tcon->tc_lock); in __dfs_mount_share()
232 tcon->origin_fullpath = origin_fullpath; in __dfs_mount_share()
234 ref_walk_set_tcon(rw, tcon); in __dfs_mount_share()
235 spin_unlock(&tcon->tc_lock); in __dfs_mount_share()
236 queue_delayed_work(dfscache_wq, &tcon->dfs_cache_work, in __dfs_mount_share()
337 struct cifs_tcon *tcon, in tree_connect_dfs_target() argument
342 const struct smb_version_operations *ops = tcon->ses->server->ops; in tree_connect_dfs_target()
[all …]
H A Dsmb2inode.c175 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument
187 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()
220 if (smb3_encryption_required(tcon)) in smb2_compound_op()
262 rc = SMB2_open_init(tcon, server, in smb2_compound_op()
269 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
288 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
297 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
307 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
313 trace_smb3_query_info_compound_enter(xid, tcon->tid, in smb2_compound_op()
322 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
[all …]
H A Dsmb2proto.h52 struct cifs_tcon *tcon,
58 struct cifs_tcon *tcon,
64 struct cifs_tcon *tcon,
68 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
75 umode_t mode, struct cifs_tcon *tcon,
79 umode_t mode, struct cifs_tcon *tcon,
83 struct cifs_tcon *tcon, const unsigned int xid);
84 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
86 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
90 struct cifs_tcon *tcon,
[all …]
H A Dcifs_swn.c32 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()
112 if (swnreg->tcon->ses->server->use_swn_dstaddr) in cifs_swn_send_register_message()
[all …]
H A Dsmb2pdu.c78 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument
80 if (!tcon || !tcon->ses) in smb3_encryption_required()
82 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required()
83 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required()
85 if (tcon->seal && in smb3_encryption_required()
86 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
89 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
96 const struct cifs_tcon *tcon, in smb2_hdr_assemble() argument
134 if (!tcon) in smb2_hdr_assemble()
143 shdr->Id.SyncId.TreeId = cpu_to_le32(tcon->tid); in smb2_hdr_assemble()
[all …]
H A Dcifsproto.h81 struct cifs_tcon *tcon,
166 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
170 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
172 extern int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode,
278 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
279 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
316 extern void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace);
327 int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon);
341 const char *tree, struct cifs_tcon *tcon,
344 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
H A Dlink.c137 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument
153 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink()
154 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
171 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument
189 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink()
190 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
228 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument
241 .tcon = tcon, in cifs_query_mf_symlink()
250 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &query_data); in cifs_query_mf_symlink()
262 io_parms.tcon = tcon; in cifs_query_mf_symlink()
[all …]
H A Ddir.c41 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() argument
54 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
63 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
75 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local
76 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry()
142 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
144 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name, in build_path_from_dentry_optional_prefix()
154 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
159 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
161 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength))) in check_name()
[all …]
H A Dsmb2misc.c543 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument
553 list_for_each_entry(cfile, &tcon->openFileList, tlist) { in smb2_tcon_has_lease()
582 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() argument
591 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease()
616 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local
638 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break()
639 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
641 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break()
642 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break()
643 spin_unlock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
[all …]
H A Dconnect.c104 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces() local
107 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces()
116 rc = server->ops->query_server_interfaces(xid, tcon, false); in smb2_query_server_interfaces()
123 queue_delayed_work(cifsiod_wq, &tcon->query_interfaces, in smb2_query_server_interfaces()
205 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect() local
275 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in cifs_mark_tcp_ses_conns_for_reconnect()
276 tcon->need_reconnect = true; in cifs_mark_tcp_ses_conns_for_reconnect()
277 spin_lock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect()
278 tcon->status = TID_NEED_RECON; in cifs_mark_tcp_ses_conns_for_reconnect()
279 spin_unlock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect()
[all …]
H A Dsmb2ops.c482 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize() argument
484 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize()
497 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize() argument
499 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize()
532 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize() argument
534 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize()
548 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize() argument
550 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize()
819 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces() argument
824 struct cifs_ses *ses = tcon in SMB3_request_interfaces()
866 smb3_qfs_tcon(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb) smb3_qfs_tcon() argument
911 smb2_qfs_tcon(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb) smb2_qfs_tcon() argument
942 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
1006 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
1014 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
1115 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
1164 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
1354 smb2_clear_stats(struct cifs_tcon * tcon) smb2_clear_stats() argument
1365 smb2_dump_share_caps(struct seq_file * m,struct cifs_tcon * tcon) smb2_dump_share_caps() argument
1398 smb2_print_stats(struct seq_file * m,struct cifs_tcon * tcon) smb2_print_stats() argument
1476 smb2_close_file(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid) smb2_close_file() argument
1483 smb2_close_getattr(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile) smb2_close_getattr() argument
1526 SMB2_request_res_key(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct copychunk_ioctl_req * pcchunk) SMB2_request_res_key() argument
1559 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
1817 calc_chunk_count(struct cifs_tcon * tcon,u64 bytes_left) calc_chunk_count() argument
1863 struct cifs_tcon *tcon; smb2_copychunk_range() local
2037 smb2_flush_file(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid) smb2_flush_file() argument
2085 smb2_set_sparse(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,struct inode * inode,__u8 setsparse) smb2_set_sparse() argument
2131 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
2163 struct cifs_tcon *tcon = tlink_tcon(trgtfile->tlink); smb2_duplicate_extents() local
2221 smb2_set_compression(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile) smb2_set_compression() argument
2229 smb3_set_integrity(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile) smb3_set_integrity() argument
2259 smb3_enum_snapshots(const unsigned int xid,struct cifs_tcon * tcon,struct cifsFileInfo * cfile,void __user * ioc_buf) smb3_enum_snapshots() argument
2353 struct cifs_tcon *tcon; smb3_notify() local
2426 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
2565 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
2574 smb2_close_dir(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_fid * fid) smb2_close_dir() argument
2646 struct cifs_tcon *tcon; smb2_is_network_name_deleted() local
2676 smb2_oplock_response(struct cifs_tcon * tcon,__u64 persistent_fid,__u64 volatile_fid,__u16 net_fid,struct cifsInodeInfo * cinode) smb2_oplock_response() argument
2719 smb2_set_next_command(struct cifs_tcon * tcon,struct smb_rqst * rqst) smb2_set_next_command() argument
2769 smb2_should_replay(struct cifs_tcon * tcon,int * pretries,int * pcur_sleep) smb2_should_replay() argument
2792 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
2949 smb2_queryfs(const unsigned int xid,struct cifs_tcon * tcon,const char * path,struct cifs_sb_info * cifs_sb,struct kstatfs * buf) smb2_queryfs() argument
2986 smb311_queryfs(const unsigned int xid,struct cifs_tcon * tcon,const char * path,struct cifs_sb_info * cifs_sb,struct kstatfs * buf) smb311_queryfs() argument
3070 struct cifs_tcon *tcon; smb2_get_dfs_refer() local
3208 struct cifs_tcon *tcon; get_smb2_acl_by_path() local
3273 struct cifs_tcon *tcon; set_smb2_acl() local
3343 smb3_zero_data(struct file * file,struct cifs_tcon * tcon,loff_t offset,loff_t len,unsigned int xid) smb3_zero_data() argument
3361 smb3_zero_range(struct file * file,struct cifs_tcon * tcon,unsigned long long offset,unsigned long long len,bool keep_size) smb3_zero_range() argument
3435 smb3_punch_hole(struct file * file,struct cifs_tcon * tcon,loff_t offset,loff_t len) smb3_punch_hole() argument
3501 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
3538 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
3621 smb3_simple_falloc(struct file * file,struct cifs_tcon * tcon,loff_t off,loff_t len,bool keep_size) smb3_simple_falloc() argument
3746 smb3_collapse_range(struct file * file,struct cifs_tcon * tcon,loff_t off,loff_t len) smb3_collapse_range() argument
3799 smb3_insert_range(struct file * file,struct cifs_tcon * tcon,loff_t off,loff_t len) smb3_insert_range() argument
3853 smb3_llseek(struct file * file,struct cifs_tcon * tcon,loff_t offset,int whence) smb3_llseek() argument
3937 smb3_fiemap(struct cifs_tcon * tcon,struct cifsFileInfo * cfile,struct fiemap_extent_info * fei,u64 start,u64 len) smb3_fiemap() argument
4012 smb3_fallocate(struct file * file,struct cifs_tcon * tcon,int mode,loff_t off,loff_t len) smb3_fallocate() argument
5159 __cifs_sfu_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev,const char * symname) __cifs_sfu_make_node() argument
5281 cifs_sfu_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) cifs_sfu_make_node() argument
5308 smb2_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) smb2_make_node() argument
[all...]
H A Dcifsfs.c136 struct cifs_tcon *tcon; in cifs_drop_all_dir_caches() local
143 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) in cifs_drop_all_dir_caches()
144 invalidate_all_cached_dirs(tcon); in cifs_drop_all_dir_caches()
232 struct cifs_tcon *tcon; in cifs_read_super() local
237 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super()
242 if (tcon->snapshot_time) in cifs_read_super()
245 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
257 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super()
258 ((tcon->ses->capabilities & in cifs_read_super()
259 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super()
[all …]
H A Dfile.c371 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() argument
378 spin_lock(&tcon->tc_lock); in cifs_mark_open_files_invalid()
379 if (tcon->need_reconnect) in cifs_mark_open_files_invalid()
380 tcon->status = TID_NEED_RECON; in cifs_mark_open_files_invalid()
382 if (tcon->status != TID_NEED_RECON) { in cifs_mark_open_files_invalid()
383 spin_unlock(&tcon->tc_lock); in cifs_mark_open_files_invalid()
386 tcon->status = TID_IN_FILES_INVALIDATE; in cifs_mark_open_files_invalid()
387 spin_unlock(&tcon->tc_lock); in cifs_mark_open_files_invalid()
390 spin_lock(&tcon->open_file_lock); in cifs_mark_open_files_invalid()
391 list_for_each_safe(tmp, tmp1, &tcon->openFileList) { in cifs_mark_open_files_invalid()
[all …]
H A Dcifssmb.c71 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument
82 if (!tcon) in cifs_reconnect_tcon()
85 ses = tcon->ses; in cifs_reconnect_tcon()
92 spin_lock(&tcon->tc_lock); in cifs_reconnect_tcon()
93 if (tcon->status == TID_EXITING) { in cifs_reconnect_tcon()
95 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
101 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
104 rc = cifs_wait_for_server_reconnect(server, tcon->retry); in cifs_reconnect_tcon()
109 if (!cifs_chan_needs_reconnect(ses, server) && !tcon->need_reconnect) { in cifs_reconnect_tcon()
129 if (!tcon->retry) in cifs_reconnect_tcon()
[all …]
H A Dinode.c405 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() local
417 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data); in cifs_get_file_info_unix()
441 struct cifs_tcon *tcon; in cifs_get_unix_fattr() local
450 tcon = tlink_tcon(tlink); in cifs_get_unix_fattr()
451 server = tcon->ses->server; in cifs_get_unix_fattr()
454 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
473 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
480 rc = server->ops->query_symlink(xid, tcon, in cifs_get_unix_fattr()
529 struct cifs_tcon *tcon; in cifs_sfu_type() local
558 tcon = tlink_tcon(tlink); in cifs_sfu_type()
[all …]
H A Dcached_dir.c134 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir() argument
163 if (tcon == NULL) in open_cached_dir()
166 ses = tcon->ses; in open_cached_dir()
167 cfids = tcon->cfids; in open_cached_dir()
186 cfid = find_or_create_cached_dir(cfids, path, lookup_only, tcon->max_cached_dirs); in open_cached_dir()
250 cfid->tcon = tcon; in open_cached_dir()
259 if (smb3_encryption_required(tcon)) in open_cached_dir()
274 .tcon = tcon, in open_cached_dir()
285 rc = SMB2_open_init(tcon, server, in open_cached_dir()
289 smb2_set_next_command(tcon, &rqst[0]); in open_cached_dir()
[all …]
H A Dcifs_debug.c92 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon() argument
94 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_tcon()
96 seq_printf(m, "%s Mounts: %d ", tcon->tree_name, tcon->tc_count); in cifs_debug_tcon()
97 if (tcon->nativeFileSystem) in cifs_debug_tcon()
98 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon()
100 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_tcon()
101 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_tcon()
102 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_tcon()
103 tcon->status); in cifs_debug_tcon()
111 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number); in cifs_debug_tcon()
[all …]
H A Dnamespace.c123 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in is_dfs_mount() local
126 spin_lock(&tcon->tc_lock); in is_dfs_mount()
127 ret = !!tcon->origin_fullpath; in is_dfs_mount()
128 spin_unlock(&tcon->tc_lock); in is_dfs_mount()
136 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in automount_fullpath() local
140 spin_lock(&tcon->tc_lock); in automount_fullpath()
141 if (!tcon->origin_fullpath) { in automount_fullpath()
142 spin_unlock(&tcon->tc_lock); in automount_fullpath()
147 spin_unlock(&tcon->tc_lock); in automount_fullpath()
159 spin_lock(&tcon->tc_lock); in automount_fullpath()
[all …]
H A Dmisc.c166 tconInfoFree(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in tconInfoFree() argument
168 if (tcon == NULL) { in tconInfoFree()
172 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, trace); in tconInfoFree()
173 free_cached_dirs(tcon->cfids); in tconInfoFree()
175 kfree(tcon->nativeFileSystem); in tconInfoFree()
176 kfree_sensitive(tcon->password); in tconInfoFree()
177 kfree(tcon->origin_fullpath); in tconInfoFree()
178 kfree(tcon); in tconInfoFree()
450 struct cifs_tcon *tcon; in is_valid_oplock_break() local
521 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in is_valid_oplock_break()
[all …]
/linux/drivers/pwm/
H A Dpwm-samsung.c124 u32 tcon; in __pwm_samsung_manual_update() local
126 tcon = readl(our_chip->base + REG_TCON); in __pwm_samsung_manual_update()
127 tcon |= TCON_MANUALUPDATE(tcon_chan); in __pwm_samsung_manual_update()
128 writel(tcon, our_chip->base + REG_TCON); in __pwm_samsung_manual_update()
130 tcon &= ~TCON_MANUALUPDATE(tcon_chan); in __pwm_samsung_manual_update()
131 writel(tcon, our_chip->base + REG_TCON); in __pwm_samsung_manual_update()
250 u32 tcon; in pwm_samsung_enable() local
254 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_enable()
256 tcon &= ~TCON_START(tcon_chan); in pwm_samsung_enable()
257 tcon |= TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable()
[all …]

1234