Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_gpuvm.c drm_gpuvm_init() -> drm_gpuvm_warn_check_overflow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->bo_defer.first | 0 |
| PARAM_VALUE | 0 | gpuvm->drm | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->flags | 0-1,3 |
| PARAM_VALUE | 0 | gpuvm->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | gpuvm->name | 1-u64max |
| PARAM_VALUE | 0 | gpuvm->ops | 2988944362306605056,3404220926455885824,4477932152281071616,8339243441545060352 |
| PARAM_VALUE | 0 | gpuvm->r_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.fences | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | gpuvm->r_obj->filp | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->funcs | 1406244332369195008 |
| PARAM_VALUE | 0 | gpuvm->r_obj->gpuva.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->handle_count | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | gpuvm->r_obj->resv | 1-u64max |
| PARAM_VALUE | 0 | gpuvm->r_obj->size | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.driver_private | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.color | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.mm | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.size | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.stack | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.start | 0 |
| PARAM_VALUE | 0 | gpuvm->rb.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096,16777216-562949953421311 |
| BUF_SIZE | 0 | gpuvm->name | 4,6,8,15,32 |
| BUF_SIZE | 0 | gpuvm->r_obj | 704 |
| DATA_SOURCE | 0 | gpuvm | $0 |
| DATA_SOURCE | 1 | addr | $5 |
| DATA_SOURCE | 2 | range | $6 |
| STR_LEN | 0 | gpuvm | (-1),3,5,7,14 |
| STR_LEN | 0 | gpuvm | (-1),3,5,7,14 |
| STR_LEN | 0 | gpuvm->drm | (-1),3,7 |
| STR_LEN | 0 | gpuvm->name | (-1),7 |
| STR_LEN | 0 | gpuvm->r_obj->dev | (-1),3,7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | range | 1[c] |
| HALF_LOCKED2 | &cli->mutex |
drivers/gpu/drm/drm_gpuvm.c drm_gpuvm_init() -> drm_gpuvm_warn_check_overflow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->bo_defer.first | 0 |
| PARAM_VALUE | 0 | gpuvm->drm | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->evict.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->extobj.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->flags | 0 |
| PARAM_VALUE | 0 | gpuvm->kernel_alloc_node.va.range | 1-u64max |
| PARAM_VALUE | 0 | gpuvm->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | gpuvm->mm_range | 140737488355328 |
| PARAM_VALUE | 0 | gpuvm->mm_start | 0 |
| PARAM_VALUE | 0 | gpuvm->name | 1-u64max |
| PARAM_VALUE | 0 | gpuvm->ops | 4477932152281071616 |
| PARAM_VALUE | 0 | gpuvm->r_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.fences | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | gpuvm->r_obj->filp | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->funcs | 1406244332369195008 |
| PARAM_VALUE | 0 | gpuvm->r_obj->gpuva.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->handle_count | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->r_obj->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | gpuvm->r_obj->resv | 1-u64max |
| PARAM_VALUE | 0 | gpuvm->r_obj->size | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.driver_private | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.color | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.mm | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.size | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.stack | 0 |
| PARAM_VALUE | 0 | gpuvm->r_obj->vma_node.vm_node.start | 0 |
| PARAM_VALUE | 0 | gpuvm->rb.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | gpuvm->rb.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | range | 1-u64max |
| BUF_SIZE | 0 | gpuvm->name | 4,6,8,15,32 |
| BUF_SIZE | 0 | gpuvm->r_obj | 704 |
| DATA_SOURCE | 0 | gpuvm | $0 |
| DATA_SOURCE | 1 | addr | $7 |
| DATA_SOURCE | 2 | range | $8 |
| STR_LEN | 0 | gpuvm | (-1) |
| STR_LEN | 0 | gpuvm | (-1) |
| STR_LEN | 0 | gpuvm->drm | (-1),3,7 |
| STR_LEN | 0 | gpuvm->name | (-1),7 |
| STR_LEN | 0 | gpuvm->r_obj->dev | (-1),3,7 |
| MEM_ZERO | 0 | &gpuvm->kernel_alloc_node | |
| RX_PATH | |||
| USER_DATA | 0 | gpuvm->kernel_alloc_node.va.addr | 0-u64max[u] |
| USER_DATA | 0 | gpuvm->kernel_alloc_node.va.range | 1-u64max[u] |
| USER_DATA | 1 | addr | 0-u64max[u] |
| USER_DATA | 2 | range | 1-u64max[u] |
| LOCK2 | &cli->mutex | ||
| TYPE_LOCK | (struct nouveau_cli)->mutex |