Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 44 files:
- drivers/accel/ethosu/ethosu_job.c, line 346
- drivers/accel/ivpu/ivpu_job.c, line 516
- drivers/accel/rocket/rocket_job.c, line 484
- drivers/dma-buf/dma-fence-chain.c, line 258
- drivers/dma-buf/dma-fence-unwrap.c, line 186
- drivers/dma-buf/dma-fence.c, line 182
- drivers/dma-buf/dma-resv.c, line 651
- drivers/dma-buf/st-dma-fence-unwrap.c
- drivers/dma-buf/sw_sync.c, line 109
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c, line 1424
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 3729
- drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c, line 163
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c, line 87
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c, line 2619
- drivers/gpu/drm/drm_crtc.c, line 295
- drivers/gpu/drm/drm_writeback.c, line 275
- drivers/gpu/drm/etnaviv/etnaviv_gpu.c, line 1834
- drivers/gpu/drm/i915/gt/intel_execlists_submission.c, line 2675
- drivers/gpu/drm/i915/gt/intel_timeline.c, line 102
- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c, line 4249
- drivers/gpu/drm/imagination/pvr_ccb.c, line 548
- drivers/gpu/drm/imagination/pvr_queue.c, line 355
- drivers/gpu/drm/lima/lima_sched.c, line 531
- drivers/gpu/drm/msm/msm_fence.c, line 55
- drivers/gpu/drm/nouveau/nouveau_chan.c
- drivers/gpu/drm/panfrost/panfrost_job.c, line 897
- drivers/gpu/drm/panthor/panthor_sched.c, line 3535
- drivers/gpu/drm/radeon/radeon_device.c, line 1299
- drivers/gpu/drm/scheduler/sched_entity.c, line 149
- drivers/gpu/drm/scheduler/tests/mock_scheduler.c, line 308
- drivers/gpu/drm/v3d/v3d_gem.c, line 317
- drivers/gpu/drm/vc4/vc4_gem.c, line 1168
- drivers/gpu/drm/vgem/vgem_fence.c, line 80
- drivers/gpu/drm/virtio/virtgpu_ioctl.c, line 655
- drivers/gpu/drm/virtio/virtgpu_kms.c, line 192
- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c, line 142
- drivers/gpu/drm/xe/xe_exec_queue.c, line 1413
- drivers/gpu/drm/xe/xe_hw_fence.c, line 114
- drivers/gpu/drm/xe/xe_sync.c, line 378
- drivers/gpu/drm/xe/xe_tlb_inval.c, line 462
- drivers/gpu/drm/xe/xe_vm.c, line 3609
- drivers/gpu/host1x/fence.c, line 139
- drivers/iio/industrialio-buffer.c, line 1711
- drivers/usb/gadget/function/f_fs.c, line 1575
Smatch caller information:
drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_context_init_ioctl() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 0-64 |
| LOCK2 | &vfpriv->context_lock | ||
| TYPE_LOCK | (struct virtio_gpu_fpriv)->context_lock |
drivers/iio/industrialio-buffer.c iio_buffer_attach_dmabuf() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vgem/vgem_fence.c vgem_fence_create() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/drm_writeback.c __drm_writeback_connector_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/v3d/v3d_gem.c v3d_gem_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/panthor/panthor_sched.c group_create_queue() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/etnaviv/etnaviv_gpu.c etnaviv_gpu_bind() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c vmw_fence_manager_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/scheduler/sched_entity.c drm_sched_entity_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &entity_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/accel/ivpu/ivpu_job.c ivpu_fence_create() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| LOCK2 | global &drm_unplug_srcu |
drivers/accel/ethosu/ethosu_job.c ethosu_job_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_tlb_inval.c xe_tlb_inval_fence_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tlb_inval->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct xe_tlb_inval)->lock |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &syncobj->lock |
drivers/accel/rocket/rocket_job.c rocket_job_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma-buf/st-dma-fence-unwrap.c mock_array() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/dma-buf/st-dma-fence-unwrap.c mock_fence() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_complex_seqno() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_complex_seqno() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_seqno() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_seqno() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/dma-buf/dma-resv.c dma_resv_get_singleton() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &driver_migrate_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | obj |
drivers/gpu/drm/xe/xe_vm.c ops_execute() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_exec_queue.c xe_exec_queue_create_ioctl() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/radeon/radeon_device.c radeon_device_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_sync.c xe_sync_in_fence_get() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ce->pin_mutex |
drivers/gpu/drm/virtio/virtgpu_kms.c virtio_gpu_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/intel_execlists_submission.c execlists_create_parallel() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| HALF_LOCKED2 | &file_priv->proto_context_lock |
drivers/dma-buf/sw_sync.c sync_timeline_create() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/msm_fence.c msm_fence_context_alloc() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c amdgpu_evf_mgr_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_jm_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channels_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 0-31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channels_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c init_kfd_vm() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/vc4/vc4_gem.c vc4_gem_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &component_mutex |
drivers/gpu/host1x/fence.c host1x_fence_create() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ch->cdma.lock | ||
| HALF_LOCKED2 | &ch->submitlock | ||
| HALF_LOCKED2 | &fpriv->lock |
drivers/gpu/drm/drm_crtc.c __drm_crtc_init_with_planes() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_fence_driver_alloc() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c guc_create_parallel() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| HALF_LOCKED2 | &file_priv->proto_context_lock |
drivers/gpu/drm/xe/xe_hw_fence.c xe_hw_fence_ctx_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/lima/lima_sched.c lima_sched_pipe_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma-buf/dma-fence-unwrap.c __dma_fence_unwrap_merge() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &v3d->sched_lock |
drivers/usb/gadget/function/f_fs.c ffs_dmabuf_attach() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/scheduler/tests/mock_scheduler.c drm_mock_sched_new() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_init() -> dma_fence_context_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | num | 149 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |