Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_composite_fence_create() -> dma_fence_array_create()

Type Parameter Key Value
PARAM_VALUE 0 num_fences s32min-(-1),1-s32max
PARAM_VALUE 1 fences 4096-ptr_max
BUF_SIZE 1 fences 8-34359738360
BUF_SIZE 1 fences 8-34359738360
CAPPED_DATA 0 num_fences 1
DATA_SOURCE 1 fences r _kmalloc_noprof
NO_OVERFLOW_SIMPLE 0 num_fences
UNITS 0 num_fences unit_array_size

drivers/dma-buf/st-dma-fence-unwrap.c mock_array() -> dma_fence_array_create()

Type Parameter Key Value
PARAM_VALUE 0 num_fences 1-2
PARAM_VALUE 1 fences 4096-ptr_max
PARAM_VALUE 3 seqno 1
BUF_SIZE 1 fences 8-16
BUF_SIZE 1 fences 8-16
CAPPED_DATA 0 num_fences 1
DATA_SOURCE 0 num_fences $0
DATA_SOURCE 1 fences r _kzalloc_noprof
NO_OVERFLOW_SIMPLE 0 num_fences
UNITS 0 num_fences unit_array_size

drivers/dma-buf/dma-resv.c dma_resv_get_singleton() -> dma_fence_array_create()

Type Parameter Key Value
PARAM_VALUE 0 num_fences s32min-(-1),2-s32max
PARAM_VALUE 1 fences 0,4096-ptr_max
PARAM_VALUE 3 seqno 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_sync.c xe_sync_in_fence_get() -> dma_fence_array_create()

Type Parameter Key Value
PARAM_VALUE 0 num_fences 0,2-s32max
PARAM_VALUE 1 fences 4096-ptr_max
PARAM_VALUE 3 seqno 1
BUF_SIZE 1 fences 0,16-17179869176
BUF_SIZE 1 fences 0,16-17179869176
DATA_SOURCE 1 fences r _kmalloc_noprof
FUZZY_MAX 0 num_fences 0
NO_OVERFLOW_SIMPLE 0 num_fences
UNITS 0 num_fences unit_array_size
LOCK2 &vm->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/dma-buf/dma-fence-unwrap.c __dma_fence_unwrap_merge() -> dma_fence_array_create()

Type Parameter Key Value
PARAM_VALUE 1 fences 4096-ptr_max
PARAM_VALUE 3 seqno 1
BUF_SIZE 1 fences 0-u64max
CAPPED_DATA 0 num_fences 1
DATA_SOURCE 0 num_fences r dma_fence_dedup_array
DATA_SOURCE 1 fences r _kmalloc_noprof
NO_OVERFLOW_SIMPLE 0 num_fences
UNITS 0 num_fences unit_array_size
HALF_LOCKED2 &queue->lock
HALF_LOCKED2 &v3d->sched_lock