Home
last modified time | relevance | path

Searched refs:ectx (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dcgrp.c36 if (ectx) { in nvkm_cgrp_ectx_put()
42 list_del(&ectx->head); in nvkm_cgrp_ectx_put()
43 kfree(ectx); in nvkm_cgrp_ectx_put()
59 struct nvkm_ectx *ectx; in nvkm_cgrp_ectx_get() local
63 ectx = nvkm_list_find(ectx, &cgrp->ectxs, head, ectx->engn == engn); in nvkm_cgrp_ectx_get()
64 if (ectx) { in nvkm_cgrp_ectx_get()
66 *pectx = ectx; in nvkm_cgrp_ectx_get()
72 if (!(ectx = *pectx = kzalloc(sizeof(*ectx), GFP_KERNEL))) in nvkm_cgrp_ectx_get()
75 ectx->engn = engn; in nvkm_cgrp_ectx_get()
122 struct nvkm_ectx *ectx; in nvkm_cgrp_vctx_get() local
[all …]
H A Duchan.c80 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_fini_1() local
82 if (!ectx->object) in nvkm_uchan_object_fini_1()
87 nvkm_chan_cctx_bind(chan, ectx->engn, NULL); in nvkm_uchan_object_fini_1()
89 if (refcount_dec_and_test(&ectx->uses)) in nvkm_uchan_object_fini_1()
90 nvkm_object_fini(ectx->object, false); in nvkm_uchan_object_fini_1()
103 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_init_0() local
106 if (!ectx->object) in nvkm_uchan_object_init_0()
113 if (!refcount_inc_not_zero(&ectx->uses)) { in nvkm_uchan_object_init_0()
114 ret = nvkm_object_init(ectx->object); in nvkm_uchan_object_init_0()
116 refcount_set(&ectx->uses, 1); in nvkm_uchan_object_init_0()
[all …]
H A Dcgrp.h9 struct nvkm_ectx *ectx; member
H A Dchan.c77 struct nvkm_engn *engn = cctx->vctx->ectx->engn; in nvkm_chan_cctx_put()
103 cctx->vctx->ectx->engn == engn && cctx->vctx->vmm == chan->vmm); in nvkm_chan_cctx_get()
/linux-6.15/fs/efivarfs/
H A Dsuper.c406 struct efivarfs_ctx *ectx = container_of(ctx, struct efivarfs_ctx, ctx); in efivarfs_actor() local
408 struct dentry *dentry = d_hash_and_lookup(ectx->sb->s_root, &qstr); in efivarfs_actor()
429 ectx->dentry = dentry; in efivarfs_actor()
496 struct efivarfs_ctx ectx = { in efivarfs_pm_notify() local
564 ectx.dentry = NULL; in efivarfs_pm_notify()
565 iterate_dir(file, &ectx.ctx); in efivarfs_pm_notify()
566 if (ectx.dentry) { in efivarfs_pm_notify()
568 ectx.dentry); in efivarfs_pm_notify()
569 simple_recursive_removal(ectx.dentry, NULL); in efivarfs_pm_notify()
570 dput(ectx.dentry); in efivarfs_pm_notify()
[all …]
/linux-6.15/drivers/gpu/drm/radeon/
H A Datom.c1175 atom_exec_context ectx; in atom_execute_table_locked() local
1188 ectx.ctx = ctx; in atom_execute_table_locked()
1190 ectx.start = base; in atom_execute_table_locked()
1191 ectx.ps = params; in atom_execute_table_locked()
1193 ectx.abort = false; in atom_execute_table_locked()
1194 ectx.last_jump = 0; in atom_execute_table_locked()
1197 ectx.ws_size = ws; in atom_execute_table_locked()
1199 ectx.ws = NULL; in atom_execute_table_locked()
1200 ectx.ws_size = 0; in atom_execute_table_locked()
1210 if (ectx.abort) { in atom_execute_table_locked()
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Datom.c1226 atom_exec_context ectx; in amdgpu_atom_execute_table_locked() local
1239 ectx.ctx = ctx; in amdgpu_atom_execute_table_locked()
1241 ectx.start = base; in amdgpu_atom_execute_table_locked()
1242 ectx.ps = params; in amdgpu_atom_execute_table_locked()
1244 ectx.abort = false; in amdgpu_atom_execute_table_locked()
1245 ectx.last_jump = 0; in amdgpu_atom_execute_table_locked()
1249 ectx.ws_size = ws; in amdgpu_atom_execute_table_locked()
1251 ectx.ws = NULL; in amdgpu_atom_execute_table_locked()
1252 ectx.ws_size = 0; in amdgpu_atom_execute_table_locked()
1262 if (ectx.abort) { in amdgpu_atom_execute_table_locked()
[all …]