Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/radeon/radeon_vce.c radeon_vce_cs_parse() -> radeon_vce_cs_reloc()

Type Parameter Key Value
PARAM_VALUE 0 p 2688560332286525440
PARAM_VALUE 0 p->chunk_ib 4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->kdata 0,4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->length_dw 1-u32max
PARAM_VALUE 0 p->chunk_relocs 0,4096-ptr_max
PARAM_VALUE 0 p->chunks 0,4096-ptr_max
PARAM_VALUE 0 p->cs_flags 0
PARAM_VALUE 0 p->exec.contended 0,(-1)
PARAM_VALUE 0 p->exec.flags 1
PARAM_VALUE 0 p->exec.ticket.done_acquire 0-1
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->ib.fence 0
PARAM_VALUE 0 p->ib.length_dw 0-1073741823
PARAM_VALUE 0 p->ib.ptr 0,4096-ptr_max
PARAM_VALUE 0 p->ib.ring 0-6
PARAM_VALUE 0 p->ib.sa_bo 0,4096-ptr_max
PARAM_VALUE 0 p->ib.sync.last_vm_update 0
PARAM_VALUE 0 p->ib.vm 0
PARAM_VALUE 0 p->idx 0,2-4294967294
PARAM_VALUE 0 p->nchunks 0-268435455
PARAM_VALUE 0 p->nrelocs 0
PARAM_VALUE 0 p->rdev 4096-ptr_max
PARAM_VALUE 0 p->relocs 0,16,4096-ptr_max
PARAM_VALUE 0 p->ring 0-6
PARAM_VALUE 0 p->validated.next 4096-ptr_max
PARAM_VALUE 0 p->validated.prev 2688560332286525512
PARAM_VALUE 0 p->vm_bos 0,4096-ptr_max
PARAM_VALUE 0 *p->rdev->vce.img_size 0-4294967295
PARAM_VALUE 1 lo 10
PARAM_VALUE 2 hi 9
PARAM_VALUE 3 size 0
CAPPED_DATA 0 p->idx 1
DATA_SOURCE 0 p $0
PARAM_COMPARE 0 p->chunk_ib->length_dw > $0->idx
USER_DATA 0 p->idx 2-1073741823[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/radeon_vce.c radeon_vce_cs_parse() -> radeon_vce_cs_reloc()

Type Parameter Key Value
PARAM_VALUE 0 p 2688560332286525440
PARAM_VALUE 0 p->chunk_ib 4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->kdata 0,4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->length_dw 1-u32max
PARAM_VALUE 0 p->chunk_relocs 4096-ptr_max
PARAM_VALUE 0 p->chunk_relocs->length_dw 1-u32max
PARAM_VALUE 0 p->chunks 0,4096-ptr_max
PARAM_VALUE 0 p->cs_flags 0
PARAM_VALUE 0 p->exec.contended 0,(-1)
PARAM_VALUE 0 p->exec.flags 1
PARAM_VALUE 0 p->exec.ticket.done_acquire 0-1
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->ib.fence 0
PARAM_VALUE 0 p->ib.length_dw 0-1073741823
PARAM_VALUE 0 p->ib.ptr 0,4096-ptr_max
PARAM_VALUE 0 p->ib.ring 0-6
PARAM_VALUE 0 p->ib.sa_bo 0,4096-ptr_max
PARAM_VALUE 0 p->ib.sync.last_vm_update 0
PARAM_VALUE 0 p->ib.vm 0
PARAM_VALUE 0 p->idx 0,2-4294967294
PARAM_VALUE 0 p->nchunks 0-268435455
PARAM_VALUE 0 p->nrelocs 0
PARAM_VALUE 0 p->rdev 4096-ptr_max
PARAM_VALUE 0 p->relocs 0,16,4096-ptr_max
PARAM_VALUE 0 p->ring 0-6
PARAM_VALUE 0 p->validated.next 4096-ptr_max
PARAM_VALUE 0 p->validated.prev 2688560332286525512
PARAM_VALUE 0 p->vm_bos 0,4096-ptr_max
PARAM_VALUE 0 *p->rdev->vce.img_size 0-4294967295
PARAM_VALUE 1 lo 12
PARAM_VALUE 2 hi 11
PARAM_VALUE 3 size 0
CAPPED_DATA 0 p->idx 1
DATA_SOURCE 0 p $0
PARAM_COMPARE 0 p->chunk_ib->length_dw > $0->idx
USER_DATA 0 p->idx 2-1073741823[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/radeon_vce.c radeon_vce_cs_parse() -> radeon_vce_cs_reloc()

Type Parameter Key Value
PARAM_VALUE 0 p 2688560332286525440
PARAM_VALUE 0 p->chunk_ib 4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->kdata 0,4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->length_dw 1-u32max
PARAM_VALUE 0 p->chunk_relocs 0,4096-ptr_max
PARAM_VALUE 0 p->chunks 0,4096-ptr_max
PARAM_VALUE 0 p->cs_flags 0
PARAM_VALUE 0 p->exec.contended 0,(-1)
PARAM_VALUE 0 p->exec.flags 1
PARAM_VALUE 0 p->exec.ticket.done_acquire 0-1
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->ib.fence 0
PARAM_VALUE 0 p->ib.length_dw 0-1073741823
PARAM_VALUE 0 p->ib.ptr 0,4096-ptr_max
PARAM_VALUE 0 p->ib.ring 0-6
PARAM_VALUE 0 p->ib.sa_bo 0,4096-ptr_max
PARAM_VALUE 0 p->ib.sync.last_vm_update 0
PARAM_VALUE 0 p->ib.vm 0
PARAM_VALUE 0 p->idx 0,2-4294967294
PARAM_VALUE 0 p->nchunks 0-268435455
PARAM_VALUE 0 p->nrelocs 0
PARAM_VALUE 0 p->rdev 4096-ptr_max
PARAM_VALUE 0 p->relocs 0,16,4096-ptr_max
PARAM_VALUE 0 p->ring 0-6
PARAM_VALUE 0 p->validated.next 4096-ptr_max
PARAM_VALUE 0 p->validated.prev 2688560332286525512
PARAM_VALUE 0 p->vm_bos 0,4096-ptr_max
PARAM_VALUE 0 *p->rdev->vce.img_size 0-4294967295
PARAM_VALUE 1 lo 3
PARAM_VALUE 2 hi 2
PARAM_VALUE 3 size 0
CAPPED_DATA 0 p->idx 1
DATA_SOURCE 0 p $0
PARAM_COMPARE 0 p->chunk_ib->length_dw > $0->idx
USER_DATA 0 p->idx 2-1073741823[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/radeon_vce.c radeon_vce_cs_parse() -> radeon_vce_cs_reloc()

Type Parameter Key Value
PARAM_VALUE 0 p 2688560332286525440
PARAM_VALUE 0 p->chunk_ib 4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->kdata 0,4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->length_dw 1-u32max
PARAM_VALUE 0 p->chunk_relocs 0,4096-ptr_max
PARAM_VALUE 0 p->chunks 0,4096-ptr_max
PARAM_VALUE 0 p->cs_flags 0
PARAM_VALUE 0 p->exec.contended 0,(-1)
PARAM_VALUE 0 p->exec.flags 1
PARAM_VALUE 0 p->exec.ticket.done_acquire 0-1
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->ib.fence 0
PARAM_VALUE 0 p->ib.length_dw 0-1073741823
PARAM_VALUE 0 p->ib.ptr 0,4096-ptr_max
PARAM_VALUE 0 p->ib.ring 0-6
PARAM_VALUE 0 p->ib.sa_bo 0,4096-ptr_max
PARAM_VALUE 0 p->ib.sync.last_vm_update 0
PARAM_VALUE 0 p->ib.vm 0
PARAM_VALUE 0 p->idx 0,2-4294967294
PARAM_VALUE 0 p->nchunks 0-268435455
PARAM_VALUE 0 p->nrelocs 0
PARAM_VALUE 0 p->rdev 4096-ptr_max
PARAM_VALUE 0 p->relocs 0,16,4096-ptr_max
PARAM_VALUE 0 p->ring 0-6
PARAM_VALUE 0 p->validated.next 4096-ptr_max
PARAM_VALUE 0 p->validated.prev 2688560332286525512
PARAM_VALUE 0 p->vm_bos 0,4096-ptr_max
PARAM_VALUE 0 *p->rdev->vce.img_size 0-4294967295
PARAM_VALUE 1 lo 3
PARAM_VALUE 2 hi 2
CAPPED_DATA 0 p->idx 1
DATA_SOURCE 0 p $0
DATA_SOURCE 3 size r radeon_get_ib_value
PARAM_COMPARE 0 p->chunk_ib->length_dw > $0->idx
USER_DATA 0 p->idx 2-1073741823[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
USER_DATA 3 size 0-u32max
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/radeon_vce.c radeon_vce_cs_parse() -> radeon_vce_cs_reloc()

Type Parameter Key Value
PARAM_VALUE 0 p 2688560332286525440
PARAM_VALUE 0 p->chunk_ib 4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->kdata 0,4096-ptr_max
PARAM_VALUE 0 p->chunk_ib->length_dw 1-u32max
PARAM_VALUE 0 p->chunk_relocs 0,4096-ptr_max
PARAM_VALUE 0 p->chunks 0,4096-ptr_max
PARAM_VALUE 0 p->cs_flags 0
PARAM_VALUE 0 p->exec.contended 0,(-1)
PARAM_VALUE 0 p->exec.flags 1
PARAM_VALUE 0 p->exec.ticket.done_acquire 0-1
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->ib.fence 0
PARAM_VALUE 0 p->ib.length_dw 0-1073741823
PARAM_VALUE 0 p->ib.ptr 0,4096-ptr_max
PARAM_VALUE 0 p->ib.ring 0-6
PARAM_VALUE 0 p->ib.sa_bo 0,4096-ptr_max
PARAM_VALUE 0 p->ib.sync.last_vm_update 0
PARAM_VALUE 0 p->ib.vm 0
PARAM_VALUE 0 p->idx 0,2-4294967294
PARAM_VALUE 0 p->nchunks 0-268435455
PARAM_VALUE 0 p->nrelocs 0
PARAM_VALUE 0 p->rdev 4096-ptr_max
PARAM_VALUE 0 p->relocs 0,16,4096-ptr_max
PARAM_VALUE 0 p->ring 0-6
PARAM_VALUE 0 p->validated.next 4096-ptr_max
PARAM_VALUE 0 p->validated.prev 2688560332286525512
PARAM_VALUE 0 p->vm_bos 0,4096-ptr_max
PARAM_VALUE 0 *p->rdev->vce.img_size 0-4294967295
PARAM_VALUE 1 lo 3
PARAM_VALUE 2 hi 2
PARAM_VALUE 3 size 4096
CAPPED_DATA 0 p->idx 1
DATA_SOURCE 0 p $0
PARAM_COMPARE 0 p->chunk_ib->length_dw > $0->idx
USER_DATA 0 p->idx 2-1073741823[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock