Symbol: exec
arch/alpha/boot/tools/objstrip.c
198
aout = (struct exec *) buf;
arch/alpha/boot/tools/objstrip.c
58
struct exec * aout; /* includes file & aout header */
arch/alpha/include/uapi/asm/a.out.h
90
(sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1))
arch/arc/mm/fault.c
107
exec = 1;
arch/arc/mm/fault.c
127
if (exec)
arch/arc/mm/fault.c
79
unsigned int write = 0, exec = 0, mask;
arch/mips/include/asm/sgiarcs.h
192
LONG exec; /* Load and begin execution of a
arch/mips/kernel/smp.c
634
int exec = vma->vm_flags & VM_EXEC;
arch/mips/kernel/smp.c
644
set_cpu_context(cpu, mm, !exec);
arch/mips/mm/c-r3k.c
240
int exec = vma->vm_flags & VM_EXEC;
arch/mips/mm/c-r3k.c
260
if (exec)
arch/mips/mm/c-r4k.c
473
int exec = vma->vm_flags & VM_EXEC;
arch/mips/mm/c-r4k.c
483
if (cpu_has_dc_aliases || (exec && !cpu_has_ic_fills_f_dc))
arch/mips/mm/c-r4k.c
486
if (exec)
arch/mips/mm/c-r4k.c
493
int exec = vma->vm_flags & VM_EXEC;
arch/mips/mm/c-r4k.c
495
if (cpu_has_dc_aliases || exec)
arch/mips/mm/c-r4k.c
543
int exec = vma->vm_flags & VM_EXEC;
arch/mips/mm/c-r4k.c
586
if (cpu_has_dc_aliases || (exec && !cpu_has_ic_fills_f_dc)) {
arch/mips/mm/c-r4k.c
589
if (exec && !cpu_icache_snoops_remote_store)
arch/mips/mm/c-r4k.c
592
if (exec) {
arch/mips/mm/cache.c
150
int exec = !pte_no_exec(pte) && !cpu_has_ic_fills_f_dc;
arch/mips/mm/cache.c
165
if (exec || pages_do_alias(addr, address))
arch/parisc/include/asm/processor.h
245
elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \
arch/powerpc/mm/book3s64/radix_pgtable.c
259
print_mapping(unsigned long start, unsigned long end, unsigned long size, bool exec)
arch/powerpc/mm/book3s64/radix_pgtable.c
269
exec ? " (exec)" : "");
arch/powerpc/mm/book3s64/radix_pgtable.c
303
bool prev_exec, exec = false;
arch/powerpc/mm/book3s64/radix_pgtable.c
324
prev_exec = exec;
arch/powerpc/mm/book3s64/radix_pgtable.c
344
exec = true;
arch/powerpc/mm/book3s64/radix_pgtable.c
347
exec = false;
arch/powerpc/mm/book3s64/radix_pgtable.c
350
if (mapping_size != previous_size || exec != prev_exec) {
arch/powerpc/mm/book3s64/radix_pgtable.c
362
print_mapping(start, addr, mapping_size, exec);
arch/sparc/include/uapi/asm/oradax.h
41
struct ccb_exec_result exec;
arch/sparc/mm/tlb.c
168
bool exec = pte_exec(*pte);
arch/sparc/mm/tlb.c
170
tlb_batch_add_one(mm, vaddr, exec, PAGE_SHIFT);
arch/sparc/mm/tlb.c
220
bool exec = pte_exec(orig_pte);
arch/sparc/mm/tlb.c
222
tlb_batch_add_one(mm, addr, exec, REAL_HPAGE_SHIFT);
arch/sparc/mm/tlb.c
223
tlb_batch_add_one(mm, addr + REAL_HPAGE_SIZE, exec,
arch/sparc/mm/tlb.c
79
bool exec, unsigned int hugepage_shift)
arch/sparc/mm/tlb.c
85
if (exec)
arch/x86/include/asm/elf.h
349
if (exec->e_machine == EM_X86_64) \
arch/x86/kvm/mmu/mmu.c
3436
fault->huge_page_disallowed = fault->exec && fault->nx_huge_page_workaround_enabled;
arch/x86/kvm/mmu/mmu_internal.h
233
const bool exec;
arch/x86/kvm/mmu/mmu_internal.h
336
PAGE_SIZE, fault->write, fault->exec,
arch/x86/kvm/mmu/mmu_internal.h
347
.exec = err & PFERR_FETCH_MASK,
arch/x86/kvm/mmu/spte.h
505
if (fault->exec)
arch/x86/kvm/vmx/vmcs.h
49
u32 exec;
arch/x86/kvm/vmx/vmx.h
619
BUILD_CONTROLS_SHADOW(exec, CPU_BASED_VM_EXEC_CONTROL, 32)
arch/x86/mm/pat/cpa-test.c
45
long lpg, gpg, spg, exec;
arch/x86/mm/pat/cpa-test.c
54
s->lpg = s->gpg = s->spg = s->exec = 0;
arch/x86/mm/pat/cpa-test.c
86
s->exec++;
arch/x86/mm/pat/cpa-test.c
96
s->spg, s->lpg, s->gpg, s->exec,
drivers/accel/qaic/qaic_data.c
1219
struct qaic_execute_entry *exec, unsigned int count,
drivers/accel/qaic/qaic_data.c
1223
struct qaic_partial_execute_entry *pexec = (struct qaic_partial_execute_entry *)exec;
drivers/accel/qaic/qaic_data.c
1237
is_partial ? pexec[i].handle : exec[i].handle);
drivers/accel/qaic/qaic_data.c
1313
struct qaic_execute_entry *exec, unsigned int count,
drivers/accel/qaic/qaic_data.c
1316
struct qaic_partial_execute_entry *pexec = (struct qaic_partial_execute_entry *)exec;
drivers/accel/qaic/qaic_data.c
1330
is_partial ? pexec[i].handle : exec[i].handle);
drivers/accel/qaic/qaic_data.c
1346
struct qaic_execute_entry *exec;
drivers/accel/qaic/qaic_data.c
1362
size = is_partial ? sizeof(struct qaic_partial_execute_entry) : sizeof(*exec);
drivers/accel/qaic/qaic_data.c
1366
exec = memdup_array_user(u64_to_user_ptr(args->data), args->hdr.count, size);
drivers/accel/qaic/qaic_data.c
1367
if (IS_ERR(exec))
drivers/accel/qaic/qaic_data.c
1368
return PTR_ERR(exec);
drivers/accel/qaic/qaic_data.c
1417
ret = send_bo_list_to_device(qdev, file_priv, exec, args->hdr.count, is_partial, dbc,
drivers/accel/qaic/qaic_data.c
1427
update_profiling_data(file_priv, exec, args->hdr.count, is_partial, received_ts,
drivers/accel/qaic/qaic_data.c
1442
kfree(exec);
drivers/bus/mhi/host/main.c
155
u32 exec;
drivers/bus/mhi/host/main.c
156
int ret = mhi_read_reg(mhi_cntrl, mhi_cntrl->bhi, BHI_EXECENV, &exec);
drivers/bus/mhi/host/main.c
158
return (ret) ? MHI_EE_MAX : exec;
drivers/connector/cn_proc.c
161
ev->event_data.exec.process_pid = task->pid;
drivers/connector/cn_proc.c
162
ev->event_data.exec.process_tgid = task->tgid;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1146
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1176
drm_exec_init(&ctx->exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1177
drm_exec_until_all_locked(&ctx->exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1178
ret = amdgpu_vm_lock_pd(vm, &ctx->exec, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1179
drm_exec_retry_on_contention(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1183
ret = drm_exec_prepare_obj(&ctx->exec, &bo->tbo.base, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1184
drm_exec_retry_on_contention(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1192
drm_exec_fini(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1215
drm_exec_init(&ctx->exec, DRM_EXEC_INTERRUPTIBLE_WAIT |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1217
drm_exec_until_all_locked(&ctx->exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1226
&ctx->exec, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1227
drm_exec_retry_on_contention(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1233
ret = drm_exec_prepare_obj(&ctx->exec, &bo->tbo.base, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1234
drm_exec_retry_on_contention(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1242
drm_exec_fini(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1264
drm_exec_fini(&ctx->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2668
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2677
drm_exec_init(&exec, 0, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2679
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2683
ret = amdgpu_vm_lock_pd(peer_vm, &exec, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2684
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2695
ret = drm_exec_prepare_obj(&exec, gobj, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2696
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2751
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2928
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2935
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2936
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2939
ret = amdgpu_vm_lock_pd(peer_vm, &exec, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2940
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2955
ret = drm_exec_prepare_obj(&exec, gobj, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2956
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
3004
ret = process_validate_vms(process_info, drm_exec_ticket(&exec));
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
3045
ret = amdgpu_vm_handle_moved(adev, peer_vm, drm_exec_ticket(&exec));
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
3125
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
881
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
962
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
963
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
964
ret = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
965
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
968
ret = drm_exec_lock_obj(&exec, &bo[i]->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
969
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
980
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1159
r = amdgpu_vm_handle_moved(adev, vm, drm_exec_ticket(&p->exec));
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1212
drm_exec_for_each_locked_object(&p->exec, obj) {
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1332
drm_exec_for_each_locked_object(&p->exec, gobj) {
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1363
amdgpu_vm_bo_trace_cs(&fpriv->vm, drm_exec_ticket(&p->exec));
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1384
drm_exec_fini(&parser->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1798
if (dma_resv_locking_ctx((*bo)->tbo.base.resv) != drm_exec_ticket(&parser->exec))
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
64
drm_exec_init(&p->exec, DRM_EXEC_INTERRUPTIBLE_WAIT |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
902
drm_exec_until_all_locked(&p->exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
903
r = amdgpu_vm_lock_pd(&fpriv->vm, &p->exec, 1 + p->gang_size);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
904
drm_exec_retry_on_contention(&p->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
909
r = drm_exec_prepare_obj(&p->exec, &e->bo->tbo.base,
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
911
drm_exec_retry_on_contention(&p->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
919
r = drm_exec_prepare_obj(&p->exec, &p->uf_bo->tbo.base,
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
921
drm_exec_retry_on_contention(&p->exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
962
drm_exec_for_each_locked_object(&p->exec, obj) {
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
66
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
103
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
111
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
114
drm_exec_init(&exec, 0, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
115
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
116
r = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
118
r = drm_exec_lock_obj(&exec, &bo->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
119
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
137
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
69
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
72
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
73
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
74
r = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
76
r = drm_exec_lock_obj(&exec, &bo->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
77
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
219
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
251
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 1 + coredump->num_ibs);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
252
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
253
vm = amdgpu_vm_lock_by_pasid(adev, coredump->pasid, &exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
266
r = drm_exec_lock_obj(&exec, &abo->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
267
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
333
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
120
struct drm_exec *exec)
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
142
drm_exec_for_each_locked_object(exec, obj) {
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.h
64
struct drm_exec *exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1001
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1014
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1027
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1029
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1030
r = drm_exec_lock_obj(&exec, gobj);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1031
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1036
r = amdgpu_vm_lock_pd(&fpriv->vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1037
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1052
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1084
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1134
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1146
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1153
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
239
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
250
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
251
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
252
r = drm_exec_prepare_obj(&exec, &abo->tbo.base, TTM_NUM_MOVE_FENCES + 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
253
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
257
r = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
258
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
274
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
310
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
324
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
327
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
328
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
329
r = drm_exec_prepare_obj(&exec, &bo->tbo.base, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
330
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
334
r = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
335
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
365
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
829
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
902
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
904
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
906
r = drm_exec_lock_obj(&exec, gobj);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
907
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
912
r = amdgpu_vm_lock_pd(&fpriv->vm, &exec, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
913
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1439
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1479
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1480
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1481
r = amdgpu_vm_lock_pd(&fpriv->vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1482
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1488
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
114
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
130
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
142
drm_exec_init(&exec, 0, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
143
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
144
r = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
146
r = drm_exec_lock_obj(&exec, &bo->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
147
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
157
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
71
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
79
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
80
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
81
r = amdgpu_vm_lock_pd(vm, &exec, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
83
r = drm_exec_lock_obj(&exec, &bo->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
84
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
1055
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
1083
ret = amdgpu_evf_mgr_rearm(&fpriv->evf_mgr, &exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
1088
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
919
amdgpu_userq_bo_validate(struct amdgpu_device *adev, struct drm_exec *exec,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
935
ret = drm_exec_prepare_obj(exec, &bo->tbo.base, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
969
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
976
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
977
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
978
ret = amdgpu_vm_lock_pd(vm, &exec, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
979
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
983
ret = amdgpu_vm_lock_individual(vm, &exec, TTM_NUM_MOVE_FENCES + 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
984
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
996
ret = amdgpu_userq_bo_validate(adev, &exec, vm);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
997
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
373
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
380
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
381
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
382
ret = amdgpu_vm_lock_pd(queue->vm, &exec, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
383
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
393
ret = drm_exec_lock_obj(&exec, &mapping->bo_va->base.bo->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
394
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
409
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
413
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
466
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
538
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
541
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
542
r = drm_exec_prepare_array(&exec, gobj_read,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
544
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
548
r = drm_exec_prepare_array(&exec, gobj_write,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
550
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
571
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
605
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
644
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
647
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
648
r = drm_exec_prepare_array(&exec, gobj_read,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
650
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
654
r = drm_exec_prepare_array(&exec, gobj_write,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
656
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
686
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
720
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
779
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
782
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
783
r = drm_exec_prepare_array(&exec, gobj_read,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
785
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
789
r = drm_exec_prepare_array(&exec, gobj_write,
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
791
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
824
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
901
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2933
u32 pasid, struct drm_exec *exec)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2948
r = drm_exec_lock_obj(exec, &root->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2961
drm_exec_unlock_obj(exec, &root->tbo.base);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2991
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2996
drm_exec_init(&exec, 0, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2997
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2998
vm = amdgpu_vm_lock_by_pasid(adev, pasid, &exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2999
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3004
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3018
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3025
drm_exec_init(&exec, 0, 1);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3026
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3027
vm = amdgpu_vm_lock_by_pasid(adev, pasid, &exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3028
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3033
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
3073
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
452
int amdgpu_vm_lock_pd(struct amdgpu_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
456
return drm_exec_prepare_obj(exec, &vm->root.bo->tbo.base,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
468
int amdgpu_vm_lock_individual(struct amdgpu_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
486
ret = drm_exec_prepare_obj(exec, &bo->tbo.base, num_fences);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
508
int amdgpu_vm_lock_pd(struct amdgpu_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
510
int amdgpu_vm_lock_individual(struct amdgpu_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
596
u32 pasid, struct drm_exec *exec);
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2118
bool exec = flags & AMDGPU_FENCE_FLAG_EXEC;
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
2140
(exec ? EOP_EXEC : 0)));
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6144
bool exec = flags & AMDGPU_FENCE_FLAG_EXEC;
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6169
(exec ? EOP_EXEC : 0)));
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
5589
bool exec = flags & AMDGPU_FENCE_FLAG_EXEC;
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
5603
if (exec)
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
43
struct drm_exec exec;
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
48
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 2);
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
49
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
50
ret = amdgpu_vm_lock_pd(vm, &exec, 1);
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
51
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
62
ret = drm_exec_lock_obj(&exec, &obj->tbo.base);
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
63
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
89
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
97
drm_exec_fini(&exec);
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1585
struct drm_exec exec;
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1595
drm_exec_init(&ctx->exec, intr ? DRM_EXEC_INTERRUPTIBLE_WAIT: 0, 0);
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1596
drm_exec_until_all_locked(&ctx->exec) {
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1606
r = amdgpu_vm_lock_pd(vm, &ctx->exec, 2);
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1607
drm_exec_retry_on_contention(&ctx->exec);
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1635
drm_exec_fini(&ctx->exec);
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
1641
drm_exec_fini(&ctx->exec);
drivers/gpu/drm/drm_exec.c
101
drm_exec_unlock_all(exec);
drivers/gpu/drm/drm_exec.c
102
kvfree(exec->objects);
drivers/gpu/drm/drm_exec.c
103
if (exec->contended != DRM_EXEC_DUMMY) {
drivers/gpu/drm/drm_exec.c
104
drm_gem_object_put(exec->contended);
drivers/gpu/drm/drm_exec.c
105
ww_acquire_fini(&exec->ticket);
drivers/gpu/drm/drm_exec.c
118
bool drm_exec_cleanup(struct drm_exec *exec)
drivers/gpu/drm/drm_exec.c
120
if (likely(!exec->contended)) {
drivers/gpu/drm/drm_exec.c
121
ww_acquire_done(&exec->ticket);
drivers/gpu/drm/drm_exec.c
125
if (likely(exec->contended == DRM_EXEC_DUMMY)) {
drivers/gpu/drm/drm_exec.c
126
exec->contended = NULL;
drivers/gpu/drm/drm_exec.c
127
ww_acquire_init(&exec->ticket, &reservation_ww_class);
drivers/gpu/drm/drm_exec.c
131
drm_exec_unlock_all(exec);
drivers/gpu/drm/drm_exec.c
132
exec->num_objects = 0;
drivers/gpu/drm/drm_exec.c
138
static int drm_exec_obj_locked(struct drm_exec *exec,
drivers/gpu/drm/drm_exec.c
141
if (unlikely(exec->num_objects == exec->max_objects)) {
drivers/gpu/drm/drm_exec.c
142
size_t size = exec->max_objects * sizeof(void *);
drivers/gpu/drm/drm_exec.c
145
tmp = kvrealloc(exec->objects, size + PAGE_SIZE, GFP_KERNEL);
drivers/gpu/drm/drm_exec.c
149
exec->objects = tmp;
drivers/gpu/drm/drm_exec.c
150
exec->max_objects += PAGE_SIZE / sizeof(void *);
drivers/gpu/drm/drm_exec.c
153
exec->objects[exec->num_objects++] = obj;
drivers/gpu/drm/drm_exec.c
159
static int drm_exec_lock_contended(struct drm_exec *exec)
drivers/gpu/drm/drm_exec.c
161
struct drm_gem_object *obj = exec->contended;
drivers/gpu/drm/drm_exec.c
168
exec->contended = NULL;
drivers/gpu/drm/drm_exec.c
169
if (exec->flags & DRM_EXEC_INTERRUPTIBLE_WAIT) {
drivers/gpu/drm/drm_exec.c
171
&exec->ticket);
drivers/gpu/drm/drm_exec.c
175
dma_resv_lock_slow(obj->resv, &exec->ticket);
drivers/gpu/drm/drm_exec.c
178
ret = drm_exec_obj_locked(exec, obj);
drivers/gpu/drm/drm_exec.c
182
exec->prelocked = obj;
drivers/gpu/drm/drm_exec.c
204
int drm_exec_lock_obj(struct drm_exec *exec, struct drm_gem_object *obj)
drivers/gpu/drm/drm_exec.c
208
ret = drm_exec_lock_contended(exec);
drivers/gpu/drm/drm_exec.c
212
if (exec->prelocked == obj) {
drivers/gpu/drm/drm_exec.c
213
drm_gem_object_put(exec->prelocked);
drivers/gpu/drm/drm_exec.c
214
exec->prelocked = NULL;
drivers/gpu/drm/drm_exec.c
218
if (exec->flags & DRM_EXEC_INTERRUPTIBLE_WAIT)
drivers/gpu/drm/drm_exec.c
219
ret = dma_resv_lock_interruptible(obj->resv, &exec->ticket);
drivers/gpu/drm/drm_exec.c
221
ret = dma_resv_lock(obj->resv, &exec->ticket);
drivers/gpu/drm/drm_exec.c
225
exec->contended = obj;
drivers/gpu/drm/drm_exec.c
230
exec->flags & DRM_EXEC_IGNORE_DUPLICATES)
drivers/gpu/drm/drm_exec.c
236
ret = drm_exec_obj_locked(exec, obj);
drivers/gpu/drm/drm_exec.c
257
void drm_exec_unlock_obj(struct drm_exec *exec, struct drm_gem_object *obj)
drivers/gpu/drm/drm_exec.c
261
for (i = exec->num_objects; i--;) {
drivers/gpu/drm/drm_exec.c
262
if (exec->objects[i] == obj) {
drivers/gpu/drm/drm_exec.c
264
for (++i; i < exec->num_objects; ++i)
drivers/gpu/drm/drm_exec.c
265
exec->objects[i - 1] = exec->objects[i];
drivers/gpu/drm/drm_exec.c
266
--exec->num_objects;
drivers/gpu/drm/drm_exec.c
286
int drm_exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj,
drivers/gpu/drm/drm_exec.c
291
ret = drm_exec_lock_obj(exec, obj);
drivers/gpu/drm/drm_exec.c
297
drm_exec_unlock_obj(exec, obj);
drivers/gpu/drm/drm_exec.c
318
int drm_exec_prepare_array(struct drm_exec *exec,
drivers/gpu/drm/drm_exec.c
326
ret = drm_exec_prepare_obj(exec, objects[i], num_fences);
drivers/gpu/drm/drm_exec.c
52
static void drm_exec_unlock_all(struct drm_exec *exec)
drivers/gpu/drm/drm_exec.c
56
drm_exec_for_each_locked_object_reverse(exec, obj) {
drivers/gpu/drm/drm_exec.c
61
drm_gem_object_put(exec->prelocked);
drivers/gpu/drm/drm_exec.c
62
exec->prelocked = NULL;
drivers/gpu/drm/drm_exec.c
76
void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr)
drivers/gpu/drm/drm_exec.c
81
exec->flags = flags;
drivers/gpu/drm/drm_exec.c
82
exec->objects = kvmalloc_array(nr, sizeof(void *), GFP_KERNEL);
drivers/gpu/drm/drm_exec.c
85
exec->max_objects = exec->objects ? nr : 0;
drivers/gpu/drm/drm_exec.c
86
exec->num_objects = 0;
drivers/gpu/drm/drm_exec.c
87
exec->contended = DRM_EXEC_DUMMY;
drivers/gpu/drm/drm_exec.c
88
exec->prelocked = NULL;
drivers/gpu/drm/drm_exec.c
99
void drm_exec_fini(struct drm_exec *exec)
drivers/gpu/drm/drm_gpuvm.c
1193
exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj,
drivers/gpu/drm/drm_gpuvm.c
1196
return num_fences ? drm_exec_prepare_obj(exec, obj, num_fences) :
drivers/gpu/drm/drm_gpuvm.c
1197
drm_exec_lock_obj(exec, obj);
drivers/gpu/drm/drm_gpuvm.c
1216
struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
1219
return exec_prepare_obj(exec, gpuvm->r_obj, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1225
struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
1233
ret = exec_prepare_obj(exec, vm_bo->obj, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1246
struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
1257
ret = exec_prepare_obj(exec, vm_bo->obj, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1293
struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
1297
return drm_gpuvm_prepare_objects_locked(gpuvm, exec,
drivers/gpu/drm/drm_gpuvm.c
1300
return __drm_gpuvm_prepare_objects(gpuvm, exec, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1319
drm_gpuvm_prepare_range(struct drm_gpuvm *gpuvm, struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
1332
ret = exec_prepare_obj(exec, obj, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1359
struct drm_exec *exec = &vm_exec->exec;
drivers/gpu/drm/drm_gpuvm.c
1363
drm_exec_init(exec, vm_exec->flags, 0);
drivers/gpu/drm/drm_gpuvm.c
1365
drm_exec_until_all_locked(exec) {
drivers/gpu/drm/drm_gpuvm.c
1366
ret = drm_gpuvm_prepare_vm(gpuvm, exec, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1367
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/drm_gpuvm.c
1371
ret = drm_gpuvm_prepare_objects(gpuvm, exec, num_fences);
drivers/gpu/drm/drm_gpuvm.c
1372
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/drm_gpuvm.c
1378
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/drm_gpuvm.c
1387
drm_exec_fini(exec);
drivers/gpu/drm/drm_gpuvm.c
1400
return drm_exec_prepare_array(&vm_exec->exec, args->objs,
drivers/gpu/drm/drm_gpuvm.c
1451
struct drm_exec *exec = &vm_exec->exec;
drivers/gpu/drm/drm_gpuvm.c
1454
drm_exec_init(exec, vm_exec->flags, 0);
drivers/gpu/drm/drm_gpuvm.c
1456
drm_exec_until_all_locked(exec) {
drivers/gpu/drm/drm_gpuvm.c
1457
ret = drm_gpuvm_prepare_range(gpuvm, exec, addr, range,
drivers/gpu/drm/drm_gpuvm.c
1459
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/drm_gpuvm.c
1467
drm_exec_fini(exec);
drivers/gpu/drm/drm_gpuvm.c
1473
__drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec)
drivers/gpu/drm/drm_gpuvm.c
1481
ret = ops->vm_bo_validate(vm_bo, exec);
drivers/gpu/drm/drm_gpuvm.c
1493
drm_gpuvm_validate_locked(struct drm_gpuvm *gpuvm, struct drm_exec *exec)
drivers/gpu/drm/drm_gpuvm.c
1506
ret = ops->vm_bo_validate(vm_bo, exec);
drivers/gpu/drm/drm_gpuvm.c
1529
drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec)
drivers/gpu/drm/drm_gpuvm.c
1537
return drm_gpuvm_validate_locked(gpuvm, exec);
drivers/gpu/drm/drm_gpuvm.c
1539
return __drm_gpuvm_validate(gpuvm, exec);
drivers/gpu/drm/drm_gpuvm.c
1554
struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
1561
drm_exec_for_each_locked_object(exec, obj) {
drivers/gpu/drm/drm_gpuvm.c
2735
struct drm_exec *exec = priv;
drivers/gpu/drm/drm_gpuvm.c
2740
return drm_exec_lock_obj(exec, op->remap.unmap->va->gem.obj);
drivers/gpu/drm/drm_gpuvm.c
2744
return drm_exec_lock_obj(exec, op->unmap.va->gem.obj);
drivers/gpu/drm/drm_gpuvm.c
2813
struct drm_exec *exec, unsigned int num_fences,
drivers/gpu/drm/drm_gpuvm.c
2819
int ret = drm_exec_prepare_obj(exec, req_obj, num_fences);
drivers/gpu/drm/drm_gpuvm.c
2824
return __drm_gpuvm_sm_map(gpuvm, &lock_ops, exec, req, false);
drivers/gpu/drm/drm_gpuvm.c
2844
drm_gpuvm_sm_unmap_exec_lock(struct drm_gpuvm *gpuvm, struct drm_exec *exec,
drivers/gpu/drm/drm_gpuvm.c
2847
return __drm_gpuvm_sm_unmap(gpuvm, &lock_ops, exec,
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1009
struct drm_i915_gem_exec_object2 *entry = &eb->exec[i];
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1039
eb_vma_misplaced(&eb->exec[i], vma, ev->flags));
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1515
const struct drm_i915_gem_exec_object2 *entry = ev->exec;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1598
const struct drm_i915_gem_exec_object2 *entry = ev->exec;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1653
const unsigned int nreloc = eb->exec[i].relocation_count;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1661
err = check_relocations(&eb->exec[i]);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1665
urelocs = u64_to_user_ptr(eb->exec[i].relocs_ptr);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1707
eb->exec[i].relocs_ptr = (uintptr_t)relocs;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1719
relocs = u64_to_ptr(typeof(*relocs), eb->exec[i].relocs_ptr);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1720
if (eb->exec[i].relocation_count)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1734
err = check_relocations(&eb->exec[i]);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1876
&eb->exec[i];
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2181
struct drm_i915_gem_execbuffer2 *exec)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2183
if (exec->flags & __I915_EXEC_ILLEGAL_FLAGS)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2187
if (!(exec->flags & (I915_EXEC_FENCE_ARRAY |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2189
if (exec->num_cliprects || exec->cliprects_ptr)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2193
if (exec->DR4 == 0xffffffff) {
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2195
exec->DR4 = 0;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2197
if (exec->DR1 || exec->DR4)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2200
if ((exec->batch_start_offset | exec->batch_len) & 0x7)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
249
struct drm_i915_gem_exec_object2 *exec; /** ioctl execobj[] */
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
3341
struct drm_i915_gem_exec_object2 *exec)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
3360
eb.exec = exec;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
3361
eb.vma = (struct eb_vma *)(exec + args->buffer_count + 1);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
41
struct drm_i915_gem_exec_object2 *exec;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
567
struct drm_i915_gem_exec_object2 *entry = &eb->exec[i];
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
571
ev->exec = entry;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
659
struct drm_i915_gem_exec_object2 *entry = ev->exec;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
951
vma = eb_lookup_vma(eb, eb->exec[i].handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
957
err = eb_validate_vma(eb, &eb->exec[i], vma);
drivers/gpu/drm/imagination/pvr_job.c
534
prepare_fw_obj_resv(struct drm_exec *exec, struct pvr_fw_object *fw_obj)
drivers/gpu/drm/imagination/pvr_job.c
536
return drm_exec_prepare_obj(exec, gem_from_pvr_gem(fw_obj->gem), 1);
drivers/gpu/drm/imagination/pvr_job.c
540
jobs_lock_all_objs(struct drm_exec *exec, struct pvr_job_data *job_data,
drivers/gpu/drm/imagination/pvr_job.c
549
int err = drm_exec_lock_obj(exec,
drivers/gpu/drm/imagination/pvr_job.c
556
err = prepare_fw_obj_resv(exec,
drivers/gpu/drm/imagination/pvr_job.c
567
prepare_job_resvs_for_each(struct drm_exec *exec, struct pvr_job_data *job_data,
drivers/gpu/drm/imagination/pvr_job.c
570
drm_exec_until_all_locked(exec) {
drivers/gpu/drm/imagination/pvr_job.c
571
int err = jobs_lock_all_objs(exec, job_data, job_count);
drivers/gpu/drm/imagination/pvr_job.c
573
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/imagination/pvr_job.c
714
struct drm_exec exec;
drivers/gpu/drm/imagination/pvr_job.c
746
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT | DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/imagination/pvr_job.c
755
err = prepare_job_resvs_for_each(&exec, job_data, args->jobs.count);
drivers/gpu/drm/imagination/pvr_job.c
772
drm_exec_fini(&exec);
drivers/gpu/drm/imagination/pvr_vm.c
701
return drm_exec_lock_obj(&vm_exec->exec, gem_from_pvr_gem(pvr_obj));
drivers/gpu/drm/msm/msm_gem.c
1047
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
1075
drm_exec_init(&exec, 0, 0);
drivers/gpu/drm/msm/msm_gem.c
1076
drm_exec_until_all_locked (&exec) {
drivers/gpu/drm/msm/msm_gem.c
1079
drm_exec_lock_obj(&exec,
drivers/gpu/drm/msm/msm_gem.c
108
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
1081
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/msm/msm_gem.c
1085
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.c
110
msm_gem_lock_vm_and_obj(&exec, obj, priv->kms->vm);
drivers/gpu/drm/msm/msm_gem.c
112
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.c
55
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
559
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
562
msm_gem_lock_vm_and_obj(&exec, obj, vm);
drivers/gpu/drm/msm/msm_gem.c
564
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.c
584
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
587
msm_gem_lock_vm_and_obj(&exec, obj, vm);
drivers/gpu/drm/msm/msm_gem.c
594
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.c
623
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
626
msm_gem_lock_vm_and_obj(&exec, obj, vm);
drivers/gpu/drm/msm/msm_gem.c
639
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.c
663
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem.c
665
msm_gem_lock_vm_and_obj(&exec, obj, vm);
drivers/gpu/drm/msm/msm_gem.c
672
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.c
83
msm_gem_lock_vm_and_obj(&exec, obj, ctx->vm);
drivers/gpu/drm/msm/msm_gem.c
85
drm_exec_fini(&exec); /* drop locks */
drivers/gpu/drm/msm/msm_gem.h
358
msm_gem_lock_vm_and_obj(struct drm_exec *exec,
drivers/gpu/drm/msm/msm_gem.h
364
drm_exec_init(exec, 0, 2);
drivers/gpu/drm/msm/msm_gem.h
365
drm_exec_until_all_locked (exec) {
drivers/gpu/drm/msm/msm_gem.h
366
ret = drm_exec_lock_obj(exec, drm_gpuvm_resv_obj(vm));
drivers/gpu/drm/msm/msm_gem.h
368
ret = drm_exec_lock_obj(exec, obj);
drivers/gpu/drm/msm/msm_gem.h
369
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/msm/msm_gem.h
436
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem_submit.c
277
struct drm_exec *exec = &submit->exec;
drivers/gpu/drm/msm/msm_gem_submit.c
280
drm_exec_init(&submit->exec, flags, submit->nr_bos);
drivers/gpu/drm/msm/msm_gem_submit.c
283
drm_exec_until_all_locked (&submit->exec) {
drivers/gpu/drm/msm/msm_gem_submit.c
284
ret = drm_gpuvm_prepare_vm(submit->vm, exec, 1);
drivers/gpu/drm/msm/msm_gem_submit.c
285
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/msm/msm_gem_submit.c
289
ret = drm_gpuvm_prepare_objects(submit->vm, exec, 1);
drivers/gpu/drm/msm/msm_gem_submit.c
290
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/msm/msm_gem_submit.c
307
drm_exec_init(&submit->exec, flags, submit->nr_bos);
drivers/gpu/drm/msm/msm_gem_submit.c
310
drm_exec_until_all_locked (&submit->exec) {
drivers/gpu/drm/msm/msm_gem_submit.c
311
ret = drm_exec_lock_obj(&submit->exec,
drivers/gpu/drm/msm/msm_gem_submit.c
313
drm_exec_retry_on_contention(&submit->exec);
drivers/gpu/drm/msm/msm_gem_submit.c
318
ret = drm_exec_prepare_obj(&submit->exec, obj, 1);
drivers/gpu/drm/msm/msm_gem_submit.c
319
drm_exec_retry_on_contention(&submit->exec);
drivers/gpu/drm/msm/msm_gem_submit.c
415
drm_gpuvm_resv_add_fence(submit->vm, &submit->exec,
drivers/gpu/drm/msm/msm_gem_submit.c
529
drm_exec_fini(&submit->exec);
drivers/gpu/drm/msm/msm_gem_submit.c
797
ret = drm_gpuvm_validate(submit->vm, &submit->exec);
drivers/gpu/drm/msm/msm_gem_vma.c
1235
vm_bind_job_lock_objects(struct msm_vm_bind_job *job, struct drm_exec *exec)
drivers/gpu/drm/msm/msm_gem_vma.c
1240
drm_exec_until_all_locked (exec) {
drivers/gpu/drm/msm/msm_gem_vma.c
1241
ret = drm_exec_lock_obj(exec, drm_gpuvm_resv_obj(job->vm));
drivers/gpu/drm/msm/msm_gem_vma.c
1242
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/msm/msm_gem_vma.c
1251
ret = drm_gpuvm_sm_unmap_exec_lock(job->vm, exec,
drivers/gpu/drm/msm/msm_gem_vma.c
1264
ret = drm_gpuvm_sm_map_exec_lock(job->vm, exec, 1, &map_req);
drivers/gpu/drm/msm/msm_gem_vma.c
1275
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/msm/msm_gem_vma.c
1537
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem_vma.c
1539
drm_exec_init(&exec, flags, nr_bos + 1);
drivers/gpu/drm/msm/msm_gem_vma.c
1541
ret = vm_bind_job_lock_objects(job, &exec);
drivers/gpu/drm/msm/msm_gem_vma.c
1585
drm_exec_fini(&exec);
drivers/gpu/drm/msm/msm_gem_vma.c
445
msm_gem_vm_bo_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec)
drivers/gpu/drm/msm/msm_gem_vma.c
907
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gem_vma.c
924
drm_exec_init(&exec, 0, 2);
drivers/gpu/drm/msm/msm_gem_vma.c
925
drm_exec_until_all_locked (&exec) {
drivers/gpu/drm/msm/msm_gem_vma.c
926
drm_exec_lock_obj(&exec, drm_gpuvm_resv_obj(gpuvm));
drivers/gpu/drm/msm/msm_gem_vma.c
927
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/msm/msm_gem_vma.c
940
drm_exec_lock_obj(&exec, obj);
drivers/gpu/drm/msm/msm_gem_vma.c
941
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/msm/msm_gem_vma.c
948
drm_exec_unlock_obj(&exec, obj);
drivers/gpu/drm/msm/msm_gem_vma.c
952
drm_exec_fini(&exec);
drivers/gpu/drm/msm/msm_gpu.c
263
struct drm_exec exec;
drivers/gpu/drm/msm/msm_gpu.c
267
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/msm/msm_gpu.c
268
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/msm/msm_gpu.c
271
drm_exec_lock_obj(&exec, drm_gpuvm_resv_obj(submit->vm));
drivers/gpu/drm/msm/msm_gpu.c
272
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/msm/msm_gpu.c
279
drm_exec_lock_obj(&exec, vma->gem.obj);
drivers/gpu/drm/msm/msm_gpu.c
280
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/msm/msm_gpu.c
302
drm_exec_fini(&exec);
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h
66
int dcb_outp_foreach(struct nvkm_bios *, void *data, int (*exec)
drivers/gpu/drm/nouveau/include/nvkm/subdev/bus.h
14
int nvkm_hwsq_fini(struct nvkm_hwsq **, bool exec);
drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h
59
int nvkm_memx_fini(struct nvkm_memx **, bool exec);
drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h
8
struct list_head exec;
drivers/gpu/drm/nouveau/nouveau_bios.c
1328
int (*exec)(struct drm_device *, void *, int idx, u8 *outp))
drivers/gpu/drm/nouveau/nouveau_bios.c
1343
ret = exec(dev, data, idx, outp);
drivers/gpu/drm/nouveau/nouveau_bo.c
1056
drm->ttm.move = mthd->exec;
drivers/gpu/drm/nouveau/nouveau_bo.c
1061
} while ((++mthd)->exec);
drivers/gpu/drm/nouveau/nouveau_bo.c
998
int (*exec)(struct nouveau_channel *,
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1220
bind_lock_validate(struct nouveau_job *job, struct drm_exec *exec,
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1239
ret = drm_exec_prepare_obj(exec, obj, num_fences);
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1265
struct drm_exec *exec = &vme->exec;
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1421
drm_exec_init(exec, vme->flags, 0);
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1422
drm_exec_until_all_locked(exec) {
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1423
ret = bind_lock_validate(job, exec, vme->num_fences);
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1424
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1873
nouveau_uvmm_bo_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
212
int (*exec)(struct nvkm_bios *, void *, int, u16))
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
229
ret = exec(bios, data, idx, outp);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2228
void (*exec)(struct nvbios_init *);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2310
!init_opcode[opcode].exec) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2315
init_opcode[opcode].exec(init);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
65
init_exec_set(struct nvbios_init *init, bool exec)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
67
if (exec) init->execute &= 0xfd;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
78
init_exec_force(struct nvbios_init *init, bool exec)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
80
if (exec) init->execute |= 0x04;
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
61
nvkm_hwsq_fini(struct nvkm_hwsq **phwsq, bool exec)
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
70
if (exec)
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h
75
hwsq_exec(struct hwsq *ram, bool exec)
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h
79
ret = nvkm_hwsq_fini(&ram->hwsq, exec);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c
420
void (*exec)(struct gf100_clk *, int);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c
434
stage[i].exec(clk, j);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c
453
void (*exec)(struct gk104_clk *, int);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c
471
stage[i].exec(clk, j);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c
131
u32 exec, args;
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c
141
ret = pmu_load(init, 0x04, post, &exec, &args);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c
166
pmu_exec(init, exec);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h
71
ramfuc_exec(struct ramfuc *ram, bool exec)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h
75
ret = nvkm_memx_fini(&ram->memx, exec);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
888
bool exec = nvkm_boolopt(device->cfgopt, "NvMemExec", true);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
890
if (exec) {
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
200
bool (*exec)(struct nvkm_mxm *, u8 version);
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
218
if (shadow->exec(mxm, version)) {
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c
148
if (mxm->subdev.debug >= NV_DBG_DEBUG && (exec == NULL)) {
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c
170
if (!exec(mxm, desc, info))
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c
97
bool (*exec)(struct nvkm_mxm *, u8 *, void *), void *info)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c
72
nvkm_memx_fini(struct nvkm_memx **pmemx, bool exec)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c
88
if (exec) {
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
100
list_del(&alarm->exec);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
73
LIST_HEAD(exec);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
90
list_add(&alarm->exec, &exec);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
99
list_for_each_entry_safe(alarm, atemp, &exec, exec) {
drivers/gpu/drm/panthor/panthor_drv.c
1173
drm_exec_until_all_locked(&ctx.exec) {
drivers/gpu/drm/panthor/panthor_drv.c
1174
ret = panthor_vm_prepare_mapped_bos_resvs(&ctx.exec, vm,
drivers/gpu/drm/panthor/panthor_drv.c
1375
drm_exec_until_all_locked(&ctx.exec) {
drivers/gpu/drm/panthor/panthor_drv.c
1377
ret = panthor_vm_bind_job_prepare_resvs(&ctx.exec, ctx.jobs[i].job);
drivers/gpu/drm/panthor/panthor_drv.c
1378
drm_exec_retry_on_contention(&ctx.exec);
drivers/gpu/drm/panthor/panthor_drv.c
314
struct drm_exec exec;
drivers/gpu/drm/panthor/panthor_drv.c
708
upd_resvs(&ctx->exec, ctx->jobs[i].job);
drivers/gpu/drm/panthor/panthor_drv.c
737
drm_exec_init(&ctx->exec,
drivers/gpu/drm/panthor/panthor_drv.c
754
drm_exec_fini(&ctx->exec);
drivers/gpu/drm/panthor/panthor_mmu.c
2536
struct drm_exec *exec)
drivers/gpu/drm/panthor/panthor_mmu.c
2967
int panthor_vm_bind_job_prepare_resvs(struct drm_exec *exec,
drivers/gpu/drm/panthor/panthor_mmu.c
2974
ret = drm_gpuvm_prepare_vm(&job->vm->base, exec, 1);
drivers/gpu/drm/panthor/panthor_mmu.c
2980
ret = drm_exec_prepare_obj(exec, job->ctx.map.vm_bo->obj, 1);
drivers/gpu/drm/panthor/panthor_mmu.c
2993
void panthor_vm_bind_job_update_resvs(struct drm_exec *exec,
drivers/gpu/drm/panthor/panthor_mmu.c
2999
drm_gpuvm_resv_add_fence(&job->vm->base, exec,
drivers/gpu/drm/panthor/panthor_mmu.c
3005
void panthor_vm_update_resvs(struct panthor_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/panthor/panthor_mmu.c
3010
drm_gpuvm_resv_add_fence(&vm->base, exec, fence, private_usage, extobj_usage);
drivers/gpu/drm/panthor/panthor_mmu.c
3115
int panthor_vm_prepare_mapped_bos_resvs(struct drm_exec *exec, struct panthor_vm *vm,
drivers/gpu/drm/panthor/panthor_mmu.c
3121
ret = drm_gpuvm_prepare_vm(&vm->base, exec, slot_count);
drivers/gpu/drm/panthor/panthor_mmu.c
3125
ret = drm_gpuvm_prepare_objects(&vm->base, exec, slot_count);
drivers/gpu/drm/panthor/panthor_mmu.c
3129
return drm_gpuvm_validate(&vm->base, exec);
drivers/gpu/drm/panthor/panthor_mmu.h
100
void panthor_vm_bind_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
drivers/gpu/drm/panthor/panthor_mmu.h
102
void panthor_vm_update_resvs(struct panthor_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/panthor/panthor_mmu.h
57
int panthor_vm_prepare_mapped_bos_resvs(struct drm_exec *exec,
drivers/gpu/drm/panthor/panthor_mmu.h
98
int panthor_vm_bind_job_prepare_resvs(struct drm_exec *exec,
drivers/gpu/drm/panthor/panthor_sched.c
4056
void panthor_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *sched_job)
drivers/gpu/drm/panthor/panthor_sched.c
4060
panthor_vm_update_resvs(job->group->vm, exec, &sched_job->s_fence->finished,
drivers/gpu/drm/panthor/panthor_sched.h
38
void panthor_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
drivers/gpu/drm/qxl/qxl_drv.h
153
struct drm_exec exec;
drivers/gpu/drm/qxl/qxl_release.c
224
drm_exec_init(&release->exec, no_intr ? 0 :
drivers/gpu/drm/qxl/qxl_release.c
226
drm_exec_until_all_locked(&release->exec) {
drivers/gpu/drm/qxl/qxl_release.c
228
ret = drm_exec_prepare_obj(&release->exec,
drivers/gpu/drm/qxl/qxl_release.c
231
drm_exec_retry_on_contention(&release->exec);
drivers/gpu/drm/qxl/qxl_release.c
244
drm_exec_fini(&release->exec);
drivers/gpu/drm/qxl/qxl_release.c
255
drm_exec_fini(&release->exec);
drivers/gpu/drm/qxl/qxl_release.c
443
drm_exec_fini(&release->exec);
drivers/gpu/drm/radeon/radeon.h
1032
struct drm_exec exec;
drivers/gpu/drm/radeon/radeon_cs.c
196
r = radeon_bo_list_validate(p->rdev, &p->exec, &p->validated, p->ring);
drivers/gpu/drm/radeon/radeon_cs.c
274
drm_exec_init(&p->exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/radeon/radeon_cs.c
442
drm_exec_fini(&parser->exec);
drivers/gpu/drm/radeon/radeon_gem.c
611
struct drm_exec exec;
drivers/gpu/drm/radeon/radeon_gem.c
621
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/radeon/radeon_gem.c
622
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/radeon/radeon_gem.c
624
r = drm_exec_prepare_obj(&exec, &entry->robj->tbo.base,
drivers/gpu/drm/radeon/radeon_gem.c
626
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/radeon/radeon_gem.c
631
r = drm_exec_prepare_obj(&exec, &bo_va->bo->tbo.base, 1);
drivers/gpu/drm/radeon/radeon_gem.c
632
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/radeon/radeon_gem.c
657
drm_exec_fini(&exec);
drivers/gpu/drm/radeon/radeon_object.c
467
struct drm_exec *exec,
drivers/gpu/drm/radeon/radeon_object.c
476
drm_exec_until_all_locked(exec) {
drivers/gpu/drm/radeon/radeon_object.c
478
r = drm_exec_prepare_obj(exec, &lobj->robj->tbo.base,
drivers/gpu/drm/radeon/radeon_object.c
480
drm_exec_retry_on_contention(exec);
drivers/gpu/drm/radeon/radeon_object.h
155
struct drm_exec *exec,
drivers/gpu/drm/tests/drm_exec_test.c
103
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
108
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0);
drivers/gpu/drm/tests/drm_exec_test.c
109
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/tests/drm_exec_test.c
110
ret = drm_exec_lock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
111
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
116
ret = drm_exec_lock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
117
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
122
drm_exec_unlock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
123
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
130
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
135
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
136
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/tests/drm_exec_test.c
137
ret = drm_exec_prepare_obj(&exec, &gobj, 1);
drivers/gpu/drm/tests/drm_exec_test.c
138
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
143
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
157
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
168
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
169
drm_exec_until_all_locked(&exec)
drivers/gpu/drm/tests/drm_exec_test.c
170
ret = drm_exec_prepare_array(&exec, array, ARRAY_SIZE(array),
drivers/gpu/drm/tests/drm_exec_test.c
173
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
181
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
186
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
187
drm_exec_until_all_locked(&exec)
drivers/gpu/drm/tests/drm_exec_test.c
191
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
197
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
198
drm_exec_until_all_locked(&exec)
drivers/gpu/drm/tests/drm_exec_test.c
202
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
45
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
47
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
48
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
56
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
61
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
62
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/tests/drm_exec_test.c
63
ret = drm_exec_lock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
64
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
69
drm_exec_fini(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
76
struct drm_exec exec;
drivers/gpu/drm/tests/drm_exec_test.c
81
drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/tests/drm_exec_test.c
82
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/tests/drm_exec_test.c
83
ret = drm_exec_lock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
84
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
89
drm_exec_unlock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
90
ret = drm_exec_lock_obj(&exec, &gobj);
drivers/gpu/drm/tests/drm_exec_test.c
91
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/tests/drm_exec_test.c
96
drm_exec_fini(&exec);
drivers/gpu/drm/vc4/vc4_drv.h
1066
struct vc4_exec_info *exec);
drivers/gpu/drm/vc4/vc4_drv.h
1069
vc4_validate_shader_recs(struct drm_device *dev, struct vc4_exec_info *exec);
drivers/gpu/drm/vc4/vc4_drv.h
1071
struct drm_gem_dma_object *vc4_use_bo(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_drv.h
1074
int vc4_get_rcl(struct drm_device *dev, struct vc4_exec_info *exec);
drivers/gpu/drm/vc4/vc4_drv.h
1076
bool vc4_check_tex_size(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_drv.h
997
void vc4_move_job_to_render(struct drm_device *dev, struct vc4_exec_info *exec);
drivers/gpu/drm/vc4/vc4_gem.c
1018
struct vc4_exec_info *exec;
drivers/gpu/drm/vc4/vc4_gem.c
1048
exec = kzalloc_objs(*exec, 1);
drivers/gpu/drm/vc4/vc4_gem.c
1049
if (!exec)
drivers/gpu/drm/vc4/vc4_gem.c
1052
exec->dev = vc4;
drivers/gpu/drm/vc4/vc4_gem.c
1056
kfree(exec);
drivers/gpu/drm/vc4/vc4_gem.c
1060
exec->args = args;
drivers/gpu/drm/vc4/vc4_gem.c
1061
INIT_LIST_HEAD(&exec->unref_list);
drivers/gpu/drm/vc4/vc4_gem.c
1063
ret = vc4_cl_lookup_bos(dev, file_priv, exec);
drivers/gpu/drm/vc4/vc4_gem.c
1068
exec->perfmon = vc4_perfmon_find(vc4file,
drivers/gpu/drm/vc4/vc4_gem.c
1070
if (!exec->perfmon) {
drivers/gpu/drm/vc4/vc4_gem.c
1099
if (exec->args->bin_cl_size != 0) {
drivers/gpu/drm/vc4/vc4_gem.c
1100
ret = vc4_get_bcl(dev, exec);
drivers/gpu/drm/vc4/vc4_gem.c
1104
exec->ct0ca = 0;
drivers/gpu/drm/vc4/vc4_gem.c
1105
exec->ct0ea = 0;
drivers/gpu/drm/vc4/vc4_gem.c
1108
ret = vc4_get_rcl(dev, exec);
drivers/gpu/drm/vc4/vc4_gem.c
1112
ret = vc4_lock_bo_reservations(exec, &exec_ctx);
drivers/gpu/drm/vc4/vc4_gem.c
1133
exec->args = NULL;
drivers/gpu/drm/vc4/vc4_gem.c
1135
ret = vc4_queue_submit(dev, exec, &exec_ctx, out_sync);
drivers/gpu/drm/vc4/vc4_gem.c
1154
vc4_complete_exec(&vc4->base, exec);
drivers/gpu/drm/vc4/vc4_gem.c
159
struct vc4_exec_info *exec[2];
drivers/gpu/drm/vc4/vc4_gem.c
171
exec[0] = vc4_first_bin_job(vc4);
drivers/gpu/drm/vc4/vc4_gem.c
172
exec[1] = vc4_first_render_job(vc4);
drivers/gpu/drm/vc4/vc4_gem.c
173
if (!exec[0] && !exec[1])
drivers/gpu/drm/vc4/vc4_gem.c
179
if (!exec[i])
drivers/gpu/drm/vc4/vc4_gem.c
183
list_for_each_entry(bo, &exec[i]->unref_list, unref_head)
drivers/gpu/drm/vc4/vc4_gem.c
185
state->bo_count += exec[i]->bo_count + unref_list_count;
drivers/gpu/drm/vc4/vc4_gem.c
196
if (!exec[i])
drivers/gpu/drm/vc4/vc4_gem.c
199
for (j = 0; j < exec[i]->bo_count; j++) {
drivers/gpu/drm/vc4/vc4_gem.c
200
bo = to_vc4_bo(exec[i]->bo[j]);
drivers/gpu/drm/vc4/vc4_gem.c
208
drm_gem_object_get(exec[i]->bo[j]);
drivers/gpu/drm/vc4/vc4_gem.c
209
kernel_state->bo[k++] = exec[i]->bo[j];
drivers/gpu/drm/vc4/vc4_gem.c
212
list_for_each_entry(bo, &exec[i]->unref_list, unref_head) {
drivers/gpu/drm/vc4/vc4_gem.c
223
if (exec[0])
drivers/gpu/drm/vc4/vc4_gem.c
224
state->start_bin = exec[0]->ct0ca;
drivers/gpu/drm/vc4/vc4_gem.c
225
if (exec[1])
drivers/gpu/drm/vc4/vc4_gem.c
226
state->start_render = exec[1]->ct1ca;
drivers/gpu/drm/vc4/vc4_gem.c
479
struct vc4_exec_info *exec;
drivers/gpu/drm/vc4/vc4_gem.c
485
exec = vc4_first_bin_job(vc4);
drivers/gpu/drm/vc4/vc4_gem.c
486
if (!exec)
drivers/gpu/drm/vc4/vc4_gem.c
494
if (exec->perfmon && vc4->active_perfmon != exec->perfmon)
drivers/gpu/drm/vc4/vc4_gem.c
495
vc4_perfmon_start(vc4, exec->perfmon);
drivers/gpu/drm/vc4/vc4_gem.c
500
if (exec->ct0ca != exec->ct0ea) {
drivers/gpu/drm/vc4/vc4_gem.c
501
trace_vc4_submit_cl(dev, false, exec->seqno, exec->ct0ca,
drivers/gpu/drm/vc4/vc4_gem.c
502
exec->ct0ea);
drivers/gpu/drm/vc4/vc4_gem.c
503
submit_cl(dev, 0, exec->ct0ca, exec->ct0ea);
drivers/gpu/drm/vc4/vc4_gem.c
507
vc4_move_job_to_render(dev, exec);
drivers/gpu/drm/vc4/vc4_gem.c
515
if (next && next->perfmon == exec->perfmon)
drivers/gpu/drm/vc4/vc4_gem.c
524
struct vc4_exec_info *exec = vc4_first_render_job(vc4);
drivers/gpu/drm/vc4/vc4_gem.c
526
if (!exec)
drivers/gpu/drm/vc4/vc4_gem.c
540
trace_vc4_submit_cl(dev, true, exec->seqno, exec->ct1ca, exec->ct1ea);
drivers/gpu/drm/vc4/vc4_gem.c
541
submit_cl(dev, 1, exec->ct1ca, exec->ct1ea);
drivers/gpu/drm/vc4/vc4_gem.c
545
vc4_move_job_to_render(struct drm_device *dev, struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_gem.c
553
list_move_tail(&exec->head, &vc4->render_job_list);
drivers/gpu/drm/vc4/vc4_gem.c
559
vc4_attach_fences(struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_gem.c
564
for (i = 0; i < exec->bo_count; i++) {
drivers/gpu/drm/vc4/vc4_gem.c
565
bo = to_vc4_bo(exec->bo[i]);
drivers/gpu/drm/vc4/vc4_gem.c
566
dma_resv_add_fence(bo->base.base.resv, exec->fence,
drivers/gpu/drm/vc4/vc4_gem.c
570
for (i = 0; i < exec->rcl_write_bo_count; i++) {
drivers/gpu/drm/vc4/vc4_gem.c
571
bo = to_vc4_bo(&exec->rcl_write_bo[i]->base);
drivers/gpu/drm/vc4/vc4_gem.c
572
dma_resv_add_fence(bo->base.base.resv, exec->fence,
drivers/gpu/drm/vc4/vc4_gem.c
585
vc4_lock_bo_reservations(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_gem.c
593
drm_exec_init(exec_ctx, DRM_EXEC_INTERRUPTIBLE_WAIT, exec->bo_count);
drivers/gpu/drm/vc4/vc4_gem.c
595
ret = drm_exec_prepare_array(exec_ctx, exec->bo,
drivers/gpu/drm/vc4/vc4_gem.c
596
exec->bo_count, 1);
drivers/gpu/drm/vc4/vc4_gem.c
617
vc4_queue_submit(struct drm_device *dev, struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_gem.c
635
exec->seqno = seqno;
drivers/gpu/drm/vc4/vc4_gem.c
638
vc4->dma_fence_context, exec->seqno);
drivers/gpu/drm/vc4/vc4_gem.c
639
fence->seqno = exec->seqno;
drivers/gpu/drm/vc4/vc4_gem.c
640
exec->fence = &fence->base;
drivers/gpu/drm/vc4/vc4_gem.c
643
drm_syncobj_replace_fence(out_sync, exec->fence);
drivers/gpu/drm/vc4/vc4_gem.c
645
vc4_attach_fences(exec);
drivers/gpu/drm/vc4/vc4_gem.c
649
list_add_tail(&exec->head, &vc4->bin_job_list);
drivers/gpu/drm/vc4/vc4_gem.c
657
if (vc4_first_bin_job(vc4) == exec &&
drivers/gpu/drm/vc4/vc4_gem.c
658
(!renderjob || renderjob->perfmon == exec->perfmon)) {
drivers/gpu/drm/vc4/vc4_gem.c
682
struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_gem.c
684
struct drm_vc4_submit_cl *args = exec->args;
drivers/gpu/drm/vc4/vc4_gem.c
688
exec->bo_count = args->bo_handle_count;
drivers/gpu/drm/vc4/vc4_gem.c
690
if (!exec->bo_count) {
drivers/gpu/drm/vc4/vc4_gem.c
699
exec->bo_count, &exec->bo);
drivers/gpu/drm/vc4/vc4_gem.c
704
for (i = 0; i < exec->bo_count; i++) {
drivers/gpu/drm/vc4/vc4_gem.c
705
ret = vc4_bo_inc_usecnt(to_vc4_bo(exec->bo[i]));
drivers/gpu/drm/vc4/vc4_gem.c
722
vc4_bo_dec_usecnt(to_vc4_bo(exec->bo[i]));
drivers/gpu/drm/vc4/vc4_gem.c
726
for (i = 0; i < exec->bo_count && exec->bo[i]; i++)
drivers/gpu/drm/vc4/vc4_gem.c
727
drm_gem_object_put(exec->bo[i]);
drivers/gpu/drm/vc4/vc4_gem.c
729
kvfree(exec->bo);
drivers/gpu/drm/vc4/vc4_gem.c
730
exec->bo = NULL;
drivers/gpu/drm/vc4/vc4_gem.c
735
vc4_get_bcl(struct drm_device *dev, struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_gem.c
737
struct drm_vc4_submit_cl *args = exec->args;
drivers/gpu/drm/vc4/vc4_gem.c
777
exec->shader_rec_u = temp + shader_rec_offset;
drivers/gpu/drm/vc4/vc4_gem.c
778
exec->uniforms_u = temp + uniforms_offset;
drivers/gpu/drm/vc4/vc4_gem.c
779
exec->shader_state = temp + exec_size;
drivers/gpu/drm/vc4/vc4_gem.c
780
exec->shader_state_size = args->shader_rec_count;
drivers/gpu/drm/vc4/vc4_gem.c
789
if (copy_from_user(exec->shader_rec_u,
drivers/gpu/drm/vc4/vc4_gem.c
796
if (copy_from_user(exec->uniforms_u,
drivers/gpu/drm/vc4/vc4_gem.c
809
exec->exec_bo = &bo->base;
drivers/gpu/drm/vc4/vc4_gem.c
811
list_add_tail(&to_vc4_bo(&exec->exec_bo->base)->unref_head,
drivers/gpu/drm/vc4/vc4_gem.c
812
&exec->unref_list);
drivers/gpu/drm/vc4/vc4_gem.c
814
exec->ct0ca = exec->exec_bo->dma_addr + bin_offset;
drivers/gpu/drm/vc4/vc4_gem.c
816
exec->bin_u = bin;
drivers/gpu/drm/vc4/vc4_gem.c
818
exec->shader_rec_v = exec->exec_bo->vaddr + shader_rec_offset;
drivers/gpu/drm/vc4/vc4_gem.c
819
exec->shader_rec_p = exec->exec_bo->dma_addr + shader_rec_offset;
drivers/gpu/drm/vc4/vc4_gem.c
820
exec->shader_rec_size = args->shader_rec_size;
drivers/gpu/drm/vc4/vc4_gem.c
822
exec->uniforms_v = exec->exec_bo->vaddr + uniforms_offset;
drivers/gpu/drm/vc4/vc4_gem.c
823
exec->uniforms_p = exec->exec_bo->dma_addr + uniforms_offset;
drivers/gpu/drm/vc4/vc4_gem.c
824
exec->uniforms_size = args->uniforms_size;
drivers/gpu/drm/vc4/vc4_gem.c
827
exec->exec_bo->vaddr + bin_offset,
drivers/gpu/drm/vc4/vc4_gem.c
829
exec);
drivers/gpu/drm/vc4/vc4_gem.c
833
ret = vc4_validate_shader_recs(dev, exec);
drivers/gpu/drm/vc4/vc4_gem.c
837
if (exec->found_tile_binning_mode_config_packet) {
drivers/gpu/drm/vc4/vc4_gem.c
838
ret = vc4_v3d_bin_bo_get(vc4, &exec->bin_bo_used);
drivers/gpu/drm/vc4/vc4_gem.c
849
vc4_complete_exec(struct drm_device *dev, struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_gem.c
858
if (exec->fence) {
drivers/gpu/drm/vc4/vc4_gem.c
859
dma_fence_signal(exec->fence);
drivers/gpu/drm/vc4/vc4_gem.c
860
dma_fence_put(exec->fence);
drivers/gpu/drm/vc4/vc4_gem.c
863
if (exec->bo) {
drivers/gpu/drm/vc4/vc4_gem.c
864
for (i = 0; i < exec->bo_count; i++) {
drivers/gpu/drm/vc4/vc4_gem.c
865
struct vc4_bo *bo = to_vc4_bo(exec->bo[i]);
drivers/gpu/drm/vc4/vc4_gem.c
868
drm_gem_object_put(exec->bo[i]);
drivers/gpu/drm/vc4/vc4_gem.c
870
kvfree(exec->bo);
drivers/gpu/drm/vc4/vc4_gem.c
873
while (!list_empty(&exec->unref_list)) {
drivers/gpu/drm/vc4/vc4_gem.c
874
struct vc4_bo *bo = list_first_entry(&exec->unref_list,
drivers/gpu/drm/vc4/vc4_gem.c
882
vc4->bin_alloc_used &= ~exec->bin_slots;
drivers/gpu/drm/vc4/vc4_gem.c
886
if (exec->bin_bo_used)
drivers/gpu/drm/vc4/vc4_gem.c
890
vc4_perfmon_put(exec->perfmon);
drivers/gpu/drm/vc4/vc4_gem.c
894
kfree(exec);
drivers/gpu/drm/vc4/vc4_gem.c
907
struct vc4_exec_info *exec =
drivers/gpu/drm/vc4/vc4_gem.c
910
list_del(&exec->head);
drivers/gpu/drm/vc4/vc4_gem.c
913
vc4_complete_exec(&vc4->base, exec);
drivers/gpu/drm/vc4/vc4_irq.c
120
struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4);
drivers/gpu/drm/vc4/vc4_irq.c
122
if (!exec)
drivers/gpu/drm/vc4/vc4_irq.c
125
trace_vc4_bcl_end_irq(dev, exec->seqno);
drivers/gpu/drm/vc4/vc4_irq.c
127
vc4_move_job_to_render(dev, exec);
drivers/gpu/drm/vc4/vc4_irq.c
134
if (next && next->perfmon == exec->perfmon)
drivers/gpu/drm/vc4/vc4_irq.c
142
struct vc4_exec_info *exec = vc4_first_bin_job(vc4);
drivers/gpu/drm/vc4/vc4_irq.c
144
if (!exec)
drivers/gpu/drm/vc4/vc4_irq.c
148
if (exec->perfmon)
drivers/gpu/drm/vc4/vc4_irq.c
149
vc4_perfmon_stop(vc4, exec->perfmon, false);
drivers/gpu/drm/vc4/vc4_irq.c
151
list_move_tail(&exec->head, &vc4->bin_job_list);
drivers/gpu/drm/vc4/vc4_irq.c
159
struct vc4_exec_info *exec = vc4_first_render_job(vc4);
drivers/gpu/drm/vc4/vc4_irq.c
162
if (!exec)
drivers/gpu/drm/vc4/vc4_irq.c
165
trace_vc4_rcl_end_irq(dev, exec->seqno);
drivers/gpu/drm/vc4/vc4_irq.c
168
list_move_tail(&exec->head, &vc4->job_done_list);
drivers/gpu/drm/vc4/vc4_irq.c
176
if (exec->perfmon && !nextrender &&
drivers/gpu/drm/vc4/vc4_irq.c
177
(!nextbin || nextbin->perfmon != exec->perfmon))
drivers/gpu/drm/vc4/vc4_irq.c
178
vc4_perfmon_stop(vc4, exec->perfmon, true);
drivers/gpu/drm/vc4/vc4_irq.c
189
else if (nextbin && nextbin->perfmon != exec->perfmon)
drivers/gpu/drm/vc4/vc4_irq.c
192
if (exec->fence) {
drivers/gpu/drm/vc4/vc4_irq.c
193
dma_fence_signal_locked(exec->fence);
drivers/gpu/drm/vc4/vc4_irq.c
194
dma_fence_put(exec->fence);
drivers/gpu/drm/vc4/vc4_irq.c
195
exec->fence = NULL;
drivers/gpu/drm/vc4/vc4_irq.c
67
struct vc4_exec_info *exec;
drivers/gpu/drm/vc4/vc4_irq.c
92
exec = vc4_first_bin_job(vc4);
drivers/gpu/drm/vc4/vc4_irq.c
93
if (!exec)
drivers/gpu/drm/vc4/vc4_irq.c
94
exec = vc4_last_render_job(vc4);
drivers/gpu/drm/vc4/vc4_irq.c
95
if (exec) {
drivers/gpu/drm/vc4/vc4_irq.c
96
exec->bin_slots |= vc4->bin_alloc_overflow;
drivers/gpu/drm/vc4/vc4_render_cl.c
100
static uint32_t vc4_full_res_offset(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
106
(DIV_ROUND_UP(exec->args->width, 32) * y + x);
drivers/gpu/drm/vc4/vc4_render_cl.c
124
static void emit_tile(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
128
struct drm_vc4_submit_cl *args = exec->args;
drivers/gpu/drm/vc4/vc4_render_cl.c
140
vc4_full_res_offset(exec, setup->color_read,
drivers/gpu/drm/vc4/vc4_render_cl.c
162
vc4_full_res_offset(exec, setup->zs_read,
drivers/gpu/drm/vc4/vc4_render_cl.c
186
rcl_u32(setup, (exec->tile_alloc_offset +
drivers/gpu/drm/vc4/vc4_render_cl.c
187
(y * exec->bin_tiles_x + x) * 32));
drivers/gpu/drm/vc4/vc4_render_cl.c
202
vc4_full_res_offset(exec, setup->msaa_color_write,
drivers/gpu/drm/vc4/vc4_render_cl.c
220
vc4_full_res_offset(exec, setup->msaa_zs_write,
drivers/gpu/drm/vc4/vc4_render_cl.c
254
static int vc4_create_rcl_bo(struct drm_device *dev, struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
257
struct drm_vc4_submit_cl *args = exec->args;
drivers/gpu/drm/vc4/vc4_render_cl.c
336
&exec->unref_list);
drivers/gpu/drm/vc4/vc4_render_cl.c
373
emit_tile(exec, setup, x, y, first, last);
drivers/gpu/drm/vc4/vc4_render_cl.c
378
exec->ct1ca = setup->rcl->dma_addr;
drivers/gpu/drm/vc4/vc4_render_cl.c
379
exec->ct1ea = setup->rcl->dma_addr + setup->next_offset;
drivers/gpu/drm/vc4/vc4_render_cl.c
384
static int vc4_full_res_bounds_check(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
388
struct drm_vc4_submit_cl *args = exec->args;
drivers/gpu/drm/vc4/vc4_render_cl.c
389
u32 render_tiles_stride = DIV_ROUND_UP(exec->args->width, 32);
drivers/gpu/drm/vc4/vc4_render_cl.c
410
static int vc4_rcl_msaa_surface_setup(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
422
*obj = vc4_use_bo(exec, surf->hindex);
drivers/gpu/drm/vc4/vc4_render_cl.c
426
exec->rcl_write_bo[exec->rcl_write_bo_count++] = *obj;
drivers/gpu/drm/vc4/vc4_render_cl.c
433
return vc4_full_res_bounds_check(exec, *obj, surf);
drivers/gpu/drm/vc4/vc4_render_cl.c
436
static int vc4_rcl_surface_setup(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
458
*obj = vc4_use_bo(exec, surf->hindex);
drivers/gpu/drm/vc4/vc4_render_cl.c
463
exec->rcl_write_bo[exec->rcl_write_bo_count++] = *obj;
drivers/gpu/drm/vc4/vc4_render_cl.c
466
if (surf == &exec->args->zs_write) {
drivers/gpu/drm/vc4/vc4_render_cl.c
477
ret = vc4_full_res_bounds_check(exec, *obj, surf);
drivers/gpu/drm/vc4/vc4_render_cl.c
526
if (!vc4_check_tex_size(exec, *obj, surf->offset, tiling,
drivers/gpu/drm/vc4/vc4_render_cl.c
527
exec->args->width, exec->args->height, cpp)) {
drivers/gpu/drm/vc4/vc4_render_cl.c
535
vc4_rcl_render_config_surface_setup(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_render_cl.c
563
*obj = vc4_use_bo(exec, surf->hindex);
drivers/gpu/drm/vc4/vc4_render_cl.c
567
exec->rcl_write_bo[exec->rcl_write_bo_count++] = *obj;
drivers/gpu/drm/vc4/vc4_render_cl.c
587
if (!vc4_check_tex_size(exec, *obj, surf->offset, tiling,
drivers/gpu/drm/vc4/vc4_render_cl.c
588
exec->args->width, exec->args->height, cpp)) {
drivers/gpu/drm/vc4/vc4_render_cl.c
595
int vc4_get_rcl(struct drm_device *dev, struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_render_cl.c
599
struct drm_vc4_submit_cl *args = exec->args;
drivers/gpu/drm/vc4/vc4_render_cl.c
615
(args->max_x_tile > exec->bin_tiles_x ||
drivers/gpu/drm/vc4/vc4_render_cl.c
616
args->max_y_tile > exec->bin_tiles_y)) {
drivers/gpu/drm/vc4/vc4_render_cl.c
620
exec->bin_tiles_x, exec->bin_tiles_y);
drivers/gpu/drm/vc4/vc4_render_cl.c
624
ret = vc4_rcl_render_config_surface_setup(exec, &setup,
drivers/gpu/drm/vc4/vc4_render_cl.c
630
ret = vc4_rcl_surface_setup(exec, &setup.color_read, &args->color_read,
drivers/gpu/drm/vc4/vc4_render_cl.c
635
ret = vc4_rcl_surface_setup(exec, &setup.zs_read, &args->zs_read,
drivers/gpu/drm/vc4/vc4_render_cl.c
640
ret = vc4_rcl_surface_setup(exec, &setup.zs_write, &args->zs_write,
drivers/gpu/drm/vc4/vc4_render_cl.c
645
ret = vc4_rcl_msaa_surface_setup(exec, &setup.msaa_color_write,
drivers/gpu/drm/vc4/vc4_render_cl.c
650
ret = vc4_rcl_msaa_surface_setup(exec, &setup.msaa_zs_write,
drivers/gpu/drm/vc4/vc4_render_cl.c
664
return vc4_create_rcl_bo(dev, exec, &setup);
drivers/gpu/drm/vc4/vc4_v3d.c
181
struct vc4_exec_info *exec;
drivers/gpu/drm/vc4/vc4_v3d.c
200
exec = vc4_last_render_job(vc4);
drivers/gpu/drm/vc4/vc4_v3d.c
201
if (exec)
drivers/gpu/drm/vc4/vc4_v3d.c
202
seqno = exec->seqno;
drivers/gpu/drm/vc4/vc4_validate.c
107
vc4_use_bo(struct vc4_exec_info *exec, uint32_t hindex)
drivers/gpu/drm/vc4/vc4_validate.c
109
struct vc4_dev *vc4 = exec->dev;
drivers/gpu/drm/vc4/vc4_validate.c
116
if (hindex >= exec->bo_count) {
drivers/gpu/drm/vc4/vc4_validate.c
118
hindex, exec->bo_count);
drivers/gpu/drm/vc4/vc4_validate.c
121
obj = to_drm_gem_dma_obj(exec->bo[hindex]);
drivers/gpu/drm/vc4/vc4_validate.c
134
vc4_use_handle(struct vc4_exec_info *exec, uint32_t gem_handles_packet_index)
drivers/gpu/drm/vc4/vc4_validate.c
136
return vc4_use_bo(exec, exec->bo_index[gem_handles_packet_index]);
drivers/gpu/drm/vc4/vc4_validate.c
140
validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos)
drivers/gpu/drm/vc4/vc4_validate.c
145
return (untrusted - 1 == exec->bin_u + pos);
drivers/gpu/drm/vc4/vc4_validate.c
164
vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_dma_object *fbo,
drivers/gpu/drm/vc4/vc4_validate.c
168
struct vc4_dev *vc4 = exec->dev;
drivers/gpu/drm/vc4/vc4_validate.c
225
if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) {
drivers/gpu/drm/vc4/vc4_validate.c
229
exec->found_flush = true;
drivers/gpu/drm/vc4/vc4_validate.c
237
if (exec->found_start_tile_binning_packet) {
drivers/gpu/drm/vc4/vc4_validate.c
241
exec->found_start_tile_binning_packet = true;
drivers/gpu/drm/vc4/vc4_validate.c
243
if (!exec->found_tile_binning_mode_config_packet) {
drivers/gpu/drm/vc4/vc4_validate.c
254
if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) {
drivers/gpu/drm/vc4/vc4_validate.c
259
exec->found_increment_semaphore_packet = true;
drivers/gpu/drm/vc4/vc4_validate.c
275
if (exec->shader_state_count == 0) {
drivers/gpu/drm/vc4/vc4_validate.c
279
shader_state = &exec->shader_state[exec->shader_state_count - 1];
drivers/gpu/drm/vc4/vc4_validate.c
284
ib = vc4_use_handle(exec, 0);
drivers/gpu/drm/vc4/vc4_validate.c
309
if (exec->shader_state_count == 0) {
drivers/gpu/drm/vc4/vc4_validate.c
313
shader_state = &exec->shader_state[exec->shader_state_count - 1];
drivers/gpu/drm/vc4/vc4_validate.c
330
uint32_t i = exec->shader_state_count++;
drivers/gpu/drm/vc4/vc4_validate.c
332
if (i >= exec->shader_state_size) {
drivers/gpu/drm/vc4/vc4_validate.c
337
exec->shader_state[i].addr = *(uint32_t *)untrusted;
drivers/gpu/drm/vc4/vc4_validate.c
338
exec->shader_state[i].max_index = 0;
drivers/gpu/drm/vc4/vc4_validate.c
340
if (exec->shader_state[i].addr & ~0xf) {
drivers/gpu/drm/vc4/vc4_validate.c
345
*(uint32_t *)validated = (exec->shader_rec_p +
drivers/gpu/drm/vc4/vc4_validate.c
346
exec->shader_state[i].addr);
drivers/gpu/drm/vc4/vc4_validate.c
348
exec->shader_rec_p +=
drivers/gpu/drm/vc4/vc4_validate.c
349
roundup(gl_shader_rec_size(exec->shader_state[i].addr), 16);
drivers/gpu/drm/vc4/vc4_validate.c
357
struct drm_device *dev = exec->exec_bo->base.dev;
drivers/gpu/drm/vc4/vc4_validate.c
364
if (exec->found_tile_binning_mode_config_packet) {
drivers/gpu/drm/vc4/vc4_validate.c
368
exec->found_tile_binning_mode_config_packet = true;
drivers/gpu/drm/vc4/vc4_validate.c
370
exec->bin_tiles_x = *(uint8_t *)(untrusted + 12);
drivers/gpu/drm/vc4/vc4_validate.c
371
exec->bin_tiles_y = *(uint8_t *)(untrusted + 13);
drivers/gpu/drm/vc4/vc4_validate.c
372
tile_count = exec->bin_tiles_x * exec->bin_tiles_y;
drivers/gpu/drm/vc4/vc4_validate.c
375
if (exec->bin_tiles_x == 0 ||
drivers/gpu/drm/vc4/vc4_validate.c
376
exec->bin_tiles_y == 0) {
drivers/gpu/drm/vc4/vc4_validate.c
378
exec->bin_tiles_x, exec->bin_tiles_y);
drivers/gpu/drm/vc4/vc4_validate.c
400
exec->bin_slots |= BIT(bin_slot);
drivers/gpu/drm/vc4/vc4_validate.c
409
exec->tile_alloc_offset = bin_addr + roundup(tile_state_size, 4096);
drivers/gpu/drm/vc4/vc4_validate.c
421
*(uint32_t *)(validated + 0) = exec->tile_alloc_offset;
drivers/gpu/drm/vc4/vc4_validate.c
424
exec->tile_alloc_offset);
drivers/gpu/drm/vc4/vc4_validate.c
434
memcpy(exec->bo_index, untrusted, sizeof(exec->bo_index));
drivers/gpu/drm/vc4/vc4_validate.c
444
int (*func)(struct vc4_exec_info *exec, void *validated,
drivers/gpu/drm/vc4/vc4_validate.c
489
struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_validate.c
492
uint32_t len = exec->args->bin_cl_size;
drivers/gpu/drm/vc4/vc4_validate.c
52
struct vc4_exec_info *exec, \
drivers/gpu/drm/vc4/vc4_validate.c
529
if (info->func && info->func(exec,
drivers/gpu/drm/vc4/vc4_validate.c
547
exec->ct0ea = exec->ct0ca + dst_offset;
drivers/gpu/drm/vc4/vc4_validate.c
549
if (!exec->found_start_tile_binning_packet) {
drivers/gpu/drm/vc4/vc4_validate.c
561
if (!exec->found_increment_semaphore_packet || !exec->found_flush) {
drivers/gpu/drm/vc4/vc4_validate.c
571
reloc_tex(struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_validate.c
583
uint32_t *validated_p0 = exec->uniforms_v + sample->p_offset[0];
drivers/gpu/drm/vc4/vc4_validate.c
593
tex = vc4_use_bo(exec, texture_handle_index);
drivers/gpu/drm/vc4/vc4_validate.c
688
if (!vc4_check_tex_size(exec, tex, offset + cube_map_stride * 5,
drivers/gpu/drm/vc4/vc4_validate.c
750
struct vc4_exec_info *exec,
drivers/gpu/drm/vc4/vc4_validate.c
771
if (nr_relocs * 4 > exec->shader_rec_size) {
drivers/gpu/drm/vc4/vc4_validate.c
774
nr_relocs, exec->shader_rec_size);
drivers/gpu/drm/vc4/vc4_validate.c
777
src_handles = exec->shader_rec_u;
drivers/gpu/drm/vc4/vc4_validate.c
778
exec->shader_rec_u += nr_relocs * 4;
drivers/gpu/drm/vc4/vc4_validate.c
779
exec->shader_rec_size -= nr_relocs * 4;
drivers/gpu/drm/vc4/vc4_validate.c
781
if (packet_size > exec->shader_rec_size) {
drivers/gpu/drm/vc4/vc4_validate.c
784
packet_size, exec->shader_rec_size);
drivers/gpu/drm/vc4/vc4_validate.c
787
pkt_u = exec->shader_rec_u;
drivers/gpu/drm/vc4/vc4_validate.c
788
pkt_v = exec->shader_rec_v;
drivers/gpu/drm/vc4/vc4_validate.c
790
exec->shader_rec_u += packet_size;
drivers/gpu/drm/vc4/vc4_validate.c
797
exec->shader_rec_v += roundup(packet_size, 16);
drivers/gpu/drm/vc4/vc4_validate.c
798
exec->shader_rec_size -= packet_size;
drivers/gpu/drm/vc4/vc4_validate.c
801
if (src_handles[i] > exec->bo_count) {
drivers/gpu/drm/vc4/vc4_validate.c
806
bo[i] = to_drm_gem_dma_obj(exec->bo[src_handles[i]]);
drivers/gpu/drm/vc4/vc4_validate.c
811
bo[i] = vc4_use_bo(exec, src_handles[i]);
drivers/gpu/drm/vc4/vc4_validate.c
849
exec->uniforms_size) {
drivers/gpu/drm/vc4/vc4_validate.c
854
texture_handles_u = exec->uniforms_u;
drivers/gpu/drm/vc4/vc4_validate.c
858
memcpy(exec->uniforms_v, uniform_data_u,
drivers/gpu/drm/vc4/vc4_validate.c
864
if (!reloc_tex(exec,
drivers/gpu/drm/vc4/vc4_validate.c
881
((uint32_t *)exec->uniforms_v)[o] = exec->uniforms_p;
drivers/gpu/drm/vc4/vc4_validate.c
884
*(uint32_t *)(pkt_v + o + 4) = exec->uniforms_p;
drivers/gpu/drm/vc4/vc4_validate.c
886
exec->uniforms_u += validated_shader->uniforms_src_size;
drivers/gpu/drm/vc4/vc4_validate.c
887
exec->uniforms_v += validated_shader->uniforms_size;
drivers/gpu/drm/vc4/vc4_validate.c
888
exec->uniforms_p += validated_shader->uniforms_size;
drivers/gpu/drm/vc4/vc4_validate.c
929
struct vc4_exec_info *exec)
drivers/gpu/drm/vc4/vc4_validate.c
938
for (i = 0; i < exec->shader_state_count; i++) {
drivers/gpu/drm/vc4/vc4_validate.c
939
ret = validate_gl_shader_rec(dev, exec, &exec->shader_state[i]);
drivers/gpu/drm/xe/display/xe_fb_pin.c
330
struct drm_exec exec;
drivers/gpu/drm/xe/display/xe_fb_pin.c
362
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = true},
drivers/gpu/drm/xe/display/xe_fb_pin.c
364
ret = drm_exec_lock_obj(&exec, &bo->ttm.base);
drivers/gpu/drm/xe/display/xe_fb_pin.c
365
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/display/xe_fb_pin.c
370
ret = xe_bo_migrate(bo, XE_PL_VRAM0, NULL, &exec);
drivers/gpu/drm/xe/display/xe_fb_pin.c
372
ret = xe_bo_validate(bo, NULL, true, &exec);
drivers/gpu/drm/xe/display/xe_fb_pin.c
373
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/tests/xe_bo.c
136
struct drm_exec *exec = XE_VALIDATION_OPT_OUT;
drivers/gpu/drm/xe/tests/xe_bo.c
144
bo_flags, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
154
test, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
160
0xdeadbeefdeadbeefULL, test, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
165
ret = ccs_test_migrate(tile, bo, true, 0ULL, 0ULL, test, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
212
struct drm_exec *exec = XE_VALIDATION_OPT_OUT;
drivers/gpu/drm/xe/tests/xe_bo.c
223
bo_flags, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
239
err = xe_bo_pin_external(external, false, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
27
struct kunit *test, struct drm_exec *exec)
drivers/gpu/drm/xe/tests/xe_bo.c
297
err = xe_bo_validate(bo, bo->vm, false, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
306
err = xe_bo_validate(external, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
39
ret = xe_bo_validate(bo, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_bo.c
64
ret = xe_bo_evict(bo, exec);
drivers/gpu/drm/xe/tests/xe_dma_buf.c
158
struct drm_exec *exec = XE_VALIDATION_OPT_OUT;
drivers/gpu/drm/xe/tests/xe_dma_buf.c
163
err = xe_bo_validate(import_bo, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_dma_buf.c
176
check_residency(test, bo, import_bo, dmabuf, exec);
drivers/gpu/drm/xe/tests/xe_dma_buf.c
30
struct drm_exec *exec)
drivers/gpu/drm/xe/tests/xe_dma_buf.c
66
ret = xe_bo_evict(exported, exec);
drivers/gpu/drm/xe/tests/xe_dma_buf.c
81
ret = xe_bo_validate(imported, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
166
struct drm_exec *exec, struct kunit *test)
drivers/gpu/drm/xe/tests/xe_migrate.c
168
test_copy(m, bo, test, XE_BO_FLAG_SYSTEM, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
172
struct drm_exec *exec, struct kunit *test)
drivers/gpu/drm/xe/tests/xe_migrate.c
183
test_copy(m, bo, test, region, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
187
struct drm_exec *exec)
drivers/gpu/drm/xe/tests/xe_migrate.c
209
exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
218
exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
229
exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
299
test_copy_sysmem(m, tiny, exec, test);
drivers/gpu/drm/xe/tests/xe_migrate.c
302
test_copy_vram(m, tiny, exec, test);
drivers/gpu/drm/xe/tests/xe_migrate.c
321
test_copy_sysmem(m, big, exec, test);
drivers/gpu/drm/xe/tests/xe_migrate.c
324
test_copy_vram(m, big, exec, test);
drivers/gpu/drm/xe/tests/xe_migrate.c
351
struct drm_exec *exec = XE_VALIDATION_OPT_OUT;
drivers/gpu/drm/xe/tests/xe_migrate.c
355
xe_migrate_sanity_test(m, test, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
497
struct drm_exec *exec, struct kunit *test)
drivers/gpu/drm/xe/tests/xe_migrate.c
516
ret = xe_bo_evict(vram_bo, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
545
ret = xe_bo_validate(vram_bo, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
643
struct drm_exec *exec;
drivers/gpu/drm/xe/tests/xe_migrate.c
658
exec = XE_VALIDATION_OPT_OUT;
drivers/gpu/drm/xe/tests/xe_migrate.c
660
ret = xe_bo_validate(sys_bo, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
685
ret = xe_bo_validate(ccs_bo, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
709
ret = xe_bo_validate(vram_bo, NULL, false, exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
722
test_migrate(xe, tile, sys_bo, vram_bo, ccs_bo, exec, test);
drivers/gpu/drm/xe/tests/xe_migrate.c
74
struct kunit *test, u32 region, struct drm_exec *exec)
drivers/gpu/drm/xe/tests/xe_migrate.c
89
exec);
drivers/gpu/drm/xe/tests/xe_migrate.c
96
err = xe_bo_validate(remote, NULL, false, exec);
drivers/gpu/drm/xe/xe_bo.c
1337
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
1341
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.exclusive = true}, ret) {
drivers/gpu/drm/xe/xe_bo.c
1342
ret = drm_exec_lock_obj(&exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_bo.c
1343
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
1364
XE_BO_FLAG_PINNED, NULL, &exec);
drivers/gpu/drm/xe/xe_bo.c
1366
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
1474
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
1479
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.exclusive = true}, ret) {
drivers/gpu/drm/xe/xe_bo.c
1480
ret = drm_exec_lock_obj(&exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_bo.c
1481
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
1505
XE_BO_FLAG_PINNED, NULL, &exec);
drivers/gpu/drm/xe/xe_bo.c
1507
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
1935
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
1946
err = xe_bo_migrate(bo, XE_PL_TT, ctx, exec);
drivers/gpu/drm/xe/xe_bo.c
2080
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
2120
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = true},
drivers/gpu/drm/xe/xe_bo.c
2128
err = drm_exec_lock_obj(&exec, &tbo->base);
drivers/gpu/drm/xe/xe_bo.c
2129
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
2148
err = xe_bo_fault_migrate(bo, &tctx, &exec);
drivers/gpu/drm/xe/xe_bo.c
2150
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
2314
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2390
xe_validation_assert_exec(xe, exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_bo.c
2506
u64 alignment, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2531
cpu_caching, type, flags, NULL, exec);
drivers/gpu/drm/xe/xe_bo.c
2566
exec);
drivers/gpu/drm/xe/xe_bo.c
2568
err = xe_ggtt_insert_bo(t->mem.ggtt, bo, exec);
drivers/gpu/drm/xe/xe_bo.c
2603
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2606
flags, 0, exec);
drivers/gpu/drm/xe/xe_bo.c
2615
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
2619
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = intr},
drivers/gpu/drm/xe/xe_bo.c
2622
cpu_caching, type, flags, alignment, &exec);
drivers/gpu/drm/xe/xe_bo.c
2623
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
2652
u32 flags, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2658
if (vm || exec) {
drivers/gpu/drm/xe/xe_bo.c
2659
xe_assert(xe, exec);
drivers/gpu/drm/xe/xe_bo.c
2662
flags, 0, exec);
drivers/gpu/drm/xe/xe_bo.c
2695
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
2699
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
drivers/gpu/drm/xe/xe_bo.c
2701
0, type, flags, 0, &exec);
drivers/gpu/drm/xe/xe_bo.c
2703
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
2709
err = xe_bo_pin(bo, &exec);
drivers/gpu/drm/xe/xe_bo.c
2713
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
2727
u64 alignment, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2740
alignment, exec);
drivers/gpu/drm/xe/xe_bo.c
2744
err = xe_bo_pin(bo, exec);
drivers/gpu/drm/xe/xe_bo.c
2789
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
2793
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = intr},
drivers/gpu/drm/xe/xe_bo.c
2796
type, flags, alignment, &exec);
drivers/gpu/drm/xe/xe_bo.c
2798
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
2830
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2833
0, exec);
drivers/gpu/drm/xe/xe_bo.c
2968
int xe_bo_pin_external(struct xe_bo *bo, bool in_place, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
2978
err = xe_bo_validate(bo, NULL, false, exec);
drivers/gpu/drm/xe/xe_bo.c
3011
int xe_bo_pin(struct xe_bo *bo, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
3033
err = xe_bo_validate(bo, NULL, false, exec);
drivers/gpu/drm/xe/xe_bo.c
3137
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
3159
xe_validation_assert_exec(xe_bo_device(bo), exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_bo.c
3356
struct drm_exec exec;
drivers/gpu/drm/xe/xe_bo.c
3442
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = true},
drivers/gpu/drm/xe/xe_bo.c
3445
err = xe_vm_drm_exec_lock(vm, &exec);
drivers/gpu/drm/xe/xe_bo.c
3446
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
3451
bo_flags, &exec);
drivers/gpu/drm/xe/xe_bo.c
3452
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_bo.c
3679
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.c
3719
xe_validation_assert_exec(xe_bo_device(bo), exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_bo.c
3733
int xe_bo_evict(struct xe_bo *bo, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_bo.h
122
struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
126
struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
128
u16 cpu_caching, u32 flags, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
132
struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
224
int xe_bo_pin_external(struct xe_bo *bo, bool in_place, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
225
int xe_bo_pin(struct xe_bo *bo, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
229
struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
433
struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo.h
434
int xe_bo_evict(struct xe_bo *bo, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_dma_buf.c
103
struct drm_exec *exec = XE_VALIDATION_UNSUPPORTED;
drivers/gpu/drm/xe/xe_dma_buf.c
112
r = xe_bo_migrate(bo, XE_PL_TT, NULL, exec);
drivers/gpu/drm/xe/xe_dma_buf.c
114
r = xe_bo_validate(bo, NULL, false, exec);
drivers/gpu/drm/xe/xe_dma_buf.c
174
struct drm_exec exec;
drivers/gpu/drm/xe/xe_dma_buf.c
181
xe_validation_guard(&ctx, &xe_bo_device(bo)->val, &exec, (struct xe_val_flags) {}, ret) {
drivers/gpu/drm/xe/xe_dma_buf.c
182
ret = drm_exec_lock_obj(&exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_dma_buf.c
183
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_dma_buf.c
187
ret = xe_bo_migrate(bo, XE_PL_TT, NULL, &exec);
drivers/gpu/drm/xe/xe_dma_buf.c
188
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_dma_buf.c
288
struct drm_exec exec;
drivers/gpu/drm/xe/xe_dma_buf.c
297
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, ret) {
drivers/gpu/drm/xe/xe_dma_buf.c
298
ret = drm_exec_lock_obj(&exec, dummy_obj);
drivers/gpu/drm/xe/xe_dma_buf.c
299
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_dma_buf.c
305
ttm_bo_type_sg, XE_BO_FLAG_SYSTEM, dma_buf, &exec);
drivers/gpu/drm/xe/xe_dma_buf.c
306
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_dma_buf.c
322
struct drm_exec *exec = XE_VALIDATION_UNSUPPORTED;
drivers/gpu/drm/xe/xe_dma_buf.c
324
XE_WARN_ON(xe_bo_evict(bo, exec));
drivers/gpu/drm/xe/xe_dma_buf.c
55
struct drm_exec *exec = XE_VALIDATION_UNSUPPORTED;
drivers/gpu/drm/xe/xe_dma_buf.c
73
ret = xe_bo_migrate(bo, XE_PL_TT, NULL, exec);
drivers/gpu/drm/xe/xe_dma_buf.c
83
ret = xe_bo_pin_external(bo, !allow_vram, exec);
drivers/gpu/drm/xe/xe_exec.c
105
xe_vm_set_validation_exec(vm, &vm_exec->exec);
drivers/gpu/drm/xe/xe_exec.c
106
ret = xe_vm_validate_rebind(vm, &vm_exec->exec, 1);
drivers/gpu/drm/xe/xe_exec.c
122
struct drm_exec *exec = &vm_exec.exec;
drivers/gpu/drm/xe/xe_exec.c
306
drm_exec_for_each_locked_object(exec, obj) {
drivers/gpu/drm/xe/xe_exec.c
335
drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, &job->drm.s_fence->finished,
drivers/gpu/drm/xe/xe_ggtt.c
788
u64 start, u64 end, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_ggtt.c
803
err = xe_bo_validate(bo, NULL, false, exec);
drivers/gpu/drm/xe/xe_ggtt.c
871
u64 start, u64 end, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_ggtt.c
873
return __xe_ggtt_insert_bo_at(ggtt, bo, start, end, exec);
drivers/gpu/drm/xe/xe_ggtt.c
885
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_ggtt.c
887
return __xe_ggtt_insert_bo_at(ggtt, bo, 0, U64_MAX, exec);
drivers/gpu/drm/xe/xe_ggtt.h
35
int xe_ggtt_insert_bo(struct xe_ggtt *ggtt, struct xe_bo *bo, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_ggtt.h
37
u64 start, u64 end, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
524
struct drm_exec exec;
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
527
drm_exec_init(&exec, 0, 0);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
528
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
529
err = drm_exec_lock_obj(&exec, &vram->ttm.base);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
530
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
536
err = drm_exec_lock_obj(&exec, &sysmem->ttm.base);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
537
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
548
drm_exec_fini(&exec);
drivers/gpu/drm/xe/xe_migrate.c
190
struct xe_vm *vm, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_migrate.c
209
XE_BO_FLAG_PAGETABLE, exec);
drivers/gpu/drm/xe/xe_migrate.c
433
struct drm_exec exec;
drivers/gpu/drm/xe/xe_migrate.c
437
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
drivers/gpu/drm/xe/xe_migrate.c
438
err = xe_vm_drm_exec_lock(vm, &exec);
drivers/gpu/drm/xe/xe_migrate.c
442
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_migrate.c
444
err = xe_migrate_pt_bo_alloc(tile, m, vm, &exec);
drivers/gpu/drm/xe/xe_migrate.c
450
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_pagefault.c
117
xe_validation_ctx_init(&ctx, &vm->xe->val, &exec, (struct xe_val_flags) {});
drivers/gpu/drm/xe/xe_pagefault.c
118
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/xe/xe_pagefault.c
119
err = xe_pagefault_begin(&exec, vma, tile->mem.vram,
drivers/gpu/drm/xe/xe_pagefault.c
121
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_pagefault.c
128
xe_vm_set_validation_exec(vm, &exec);
drivers/gpu/drm/xe/xe_pagefault.c
48
static int xe_pagefault_begin(struct drm_exec *exec, struct xe_vma *vma,
drivers/gpu/drm/xe/xe_pagefault.c
55
err = xe_vm_lock_vma(exec, vma);
drivers/gpu/drm/xe/xe_pagefault.c
75
return need_vram_move ? xe_bo_migrate(bo, vram->placement, NULL, exec) :
drivers/gpu/drm/xe/xe_pagefault.c
76
xe_bo_validate(bo, vm, true, exec);
drivers/gpu/drm/xe/xe_pagefault.c
85
struct drm_exec exec;
drivers/gpu/drm/xe/xe_pt.c
105
unsigned int level, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_pt.c
130
drm_WARN_ON(&vm->xe->drm, IS_ERR_OR_NULL(exec));
drivers/gpu/drm/xe/xe_pt.c
133
bo_flags, exec);
drivers/gpu/drm/xe/xe_pt.h
33
unsigned int level, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_pxp_submit.c
113
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags){}, err) {
drivers/gpu/drm/xe/xe_pxp_submit.c
114
err = xe_vm_drm_exec_lock(vm, &exec);
drivers/gpu/drm/xe/xe_pxp_submit.c
115
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_pxp_submit.c
122
XE_BO_FLAG_NEEDS_UC, &exec);
drivers/gpu/drm/xe/xe_pxp_submit.c
123
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_pxp_submit.c
93
struct drm_exec exec;
drivers/gpu/drm/xe/xe_svm.c
1064
struct drm_exec exec;
drivers/gpu/drm/xe/xe_svm.c
1073
xe_validation_guard(&vctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
drivers/gpu/drm/xe/xe_svm.c
1077
XE_BO_FLAG_CPU_ADDR_MIRROR, &exec);
drivers/gpu/drm/xe/xe_svm.c
1078
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_svm.c
1221
struct drm_exec exec;
drivers/gpu/drm/xe/xe_svm.c
1328
xe_validation_guard(&vctx, &vm->xe->val, &exec, (struct xe_val_flags) {}, err) {
drivers/gpu/drm/xe/xe_svm.c
1329
err = xe_vm_drm_exec_lock(vm, &exec);
drivers/gpu/drm/xe/xe_svm.c
1330
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_svm.c
1332
xe_vm_set_validation_exec(vm, &exec);
drivers/gpu/drm/xe/xe_svm.c
1336
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_sync.c
122
bool exec = flags & SYNC_PARSE_FLAG_EXEC;
drivers/gpu/drm/xe/xe_sync.c
200
if (exec) {
drivers/gpu/drm/xe/xe_validation.c
126
struct drm_exec *exec, const struct xe_val_flags flags)
drivers/gpu/drm/xe/xe_validation.c
130
ctx->exec = exec;
drivers/gpu/drm/xe/xe_validation.c
146
if (exec) {
drivers/gpu/drm/xe/xe_validation.c
151
drm_exec_init(exec, ctx->exec_flags, ctx->nr);
drivers/gpu/drm/xe/xe_validation.c
165
static bool xe_validation_contention_injected(struct drm_exec *exec)
drivers/gpu/drm/xe/xe_validation.c
167
return !!drm_exec_ticket(exec)->contending_lock;
drivers/gpu/drm/xe/xe_validation.c
172
static bool xe_validation_contention_injected(struct drm_exec *exec)
drivers/gpu/drm/xe/xe_validation.c
183
xe_validation_contention_injected(ctx->exec)) ||
drivers/gpu/drm/xe/xe_validation.c
213
ctx->exec = &vm_exec->exec;
drivers/gpu/drm/xe/xe_validation.c
243
if (ctx->exec)
drivers/gpu/drm/xe/xe_validation.c
244
drm_exec_fini(ctx->exec);
drivers/gpu/drm/xe/xe_validation.c
266
drm_exec_fini(ctx->exec);
drivers/gpu/drm/xe/xe_validation.c
272
drm_exec_init(ctx->exec, ctx->exec_flags, ctx->nr);
drivers/gpu/drm/xe/xe_validation.c
28
const struct drm_exec *exec,
drivers/gpu/drm/xe/xe_validation.c
31
xe_assert(xe, exec);
drivers/gpu/drm/xe/xe_validation.c
32
if (IS_ERR(exec)) {
drivers/gpu/drm/xe/xe_validation.c
33
switch (PTR_ERR(exec)) {
drivers/gpu/drm/xe/xe_validation.h
114
struct drm_exec *exec;
drivers/gpu/drm/xe/xe_validation.h
125
struct drm_exec *exec, const struct xe_val_flags flags);
drivers/gpu/drm/xe/xe_validation.h
149
drm_exec_retry((_ctx)->exec); \
drivers/gpu/drm/xe/xe_validation.h
62
void xe_validation_assert_exec(const struct xe_device *xe, const struct drm_exec *exec,
drivers/gpu/drm/xe/xe_vm.c
1263
int xe_vm_lock_vma(struct drm_exec *exec, struct xe_vma *vma)
drivers/gpu/drm/xe/xe_vm.c
1271
err = drm_exec_lock_obj(exec, xe_vm_obj(vm));
drivers/gpu/drm/xe/xe_vm.c
1273
err = drm_exec_lock_obj(exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_vm.c
1282
struct drm_exec exec;
drivers/gpu/drm/xe/xe_vm.c
1285
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {}, err) {
drivers/gpu/drm/xe/xe_vm.c
1286
err = xe_vm_lock_vma(&exec, vma);
drivers/gpu/drm/xe/xe_vm.c
1287
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
1536
struct xe_vm *vm, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_vm.c
1542
vm->scratch_pt[id][i] = xe_pt_create(vm, tile, i, exec);
drivers/gpu/drm/xe/xe_vm.c
1609
struct drm_exec exec;
drivers/gpu/drm/xe/xe_vm.c
1706
xe_validation_guard(&ctx, &xe->val, &exec, (struct xe_val_flags) {.interruptible = true},
drivers/gpu/drm/xe/xe_vm.c
1708
err = xe_vm_drm_exec_lock(vm, &exec);
drivers/gpu/drm/xe/xe_vm.c
1709
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
1720
&exec);
drivers/gpu/drm/xe/xe_vm.c
1725
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
1738
err = xe_vm_create_scratch(xe, tile, vm, &exec);
drivers/gpu/drm/xe/xe_vm.c
1742
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
201
struct drm_exec *exec)
drivers/gpu/drm/xe/xe_vm.c
211
drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, q->lr.pfence,
drivers/gpu/drm/xe/xe_vm.c
223
struct drm_exec *exec = &vm_exec.exec;
drivers/gpu/drm/xe/xe_vm.c
249
drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, pfence,
drivers/gpu/drm/xe/xe_vm.c
2581
struct drm_exec exec;
drivers/gpu/drm/xe/xe_vm.c
2589
xe_validation_guard(&ctx, &vm->xe->val, &exec,
drivers/gpu/drm/xe/xe_vm.c
2592
err = drm_exec_lock_obj(&exec, xe_vm_obj(vm));
drivers/gpu/drm/xe/xe_vm.c
2593
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
2596
err = drm_exec_lock_obj(&exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_vm.c
2597
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
3053
static int vma_lock_and_validate(struct drm_exec *exec, struct xe_vma *vma,
drivers/gpu/drm/xe/xe_vm.c
3063
err = drm_exec_lock_obj(exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_vm.c
3080
flags.res_evict, exec);
drivers/gpu/drm/xe/xe_vm.c
3162
static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm,
drivers/gpu/drm/xe/xe_vm.c
3178
err = vma_lock_and_validate(exec, op->map.vma,
drivers/gpu/drm/xe/xe_vm.c
3193
err = vma_lock_and_validate(exec,
drivers/gpu/drm/xe/xe_vm.c
3202
err = vma_lock_and_validate(exec, op->remap.prev,
drivers/gpu/drm/xe/xe_vm.c
3210
err = vma_lock_and_validate(exec, op->remap.next,
drivers/gpu/drm/xe/xe_vm.c
3223
err = vma_lock_and_validate(exec,
drivers/gpu/drm/xe/xe_vm.c
3250
err = vma_lock_and_validate(exec,
drivers/gpu/drm/xe/xe_vm.c
3276
err = xe_bo_migrate(bo, mem_type, NULL, exec);
drivers/gpu/drm/xe/xe_vm.c
328
static int xe_gpuvm_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_vm.c
3306
static int vm_bind_ioctl_ops_lock_and_prep(struct drm_exec *exec,
drivers/gpu/drm/xe/xe_vm.c
3313
err = drm_exec_lock_obj(exec, xe_vm_obj(vm));
drivers/gpu/drm/xe/xe_vm.c
3318
err = op_lock_and_prep(exec, vm, vops, op);
drivers/gpu/drm/xe/xe_vm.c
349
ret = xe_bo_validate(bo, vm, false, exec);
drivers/gpu/drm/xe/xe_vm.c
3554
struct drm_exec exec;
drivers/gpu/drm/xe/xe_vm.c
3560
xe_validation_guard(&ctx, &vm->xe->val, &exec,
drivers/gpu/drm/xe/xe_vm.c
3565
err = vm_bind_ioctl_ops_lock_and_prep(&exec, vm, vops);
drivers/gpu/drm/xe/xe_vm.c
3566
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
3571
xe_vm_set_validation_exec(vm, &exec);
drivers/gpu/drm/xe/xe_vm.c
372
int xe_vm_validate_rebind(struct xe_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/xe/xe_vm.c
379
ret = drm_gpuvm_validate(&vm->gpuvm, exec);
drivers/gpu/drm/xe/xe_vm.c
388
drm_exec_for_each_locked_object(exec, obj) {
drivers/gpu/drm/xe/xe_vm.c
397
static int xe_preempt_work_begin(struct drm_exec *exec, struct xe_vm *vm,
drivers/gpu/drm/xe/xe_vm.c
402
err = drm_gpuvm_prepare_vm(&vm->gpuvm, exec, 0);
drivers/gpu/drm/xe/xe_vm.c
417
err = drm_gpuvm_prepare_objects(&vm->gpuvm, exec, 0);
drivers/gpu/drm/xe/xe_vm.c
431
return xe_vm_validate_rebind(vm, exec, vm->preempt.num_exec_queues);
drivers/gpu/drm/xe/xe_vm.c
465
struct drm_exec exec;
drivers/gpu/drm/xe/xe_vm.c
497
err = xe_validation_ctx_init(&ctx, &vm->xe->val, &exec,
drivers/gpu/drm/xe/xe_vm.c
502
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/xe/xe_vm.c
505
err = xe_preempt_work_begin(&exec, vm, &done);
drivers/gpu/drm/xe/xe_vm.c
506
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm.c
518
xe_vm_set_validation_exec(vm, &exec);
drivers/gpu/drm/xe/xe_vm.c
553
resume_and_reinstall_preempt_fences(vm, &exec);
drivers/gpu/drm/xe/xe_vm.c
60
int xe_vm_drm_exec_lock(struct xe_vm *vm, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_vm.c
62
return drm_exec_lock_obj(exec, xe_vm_obj(vm));
drivers/gpu/drm/xe/xe_vm.h
282
int xe_vm_lock_vma(struct drm_exec *exec, struct xe_vma *vma);
drivers/gpu/drm/xe/xe_vm.h
284
int xe_vm_validate_rebind(struct xe_vm *vm, struct drm_exec *exec,
drivers/gpu/drm/xe/xe_vm.h
315
int xe_vm_drm_exec_lock(struct xe_vm *vm, struct drm_exec *exec);
drivers/gpu/drm/xe/xe_vm.h
398
static inline void xe_vm_set_validation_exec(struct xe_vm *vm, struct drm_exec *exec)
drivers/gpu/drm/xe/xe_vm.h
401
xe_assert(vm->xe, !!exec ^ !!vm->validation._exec);
drivers/gpu/drm/xe/xe_vm.h
402
vm->validation._exec = exec;
drivers/gpu/drm/xe/xe_vm_madvise.c
598
struct drm_exec exec;
drivers/gpu/drm/xe/xe_vm_madvise.c
682
drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES | DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
drivers/gpu/drm/xe/xe_vm_madvise.c
683
drm_exec_until_all_locked(&exec) {
drivers/gpu/drm/xe/xe_vm_madvise.c
700
err = drm_exec_lock_obj(&exec, &bo->ttm.base);
drivers/gpu/drm/xe/xe_vm_madvise.c
701
drm_exec_retry_on_contention(&exec);
drivers/gpu/drm/xe/xe_vm_madvise.c
734
drm_exec_fini(&exec);
drivers/leds/leds-lp55xx-common.c
141
u8 mode, exec;
drivers/leds/leds-lp55xx-common.c
149
ret = lp55xx_read(chip, cfg->reg_exec.addr, &exec);
drivers/leds/leds-lp55xx-common.c
160
exec &= ~LP55xx_EXEC_ENGn_MASK(i, cfg->reg_exec.shift);
drivers/leds/leds-lp55xx-common.c
161
exec |= LP55xx_EXEC_RUN_ENG << LP55xx_EXEC_ENGn_SHIFT(i, cfg->reg_exec.shift);
drivers/leds/leds-lp55xx-common.c
166
lp55xx_write(chip, cfg->reg_exec.addr, exec);
drivers/mtd/nand/raw/nand_base.c
2558
ret = pattern->exec(chip, &ctx.subop);
drivers/mtd/nand/raw/qcom_nandc.c
1718
nandc->regs->exec = cpu_to_le32(1);
drivers/mtd/nand/raw/qcom_nandc.c
1721
qcom_write_reg_dma(nandc, &nandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/mtd/nand/raw/qcom_nandc.c
1778
nandc->regs->exec = cpu_to_le32(1);
drivers/mtd/nand/raw/qcom_nandc.c
1781
qcom_write_reg_dma(nandc, &nandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/mtd/nand/raw/qcom_nandc.c
1835
nandc->regs->exec = cpu_to_le32(1);
drivers/mtd/nand/raw/qcom_nandc.c
1841
qcom_write_reg_dma(nandc, &nandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/mtd/nand/raw/qcom_nandc.c
1912
nandc->regs->exec = cpu_to_le32(1);
drivers/mtd/nand/raw/qcom_nandc.c
297
nandc->regs->exec = cpu_to_le32(1);
drivers/mtd/nand/raw/qcom_nandc.c
341
qcom_write_reg_dma(nandc, &nandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/mtd/nand/raw/qcom_nandc.c
388
qcom_write_reg_dma(nandc, &nandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
57
exe_q_execute exec,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
74
o->execute = exec;
drivers/net/ethernet/brocade/bna/bfa_ioc.c
1162
if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) {
drivers/net/ethernet/brocade/bna/bfi.h
257
u32 exec; /*!< exec vector */
drivers/net/wireless/realtek/rtlwifi/base.c
2328
void rtl_c2hcmd_launcher(struct ieee80211_hw *hw, int exec)
drivers/net/wireless/realtek/rtlwifi/base.c
2347
if (exec)
drivers/net/wireless/realtek/rtlwifi/base.h
111
void rtl_c2hcmd_launcher(struct ieee80211_hw *hw, int exec);
drivers/sbus/char/oradax.c
860
ctx->result.exec.status = DAX_SUBMIT_ERR_THR_INIT;
drivers/sbus/char/oradax.c
867
ctx->result.exec.status = DAX_SUBMIT_ERR_NO_CA_AVAIL;
drivers/sbus/char/oradax.c
877
ctx->result.exec.status = DAX_SUBMIT_ERR_CCB_ARR_MMU_MISS;
drivers/sbus/char/oradax.c
885
ctx->result.exec.status = DAX_SUBMIT_ERR_NO_CA_AVAIL;
drivers/sbus/char/oradax.c
891
ctx->result.exec.status = dax_preprocess_usr_ccbs(ctx, idx, nccbs);
drivers/sbus/char/oradax.c
892
if (ctx->result.exec.status != DAX_SUBMIT_OK)
drivers/sbus/char/oradax.c
895
ctx->result.exec.status = dax_lock_pages(ctx, idx, nccbs,
drivers/sbus/char/oradax.c
896
&ctx->result.exec.status_data);
drivers/sbus/char/oradax.c
897
if (ctx->result.exec.status != DAX_SUBMIT_OK)
drivers/sbus/char/oradax.c
905
&accepted_len, &ctx->result.exec.status_data);
drivers/sbus/char/oradax.c
918
ctx->result.exec.status = DAX_SUBMIT_OK;
drivers/sbus/char/oradax.c
926
ctx->result.exec.status = DAX_SUBMIT_ERR_WOULDBLOCK;
drivers/sbus/char/oradax.c
934
ctx->result.exec.status = DAX_SUBMIT_ERR_NOMAP;
drivers/sbus/char/oradax.c
944
ctx->result.exec.status = DAX_SUBMIT_ERR_CCB_INVAL;
drivers/sbus/char/oradax.c
953
ctx->result.exec.status = DAX_SUBMIT_ERR_NOACCESS;
drivers/sbus/char/oradax.c
962
ctx->result.exec.status = DAX_SUBMIT_ERR_UNAVAIL;
drivers/sbus/char/oradax.c
965
ctx->result.exec.status = DAX_SUBMIT_ERR_INTERNAL;
drivers/sbus/char/oradax.c
982
hv_rv, accepted_len, ctx->result.exec.status_data,
drivers/sbus/char/oradax.c
983
ctx->result.exec.status);
drivers/scsi/bfa/bfa_ioc.c
724
if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) {
drivers/scsi/bfa/bfa_ioc.c
741
bfa_trc(iocpf->ioc, swab32(fwhdr.exec));
drivers/scsi/bfa/bfi.h
350
u32 exec; /* exec vector */
drivers/spi/spi-qpic-snand.c
1018
qcom_write_reg_dma(snandc, &snandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/spi/spi-qpic-snand.c
1057
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
1140
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
1215
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
1357
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
1362
qcom_write_reg_dma(snandc, &snandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/spi/spi-qpic-snand.c
492
qcom_write_reg_dma(snandc, &snandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/spi/spi-qpic-snand.c
520
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
524
qcom_write_reg_dma(snandc, &snandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/spi/spi-qpic-snand.c
554
qcom_write_reg_dma(snandc, &snandc->regs->exec, NAND_EXEC_CMD, 1, NAND_BAM_NEXT_SGL);
drivers/spi/spi-qpic-snand.c
604
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
737
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
851
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-qpic-snand.c
940
snandc->regs->exec = cpu_to_le32(1);
drivers/spi/spi-wpcm-fiu.c
136
int (*exec)(struct spi_mem *mem, const struct spi_mem_op *op);
drivers/spi/spi-wpcm-fiu.c
300
{ .match = wpcm_fiu_normal_match, .exec = wpcm_fiu_normal_exec },
drivers/spi/spi-wpcm-fiu.c
301
{ .match = wpcm_fiu_fast_read_match, .exec = wpcm_fiu_fast_read_exec },
drivers/spi/spi-wpcm-fiu.c
302
{ .match = wpcm_fiu_4ba_match, .exec = wpcm_fiu_4ba_exec },
drivers/spi/spi-wpcm-fiu.c
303
{ .match = wpcm_fiu_rdid_match, .exec = wpcm_fiu_rdid_exec },
drivers/spi/spi-wpcm-fiu.c
304
{ .match = wpcm_fiu_dummy_match, .exec = wpcm_fiu_dummy_exec },
drivers/spi/spi-wpcm-fiu.c
359
return shape->exec(mem, op);
fs/binfmt_elf.c
165
create_elf_tables(struct linux_binprm *bprm, const struct elfhdr *exec,
fs/binfmt_elf.c
255
NEW_AUX_ENT(AT_PHNUM, exec->e_phnum);
fs/binfmt_elf.c
276
NEW_AUX_ENT(AT_EXECFN, bprm->exec);
fs/binfmt_elf.c
309
bprm->exec = (unsigned long)sp; /* XXX: PARISC HACK */
fs/binfmt_elf_fdpic.c
661
NEW_AUX_ENT(AT_EXECFN, bprm->exec);
fs/exec.c
1094
void __set_task_comm(struct task_struct *tsk, const char *buf, bool exec)
fs/exec.c
1101
perf_event_comm(tsk, exec);
fs/exec.c
1722
struct file *exec;
fs/exec.c
1732
exec = bprm->file;
fs/exec.c
1736
exe_file_allow_write_access(exec);
fs/exec.c
1739
fput(exec);
fs/exec.c
1742
bprm->executable = exec;
fs/exec.c
1744
fput(exec);
fs/exec.c
1850
bprm->exec = bprm->p;
fs/exec.c
1912
bprm->exec = bprm->p;
fs/exec.c
652
bprm->exec -= stack_shift;
fs/exec.c
754
bprm->exec += *sp_location - MAX_ARG_PAGES * PAGE_SIZE;
include/drm/drm_exec.h
101
#define drm_exec_for_each_locked_object_reverse(exec, obj) \
include/drm/drm_exec.h
102
__drm_exec_for_each_locked_object_reverse(exec, obj, __UNIQUE_ID(drm_exec))
include/drm/drm_exec.h
116
#define drm_exec_until_all_locked(exec) \
include/drm/drm_exec.h
118
drm_exec_cleanup(exec);) \
include/drm/drm_exec.h
133
#define drm_exec_retry_on_contention(exec) \
include/drm/drm_exec.h
135
if (unlikely(drm_exec_is_contended(exec))) \
include/drm/drm_exec.h
146
static inline bool drm_exec_is_contended(struct drm_exec *exec)
include/drm/drm_exec.h
148
return !!exec->contended;
include/drm/drm_exec.h
172
static inline struct ww_acquire_ctx *drm_exec_ticket(struct drm_exec *exec)
include/drm/drm_exec.h
174
return &exec->ticket;
include/drm/drm_exec.h
177
void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr);
include/drm/drm_exec.h
178
void drm_exec_fini(struct drm_exec *exec);
include/drm/drm_exec.h
179
bool drm_exec_cleanup(struct drm_exec *exec);
include/drm/drm_exec.h
180
int drm_exec_lock_obj(struct drm_exec *exec, struct drm_gem_object *obj);
include/drm/drm_exec.h
181
void drm_exec_unlock_obj(struct drm_exec *exec, struct drm_gem_object *obj);
include/drm/drm_exec.h
182
int drm_exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj,
include/drm/drm_exec.h
184
int drm_exec_prepare_array(struct drm_exec *exec,
include/drm/drm_exec.h
69
drm_exec_obj(struct drm_exec *exec, unsigned long index)
include/drm/drm_exec.h
71
return index < exec->num_objects ? exec->objects[index] : NULL;
include/drm/drm_exec.h
75
#define __drm_exec_for_each_locked_object(exec, obj, __index) \
include/drm/drm_exec.h
76
for (unsigned long __index = 0; ((obj) = drm_exec_obj(exec, __index)); ++__index)
include/drm/drm_exec.h
84
#define drm_exec_for_each_locked_object(exec, obj) \
include/drm/drm_exec.h
85
__drm_exec_for_each_locked_object(exec, obj, __UNIQUE_ID(drm_exec))
include/drm/drm_exec.h
88
#define __drm_exec_for_each_locked_object_reverse(exec, obj, __index) \
include/drm/drm_exec.h
89
for (unsigned long __index = (exec)->num_objects - 1; \
include/drm/drm_exec.h
90
((obj) = drm_exec_obj(exec, __index)); --__index)
include/drm/drm_gpuvm.h
1206
struct drm_exec *exec);
include/drm/drm_gpuvm.h
1260
struct drm_exec *exec, unsigned int num_fences,
include/drm/drm_gpuvm.h
1263
int drm_gpuvm_sm_unmap_exec_lock(struct drm_gpuvm *gpuvm, struct drm_exec *exec,
include/drm/drm_gpuvm.h
537
struct drm_exec exec;
include/drm/drm_gpuvm.h
574
struct drm_exec *exec,
include/drm/drm_gpuvm.h
578
struct drm_exec *exec,
include/drm/drm_gpuvm.h
582
struct drm_exec *exec,
include/drm/drm_gpuvm.h
607
drm_exec_fini(&vm_exec->exec);
include/drm/drm_gpuvm.h
610
int drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec);
include/drm/drm_gpuvm.h
612
struct drm_exec *exec,
include/drm/drm_gpuvm.h
632
drm_gpuvm_resv_add_fence(vm_exec->vm, &vm_exec->exec, fence,
include/drm/drm_gpuvm.h
647
return drm_gpuvm_validate(vm_exec->vm, &vm_exec->exec);
include/linux/binfmts.h
70
unsigned long exec;
include/linux/mtd/nand-qpic-common.h
303
__le32 exec;
include/linux/mtd/rawnand.h
966
int (*exec)(struct nand_chip *chip, const struct nand_subop *subop);
include/linux/mtd/rawnand.h
971
.exec = _exec, \
include/linux/perf_event.h
1725
extern void perf_event_comm(struct task_struct *tsk, bool exec);
include/linux/perf_event.h
2002
static inline void perf_event_comm(struct task_struct *tsk, bool exec) { }
include/linux/sched.h
2018
extern void __set_task_comm(struct task_struct *tsk, const char *from, bool exec);
include/uapi/linux/a.out.h
44
#define N_MAGIC(exec) ((exec).a_info & 0xffff)
include/uapi/linux/a.out.h
46
#define N_MACHTYPE(exec) ((enum machine_type)(((exec).a_info >> 16) & 0xff))
include/uapi/linux/a.out.h
47
#define N_FLAGS(exec) (((exec).a_info >> 24) & 0xff)
include/uapi/linux/a.out.h
48
#define N_SET_INFO(exec, magic, type, flags) \
include/uapi/linux/a.out.h
49
((exec).a_info = ((magic) & 0xffff) \
include/uapi/linux/a.out.h
52
#define N_SET_MAGIC(exec, magic) \
include/uapi/linux/a.out.h
53
((exec).a_info = (((exec).a_info & 0xffff0000) | ((magic) & 0xffff)))
include/uapi/linux/a.out.h
55
#define N_SET_MACHTYPE(exec, machtype) \
include/uapi/linux/a.out.h
56
((exec).a_info = \
include/uapi/linux/a.out.h
57
((exec).a_info&0xff00ffff) | ((((int)(machtype))&0xff) << 16))
include/uapi/linux/a.out.h
59
#define N_SET_FLAGS(exec, flags) \
include/uapi/linux/a.out.h
60
((exec).a_info = \
include/uapi/linux/a.out.h
61
((exec).a_info&0x00ffffff) | (((flags) & 0xff) << 24))
include/uapi/linux/a.out.h
83
#define _N_HDROFF(x) (1024 - sizeof (struct exec))
include/uapi/linux/a.out.h
87
(N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \
include/uapi/linux/a.out.h
88
(N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec)))
include/uapi/linux/cn_proc.h
108
} exec;
include/uapi/linux/openvswitch.h
713
bool exec; /* When true, actions in sample will not
kernel/events/core.c
9394
void perf_event_comm(struct task_struct *task, bool exec)
kernel/events/core.c
9408
.misc = exec ? PERF_RECORD_MISC_COMM_EXEC : 0,
net/openvswitch/actions.c
964
clone_flow_key = !arg->exec;
net/openvswitch/flow_netlink.c
2606
arg.exec = last || !actions_may_change_flow(actions);
net/openvswitch/flow_netlink.c
2717
u32 exec;
net/openvswitch/flow_netlink.c
2726
exec = last || !actions_may_change_flow(attr);
net/openvswitch/flow_netlink.c
2728
err = ovs_nla_add_action(sfa, OVS_CLONE_ATTR_EXEC, &exec,
net/openvswitch/flow_netlink.c
2729
sizeof(exec), log);
scripts/kconfig/qconf.cc
1708
switch (mb.exec()) {
scripts/kconfig/qconf.cc
1855
configApp->exec();
scripts/kconfig/qconf.cc
895
headerPopup->exec(e->globalPos());
tools/perf/util/comm.c
192
struct comm *comm__new(const char *str, u64 timestamp, bool exec)
tools/perf/util/comm.c
200
comm->exec = exec;
tools/perf/util/comm.c
211
int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec)
tools/perf/util/comm.c
222
if (exec)
tools/perf/util/comm.c
223
comm->exec = true;
tools/perf/util/comm.h
15
bool exec;
tools/perf/util/comm.h
23
struct comm *comm__new(const char *str, u64 timestamp, bool exec);
tools/perf/util/comm.h
26
bool exec);
tools/perf/util/machine.c
613
bool exec = event->header.misc & PERF_RECORD_MISC_COMM_EXEC;
tools/perf/util/machine.c
616
if (exec)
tools/perf/util/machine.c
623
__thread__set_comm(thread, event->comm.comm, sample->time, exec)) {
tools/perf/util/probe-event.c
221
static int convert_exec_to_group(const char *exec, char **result)
tools/perf/util/probe-event.c
227
exec_copy = strdup(exec);
tools/perf/util/probe-event.c
622
static int get_text_start_address(const char *exec, u64 *address,
tools/perf/util/probe-event.c
632
fd = open(exec, O_RDONLY);
tools/perf/util/probe-event.c
775
int ntevs, const char *exec,
tools/perf/util/probe-event.c
781
if (!exec)
tools/perf/util/probe-event.c
784
ret = get_text_start_address(exec, &stext, nsi);
tools/perf/util/probe-event.c
791
tevs[i].point.module = strdup(exec);
tools/perf/util/scripting-engines/trace-event-python.c
1208
tuple_set_s32(t, 4, comm->exec);
tools/perf/util/thread.c
230
if (comm->exec) {
tools/perf/util/thread.c
252
u64 timestamp, bool exec)
tools/perf/util/thread.c
259
int err = comm__override(curr, str, timestamp, exec);
tools/perf/util/thread.c
263
new = comm__new(str, timestamp, exec);
tools/perf/util/thread.c
268
if (exec)
tools/perf/util/thread.c
278
bool exec)
tools/perf/util/thread.c
283
ret = ____thread__set_comm(thread, str, timestamp, exec);
tools/perf/util/thread.h
108
bool exec);
tools/testing/selftests/arm64/gcs/libc-gcs.c
674
FIXTURE_VARIANT_ADD(invalid_mprotect, exec)
tools/testing/selftests/bpf/progs/local_storage.c
193
void BPF_PROG(exec, struct linux_binprm *bprm)
tools/testing/selftests/bpf/progs/task_kfunc_failure.c
345
int BPF_PROG(task_access_comm4, struct task_struct *task, const char *buf, bool exec)
tools/testing/selftests/bpf/progs/test_overhead.c
10
int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec)
tools/testing/selftests/bpf/progs/test_overhead.c
28
int BPF_PROG(prog4, struct task_struct *tsk, const char *buf, bool exec)
tools/testing/selftests/bpf/progs/test_overhead.c
34
int BPF_PROG(prog5, struct task_struct *tsk, const char *buf, bool exec)
tools/testing/selftests/connector/proc_filter.c
164
event->event_data.exec.process_pid,
tools/testing/selftests/connector/proc_filter.c
165
event->event_data.exec.process_tgid);
tools/testing/selftests/exec/check-exec.c
269
const int exec = variant->mount_exec && variant->file_exec;
tools/testing/selftests/exec/check-exec.c
271
test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
274
test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
279
const int exec = variant->mount_exec && variant->file_exec;
tools/testing/selftests/exec/check-exec.c
283
test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
286
test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
292
const int exec = variant->file_exec;
tools/testing/selftests/exec/check-exec.c
294
test_exec_fd(_metadata, self->memfd, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
297
test_exec_fd(_metadata, self->memfd, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
302
const int exec = variant->file_exec;
tools/testing/selftests/exec/check-exec.c
306
test_exec_fd(_metadata, self->memfd, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
309
test_exec_fd(_metadata, self->memfd, exec ? 0 : EACCES);
tools/testing/selftests/exec/check-exec.c
375
TEST_F(secbits, exec)
tools/testing/selftests/exec/null-argv.c
10
#define FORK(exec) \
tools/testing/selftests/exec/null-argv.c
15
exec; /* Some kind of exec */ \
tools/testing/selftests/exec/null-argv.c
16
perror("# " #exec); \
tools/testing/selftests/exec/null-argv.c
19
check_result(pid, #exec); \