Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/radeon/r300.c r300_packet0_check() -> r100_reloc_pitch_offset()

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->const_ib.length_dw 0-65536
PARAM_VALUE 0 p->const_ib.ring 0-6
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.objects 0,16,4096-ptr_max
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->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->track 4096-ptr_max
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 1 pkt 1080349159673131008,2324843566982938624
PARAM_VALUE 1 pkt->count (-1)-16383
PARAM_VALUE 1 pkt->idx 0-4294967294
PARAM_VALUE 1 pkt->one_reg_wr 0-1
PARAM_VALUE 1 pkt->type 0
PARAM_VALUE 2 idx 1-u32max
PARAM_VALUE 3 reg 5160,5164
BUF_SIZE 0 p->filp s32min-(-2),1-s32max
BUF_SIZE 0 p->rdev s32min-(-2),1-s32max
BUF_SIZE 0 p->track 3272
DATA_SOURCE 0 p $0
DATA_SOURCE 1 pkt $1
DATA_SOURCE 2 idx $2
DATA_SOURCE 3 reg $3
USER_DATA 0 p->idx 6-213005[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
USER_DATA 0 *p->ib.ptr 0-u32max
USER_DATA 1 pkt->count 1-16383[c]
USER_DATA 1 pkt->idx 3-180235[c]
USER_DATA 1 pkt->one_reg_wr 0-1[c]
USER_DATA 1 pkt->reg 0,4-262140[c]
USER_DATA 1 pkt->type 0[c]
USER_DATA 2 idx 4-180236[c]
USER_DATA 3 reg 5160,5164[c]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->const_ib.ptr
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/r200.c r200_packet0_check() -> r100_reloc_pitch_offset()

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->const_ib.length_dw 0-65536
PARAM_VALUE 0 p->const_ib.ring 0-6
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.objects 0,16,4096-ptr_max
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->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->track 4096-ptr_max
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 1 pkt 1080349159673131008,2324843566982938624
PARAM_VALUE 1 pkt->count (-1)-16383
PARAM_VALUE 1 pkt->idx 0-4294967294
PARAM_VALUE 1 pkt->one_reg_wr 0-1
PARAM_VALUE 1 pkt->type 0
PARAM_VALUE 2 idx 1-u32max
PARAM_VALUE 3 reg 5160,5164
BUF_SIZE 0 p->filp s32min-(-2),1-s32max
BUF_SIZE 0 p->rdev s32min-(-2),1-s32max
BUF_SIZE 0 p->track 3272
DATA_SOURCE 0 p $0
DATA_SOURCE 1 pkt $1
DATA_SOURCE 2 idx $2
DATA_SOURCE 3 reg $3
USER_DATA 0 p->idx 6-213005[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
USER_DATA 0 *p->ib.ptr 0-u32max
USER_DATA 1 pkt->count 1-16383[c]
USER_DATA 1 pkt->idx 3-180235[c]
USER_DATA 1 pkt->one_reg_wr 0-1[c]
USER_DATA 1 pkt->reg 0,4-262140[c]
USER_DATA 1 pkt->type 0[c]
USER_DATA 2 idx 4-180236[c]
USER_DATA 3 reg 5160,5164[c]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->const_ib.ptr
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/r100.c r100_packet0_check() -> r100_reloc_pitch_offset()

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->const_ib.length_dw 0-65536
PARAM_VALUE 0 p->const_ib.ring 0-6
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.objects 0,16,4096-ptr_max
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->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->track 4096-ptr_max
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 1 pkt 1080349159673131008,2324843566982938624
PARAM_VALUE 1 pkt->count (-1)-16383
PARAM_VALUE 1 pkt->idx 0-4294967294
PARAM_VALUE 1 pkt->one_reg_wr 0-1
PARAM_VALUE 1 pkt->type 0
PARAM_VALUE 2 idx 1-u32max
PARAM_VALUE 3 reg 5160,5164
BUF_SIZE 0 p->filp s32min-(-2),1-s32max
BUF_SIZE 0 p->rdev s32min-(-2),1-s32max
BUF_SIZE 0 p->track 3272
DATA_SOURCE 0 p $0
DATA_SOURCE 1 pkt $1
DATA_SOURCE 2 idx $2
DATA_SOURCE 3 reg $3
USER_DATA 0 p->idx 6-213005[c]
USER_DATA 0 p->nchunks 1-268435455[c][u]
USER_DATA 0 *p->ib.ptr 0-u32max
USER_DATA 1 pkt->count 1-16383[c]
USER_DATA 1 pkt->idx 3-180235[c]
USER_DATA 1 pkt->one_reg_wr 0-1[c]
USER_DATA 1 pkt->reg 0,4-262140[c]
USER_DATA 1 pkt->type 0[c]
USER_DATA 2 idx 4-180236[c]
USER_DATA 3 reg 5160,5164[c]
NO_OVERFLOW_SIMPLE 0 p->nrelocs
USER_PTR 0 p->chunks_array
USER_PTR 0 p->const_ib.ptr
USER_PTR 0 p->ib.ptr
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock