Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/sun4i/
A Dsun4i_tcon.c95 clk = tcon->dclk; in sun4i_tcon_channel_set_status()
102 clk = tcon->sclk1; in sun4i_tcon_channel_set_status()
182 tcon->quirks->setup_lvds_phy(tcon, encoder); in sun4i_tcon_lvds_set_status()
256 return tcon; in sun4i_get_tcon0()
270 ret = tcon->quirks->set_mux(tcon, encoder); in sun4i_tcon_set_mux()
517 tcon->dclk_min_div = tcon->quirks->dclk_min_div; in sun4i_tcon0_mode_set_rgb()
1127 tcon = devm_kzalloc(dev, sizeof(*tcon), GFP_KERNEL); in sun4i_tcon_bind()
1128 if (!tcon) in sun4i_tcon_bind()
1131 tcon->drm = drm; in sun4i_tcon_bind()
1132 tcon->dev = dev; in sun4i_tcon_bind()
[all …]
A Dsun4i_tcon_dclk.c18 struct sun4i_tcon *tcon; member
74 struct sun4i_tcon *tcon = dclk->tcon; in sun4i_dclk_round_rate() local
79 for (i = tcon->dclk_min_div; i <= tcon->dclk_max_div; i++) { in sun4i_dclk_round_rate()
172 parent_name = __clk_get_name(tcon->sclk0); in sun4i_dclk_create()
182 dclk->tcon = tcon; in sun4i_dclk_create()
190 dclk->regmap = tcon->regs; in sun4i_dclk_create()
193 tcon->dclk = clk_register(dev, &dclk->hw); in sun4i_dclk_create()
194 if (IS_ERR(tcon->dclk)) in sun4i_dclk_create()
195 return PTR_ERR(tcon->dclk); in sun4i_dclk_create()
201 int sun4i_dclk_free(struct sun4i_tcon *tcon) in sun4i_dclk_free() argument
[all …]
/linux/fs/smb/client/
A Dfscache.c26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency() argument
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()
54 tcon->fscache_acquired = true; in cifs_fscache_get_super_cookie()
56 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
97 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_fscache_get_super_cookie()
100 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_fscache_get_super_cookie()
104 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie()
122 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
[all …]
A Dioctl.c125 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info()
174 struct cifs_tcon *tcon; in cifs_shutdown() local
187 tcon = tlink_tcon(tlink); in cifs_shutdown()
261 ses = tcon->ses; in cifs_dump_full_key()
359 struct cifs_tcon *tcon; in cifs_ioctl() local
435 xid, tcon, pSMBFile); in cifs_ioctl()
451 tcon, pSMBFile); in cifs_ioctl()
468 tcon = tlink_tcon(tlink); in cifs_ioctl()
481 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon, in cifs_ioctl()
558 if (tcon && tcon->ses->server->ops->notify) { in cifs_ioctl()
[all …]
A Dsmb1ops.c519 CIFSSMBQFSDeviceInfo(xid, tcon); in cifs_qfs_tcon()
520 CIFSSMBQFSAttributeInfo(xid, tcon); in cifs_qfs_tcon()
546 struct cifs_tcon *tcon, in cifs_query_path_info() argument
583 .tcon = tcon, in cifs_query_path_info()
674 (long long)(tcon->bytes_read)); in cifs_print_stats()
802 struct cifs_tcon *tcon; in smb_set_file_info() local
819 tcon = tlink_tcon(tlink); in smb_set_file_info()
831 .tcon = tcon, in smb_set_file_info()
976 struct cifs_tcon *tcon, in cifs_query_symlink() argument
985 if (!cap_unix(tcon->ses)) in cifs_query_symlink()
[all …]
A Dsmb2proto.h62 struct cifs_tcon *tcon,
68 struct cifs_tcon *tcon,
74 struct cifs_tcon *tcon,
85 umode_t mode, struct cifs_tcon *tcon,
89 umode_t mode, struct cifs_tcon *tcon,
100 struct cifs_tcon *tcon,
105 struct cifs_tcon *tcon,
147 const char *tree, struct cifs_tcon *tcon,
191 struct cifs_tcon *tcon,
300 struct cifs_tcon *tcon,
[all …]
A Dsmb2inode.c660 tcon->tid, rc); in smb2_compound_op()
663 tcon->tid); in smb2_compound_op()
687 tcon->tid, rc); in smb2_compound_op()
690 tcon->tid); in smb2_compound_op()
742 tcon->tid, rc); in smb2_compound_op()
745 tcon->tid); in smb2_compound_op()
754 tcon->tid); in smb2_compound_op()
772 tcon->tid); in smb2_compound_op()
796 tcon->tid); in smb2_compound_op()
1170 struct cifs_tcon *tcon; in smb2_set_file_info() local
[all …]
A Ddfs.c216 struct cifs_tcon *tcon; in __dfs_mount_share() local
240 tcon = mnt_ctx->tcon; in __dfs_mount_share()
241 spin_lock(&tcon->tc_lock); in __dfs_mount_share()
419 spin_lock(&tcon->tc_lock); in __tree_connect_ipc()
423 tcon->status = TID_GOOD; in __tree_connect_ipc()
486 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
498 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
564 if (tcon->need_reconnect) in cifs_tree_connect()
587 if (tcon->ipc) { in cifs_tree_connect()
591 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, nlsc); in cifs_tree_connect()
[all …]
A Dcifs_swn.c32 struct cifs_tcon *tcon; member
50 if (tcon->ses->user_name != NULL) { in cifs_swn_auth_info_ntlm()
56 if (tcon->ses->password != NULL) { in cifs_swn_auth_info_ntlm()
62 if (tcon->ses->domainName != NULL) { in cifs_swn_auth_info_ntlm()
141 authtype = cifs_select_sectype(swnreg->tcon->ses->server, swnreg->tcon->ses->sectype); in cifs_swn_send_register_message()
313 reg = cifs_find_swn_reg(tcon); in cifs_get_swn_reg()
356 reg->tcon = tcon; in cifs_get_swn_reg()
483 ret = cifs_swn_unregister(tcon); in cifs_swn_reconnect()
494 ret = cifs_swn_register(tcon); in cifs_swn_reconnect()
594 swnreg = cifs_get_swn_reg(tcon); in cifs_swn_register()
[all …]
A Dcifsproto.h79 struct cifs_tcon *tcon,
359 struct cifs_tcon *tcon,
386 struct cifs_tcon *tcon);
400 struct cifs_tcon *tcon,
422 struct cifs_tcon *tcon,
458 struct cifs_tcon *tcon,
463 struct cifs_tcon *tcon,
467 struct cifs_tcon *tcon,
471 struct cifs_tcon *tcon,
692 struct cifs_tcon *tcon,
[all …]
A Dsmb2pdu.c78 if (!tcon || !tcon->ses) in smb3_encryption_required()
132 if (!tcon) in smb2_hdr_assemble()
143 if (tcon->ses) in smb2_hdr_assemble()
3197 struct cifs_tcon *tcon = oparms->tcon; in SMB2_open() local
4393 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload() local
4608 tcon->tid, tcon->ses->Suid, in smb2_readv_callback()
4617 tcon->tid, tcon->ses->Suid, in smb2_readv_callback()
4902 tcon->tid, tcon->ses->Suid, in smb2_writev_callback()
4939 .tcon = tcon, in smb2_async_writev()
5143 io_parms->tcon->tid, io_parms->tcon->ses->Suid, in SMB2_write()
[all …]
A Dsmb2misc.c614 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local
677 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break() local
756 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid() local
794 cancelled->tcon = tcon; in __smb2_handle_cancelled_cmd()
811 if (tcon->tc_count <= 0) { in smb2_handle_cancelled_close()
814 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in smb2_handle_cancelled_close()
819 if (tcon->ses) in smb2_handle_cancelled_close()
827 tcon->tc_count++; in smb2_handle_cancelled_close()
828 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in smb2_handle_cancelled_close()
845 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid() local
[all …]
A Dconnect.c2432 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_find_tcon()
2436 return tcon; in cifs_find_tcon()
2453 if (tcon == NULL || tcon->ipc) in cifs_put_tcon()
2537 if (tcon) { in cifs_get_tcon()
2544 return tcon; in cifs_get_tcon()
2751 return tcon; in cifs_get_tcon()
3499 mnt_ctx->tcon = tcon; in cifs_mount_get_tcon()
3587 struct cifs_tcon *tcon = mnt_ctx->tcon; in cifs_is_path_remote() local
3839 if (tcon->need_reconnect && tcon->unix_ext) { in CIFSTCon()
4133 return tcon; in cifs_construct_tcon()
[all …]
A Dlink.c177 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
212 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
263 .tcon = tcon, in cifs_query_mf_symlink()
284 io_parms.tcon = tcon; in cifs_query_mf_symlink()
306 .tcon = tcon, in cifs_create_mf_symlink()
321 io_parms.tcon = tcon; in cifs_create_mf_symlink()
349 .tcon = tcon, in smb3_query_mf_symlink()
383 io_parms.tcon = tcon; in smb3_query_mf_symlink()
417 .tcon = tcon, in smb3_create_mf_symlink()
436 io_parms.tcon = tcon; in smb3_create_mf_symlink()
[all …]
A Ddir.c209 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
316 .tcon = tcon,
376 if (tcon->unix_ext)
439 struct cifs_tcon *tcon; local
489 tcon = tlink_tcon(tlink);
562 struct cifs_tcon *tcon; local
605 struct cifs_tcon *tcon; local
630 trace_smb3_mknod_enter(xid, tcon->ses->Suid, tcon->tid, full_path);
632 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,
638 trace_smb3_mknod_err(xid, tcon->ses->Suid, tcon->tid, rc);
[all …]
A Dcifsfs.c204 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
247 tcon->ses->server->ops->negotiate_rsize(tcon, cifs_sb->ctx); in cifs_read_super()
262 if (tcon->nocase) in cifs_read_super()
573 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0) in cifs_show_options()
614 if (tcon->seal) in cifs_show_options()
618 if (tcon->nocase) in cifs_show_options()
626 if (tcon->retry) in cifs_show_options()
759 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_umount_begin()
761 if ((tcon->tc_count > 1) || (tcon->status == TID_EXITING)) { in cifs_umount_begin()
779 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
[all …]
A Dsmb2ops.c853 .tcon = tcon, in smb3_qfs_tcon()
897 .tcon = tcon, in smb2_qfs_tcon()
945 .tcon = tcon, in smb2_is_path_accessible()
1239 .tcon = tcon, in smb2_set_ea()
1608 .tcon = tcon, in smb2_ioctl_query_info()
2273 .tcon = tcon, in smb3_notify()
2352 .tcon = tcon, in smb2_query_dir_first()
2741 .tcon = tcon, in smb2_query_info_compound()
2891 .tcon = tcon, in smb311_queryfs()
3117 .tcon = tcon, in get_smb2_acl_by_path()
[all …]
A Dfile.c473 struct cifs_tcon *tcon; in cifs_posix_open() local
584 .tcon = tcon, in cifs_nt_open()
606 if (tcon->unix_ext) in cifs_nt_open()
948 struct cifs_tcon *tcon; in cifs_open() local
1012 if (!tcon->broken_posix_open && tcon->unix_ext && in cifs_open()
1146 struct cifs_tcon *tcon; in cifs_reopen_file() local
1195 if (tcon->unix_ext && cap_unix(tcon->ses) && in cifs_reopen_file()
1238 .tcon = tcon, in cifs_reopen_file()
1408 if (!tcon->use_persistent || !tcon->need_reopen_files) in cifs_reopen_persistent_handles()
2310 tcon->ses->server); in cifs_flock()
[all …]
A Dinode.c560 .tcon = tcon, in cifs_sfu_type()
583 io_parms.tcon = tcon; in cifs_sfu_type()
674 tcon->ses->server->ops->close(xid, tcon, &fid); in cifs_sfu_type()
706 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path, in cifs_sfu_mode()
837 if (!tcon->unix_ext) in cifs_open_info_to_fattr()
981 if (tcon->unix_ext) in cifs_backup_query_path_info()
1694 .tcon = tcon, in cifs_rename_pending_delete()
2011 tcon, xid);
2296 .tcon = tcon,
2848 if (tcon == NULL) {
[all …]
A Dcifssmb.c83 if (!tcon) in cifs_reconnect_tcon()
86 ses = tcon->ses; in cifs_reconnect_tcon()
127 if (tcon->retry) in cifs_reconnect_tcon()
228 tcon, wct); in small_smb_init()
520 if ((tcon->ses == NULL) || (tcon->ses->server == NULL)) in CIFSSMBTDis()
1153 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() local
1422 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead() local
1530 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBWrite() local
1799 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBWrite2() local
2762 .tcon = tcon, in cifs_query_reparse_point()
[all …]
A Dcached_dir.c150 if (tcon == NULL || tcon->cfids == NULL || tcon->nohandlecache || in open_cached_dir()
154 ses = tcon->ses; in open_cached_dir()
155 cfids = tcon->cfids; in open_cached_dir()
239 .tcon = tcon, in open_cached_dir()
289 tcon->need_reconnect = true; in open_cached_dir()
291 tcon->tree_name); in open_cached_dir()
295 cfid->tcon = tcon; in open_cached_dir()
477 struct cifs_tcon *tcon; in close_all_cached_dirs() local
483 tcon = tlink_tcon(tlink); in close_all_cached_dirs()
484 if (IS_ERR(tcon)) in close_all_cached_dirs()
[all …]
A Dnamespace.c126 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()
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()
156 spin_lock(&tcon->tc_lock); in automount_fullpath()
157 len = strlen(tcon->origin_fullpath); in automount_fullpath()
159 spin_unlock(&tcon->tc_lock); in automount_fullpath()
[all …]
/linux/drivers/gpu/drm/fsl-dcu/
A Dfsl_tcon.c41 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() argument
56 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap()
61 struct fsl_tcon *tcon; in fsl_tcon_init() local
70 tcon = devm_kzalloc(dev, sizeof(*tcon), GFP_KERNEL); in fsl_tcon_init()
71 if (!tcon) in fsl_tcon_init()
81 if (IS_ERR(tcon->ipg_clk)) { in fsl_tcon_init()
86 ret = clk_prepare_enable(tcon->ipg_clk); in fsl_tcon_init()
95 return tcon; in fsl_tcon_init()
102 void fsl_tcon_free(struct fsl_tcon *tcon) in fsl_tcon_free() argument
104 clk_disable_unprepare(tcon->ipg_clk); in fsl_tcon_free()
[all …]
/linux/Documentation/devicetree/bindings/display/
A Dallwinner,sun4i-a10-tcon.yaml23 - const: allwinner,sun4i-a10-tcon
24 - const: allwinner,sun5i-a13-tcon
25 - const: allwinner,sun6i-a31-tcon
27 - const: allwinner,sun7i-a20-tcon
186 - const: tcon-ch0
187 - const: tcon-ch1
205 - const: tcon-ch0
206 - const: tcon-ch1
225 - const: tcon-ch0
246 - const: tcon-ch0
[all …]
/linux/fs/smb/server/mgmt/
A Dtree_connect.c107 if (!atomic_dec_return(&tcon->refcount) && in ksmbd_tree_connect_put()
108 waitqueue_active(&tcon->refcount_q)) in ksmbd_tree_connect_put()
109 wake_up(&tcon->refcount_q); in ksmbd_tree_connect_put()
135 struct ksmbd_tree_connect *tcon; in ksmbd_tree_conn_lookup() local
138 tcon = xa_load(&sess->tree_conns, id); in ksmbd_tree_conn_lookup()
139 if (tcon) { in ksmbd_tree_conn_lookup()
140 if (tcon->t_state != TREE_CONNECTED) in ksmbd_tree_conn_lookup()
141 tcon = NULL; in ksmbd_tree_conn_lookup()
142 else if (!atomic_inc_not_zero(&tcon->refcount)) in ksmbd_tree_conn_lookup()
143 tcon = NULL; in ksmbd_tree_conn_lookup()
[all …]

Completed in 858 milliseconds

1234