Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/panthor/panthor_heap.c panthor_heap_create() -> panthor_alloc_heap_chunks()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->lock.dep_map->name 0-255
PARAM_VALUE 0 pool->lock.first_waiter->handoff_set 1
PARAM_VALUE 0 pool->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 pool->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 pool->lock.first_waiter->type 0-1
PARAM_VALUE 0 pool->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pool->lock.wait_lock.owner (-1)
PARAM_VALUE 0 pool->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 pool->vm 4096-ptr_max
PARAM_VALUE 0 pool->vm->base.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 heap 4096-ptr_max
PARAM_VALUE 1 heap->chunk_size 131072-8388608
PARAM_VALUE 1 heap->chunks.next 4096-ptr_max
PARAM_VALUE 1 heap->chunks.next->next 4096-ptr_max
PARAM_VALUE 1 heap->chunks.prev 4096-ptr_max
PARAM_VALUE 1 heap->chunks.prev->next 4096-ptr_max
PARAM_VALUE 1 heap->chunks.prev->prev 4096-ptr_max
PARAM_VALUE 1 heap->lock.dep_map->name 0-255
PARAM_VALUE 1 heap->lock.first_waiter 0
PARAM_VALUE 1 heap->lock.magic 4096-ptr_max
PARAM_VALUE 1 heap->lock.osq.tail.counter 0
PARAM_VALUE 1 heap->lock.owner.counter 0
PARAM_VALUE 1 heap->max_chunks 1-u32max
PARAM_VALUE 2 chunk_count 1-u32max
BUF_SIZE 0 pool (-1),288
BUF_SIZE 0 pool (-1),288
BUF_SIZE 1 heap 184
CAPPED_DATA 0 &pool->lock 1
CAPPED_DATA 2 chunk_count 1
DATA_SOURCE 0 pool $0
DATA_SOURCE 1 heap r _kzalloc_noprof
DATA_SOURCE 2 chunk_count $1
BIT_INFO 1 heap->chunk_size 0x0,0xfff000
NOSPEC 2 chunk_count
NOSPEC 2 chunk_count
USER_DATA 1 heap->chunk_size 131072-8388608[u]
USER_DATA 1 heap->max_chunks 1-u32max[u]
USER_DATA 1 heap->target_in_flight 0-u32max[u]
USER_DATA 2 chunk_count 1-u32max[u]