Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_init() -> nouveau_cli_fini()

Type Parameter Key Value
PARAM_VALUE 0 cli 4096-ptr_max
PARAM_VALUE 0 cli->base.driver->init 4993881434127015936
PARAM_VALUE 0 cli->base.driver->ioctl 5580444956888313856
PARAM_VALUE 0 cli->base.driver->map 7557096745487220736
PARAM_VALUE 0 cli->base.driver->name 7711903667357495296
PARAM_VALUE 0 cli->base.driver->resume 7503885847233396736
PARAM_VALUE 0 cli->base.driver->suspend 1368418361874120704
PARAM_VALUE 0 cli->base.driver->unmap 2092298419146608640
PARAM_VALUE 0 cli->base.object->name 0-255
PARAM_VALUE 0 cli->base.object.client 0,4096-ptr_max
PARAM_VALUE 0 cli->base.object.client->object.client 4096-ptr_max
PARAM_VALUE 0 cli->base.object.client->object.handle 0
PARAM_VALUE 0 cli->base.object.client->object.map.ptr 0
PARAM_VALUE 0 cli->base.object.client->object.name 1-u64max
PARAM_VALUE 0 cli->base.object.client->object.oclass 0
PARAM_VALUE 0 cli->base.object.client->object.priv->obj_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cli->base.object.handle 0,u32max
PARAM_VALUE 0 cli->base.object.map.ptr 0
PARAM_VALUE 0 cli->base.object.map.size 0
PARAM_VALUE 0 cli->base.object.name 1-u64max
PARAM_VALUE 0 cli->base.object.oclass 0
PARAM_VALUE 0 cli->drm 4096-ptr_max
PARAM_VALUE 0 cli->lock.dep_map->name 0-255
PARAM_VALUE 0 cli->lock.first_waiter 0
PARAM_VALUE 0 cli->lock.magic 4096-ptr_max
PARAM_VALUE 0 cli->lock.osq.tail.counter 0
PARAM_VALUE 0 cli->lock.owner.counter 0
PARAM_VALUE 0 cli->mutex.dep_map->name 0-255
PARAM_VALUE 0 cli->mutex.first_waiter 0
PARAM_VALUE 0 cli->mutex.magic 4096-ptr_max
PARAM_VALUE 0 cli->mutex.osq.tail.counter 0
PARAM_VALUE 0 cli->mutex.owner.counter 0
PARAM_VALUE 0 cli->worker.next 4096-ptr_max
PARAM_VALUE 0 cli->worker.next->next 4096-ptr_max
PARAM_VALUE 0 cli->worker.prev 4096-ptr_max
PARAM_VALUE 0 cli->worker.prev->next 4096-ptr_max
PARAM_VALUE 0 cli->worker.prev->prev 4096-ptr_max
BUF_SIZE 0 cli (-1),1120
BUF_SIZE 0 cli (-1),1120
BUF_SIZE 0 cli->drm s32min-(-1),1-s32max
BUF_SIZE 0 cli->mem (-1),32
CAPPED_DATA 0 &cli->base 1
DATA_SOURCE 0 cli $2
STR_LEN 0 cli->drm (-1),3,31
STR_LEN 0 cli->name 31
STR_LEN 0 cli->vmm.cli->drm (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 cli->mmu.heap_nr
NO_OVERFLOW_SIMPLE 0 cli->mmu.kind_nr
NO_OVERFLOW_SIMPLE 0 cli->mmu.type_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.cli->mmu.heap_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.cli->mmu.kind_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.cli->mmu.type_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.vmm.page_nr

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_device_fini() -> nouveau_cli_fini()

Type Parameter Key Value
PARAM_VALUE 0 cli 4096-ptr_max
PARAM_VALUE 0 cli->abi16 0,4096-ptr_max
PARAM_VALUE 0 cli->mutex.dep_map->name 0-255
PARAM_VALUE 0 cli->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cli->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cli->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cli->mutex.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &cli->head 1
CAPPED_DATA 0 &cli->mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &drm->clients_lock
TYPE_LOCK (struct nouveau_drm)->clients_lock

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_device_fini() -> nouveau_cli_fini()

Type Parameter Key Value
PARAM_VALUE 0 cli 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 cli->mmu.heap_nr
NO_OVERFLOW_SIMPLE 0 cli->mmu.kind_nr
NO_OVERFLOW_SIMPLE 0 cli->mmu.type_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.vmm.page_nr

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_open() -> nouveau_cli_fini()

Type Parameter Key Value
PARAM_VALUE 0 cli 4096-ptr_max
PARAM_VALUE 0 cli->base.driver 0,4523083026313859072
PARAM_VALUE 0 cli->base.driver->init 4993881434127015936
PARAM_VALUE 0 cli->base.driver->ioctl 5580444956888313856
PARAM_VALUE 0 cli->base.driver->map 7557096745487220736
PARAM_VALUE 0 cli->base.driver->name 7711903667357495296
PARAM_VALUE 0 cli->base.driver->resume 7503885847233396736
PARAM_VALUE 0 cli->base.driver->suspend 1368418361874120704
PARAM_VALUE 0 cli->base.driver->unmap 2092298419146608640
PARAM_VALUE 0 cli->base.object->name 0-255
PARAM_VALUE 0 cli->base.object.client 0,4096-ptr_max
PARAM_VALUE 0 cli->base.object.client->driver 0,4523083026313859072
PARAM_VALUE 0 cli->base.object.client->object.client 4096-ptr_max
PARAM_VALUE 0 cli->base.object.client->object.handle 0
PARAM_VALUE 0 cli->base.object.client->object.map.ptr 0
PARAM_VALUE 0 cli->base.object.client->object.name 1-u64max
PARAM_VALUE 0 cli->base.object.client->object.oclass 0
PARAM_VALUE 0 cli->base.object.client->object.priv->obj_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cli->base.object.handle 0,u32max
PARAM_VALUE 0 cli->base.object.name 1-u64max
PARAM_VALUE 0 cli->base.object.oclass 0
PARAM_VALUE 0 cli->device.object->client->object.priv->data (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 cli->device.object->name 0-255
PARAM_VALUE 0 cli->device.object.client->object.priv->obj_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cli->device.object.handle 0
PARAM_VALUE 0 cli->device.object.name 1-u64max
PARAM_VALUE 0 cli->device.object.oclass 128
PARAM_VALUE 0 cli->device.runlist 0
PARAM_VALUE 0 cli->device.user.func 0
PARAM_VALUE 0 cli->device.user.object.client 0
PARAM_VALUE 0 cli->device.user.object.map.ptr 0
PARAM_VALUE 0 cli->drm 4096-ptr_max
PARAM_VALUE 0 cli->drm->client_mutex.dep_map->name 0-255
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cli->drm->client_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 cli->drm->client_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cli->head.next 4096-ptr_max
PARAM_VALUE 0 cli->head.prev 4096-ptr_max
PARAM_VALUE 0 cli->lock.dep_map->name 0-255
PARAM_VALUE 0 cli->lock.first_waiter 0
PARAM_VALUE 0 cli->lock.magic 4096-ptr_max
PARAM_VALUE 0 cli->lock.osq.tail.counter 0
PARAM_VALUE 0 cli->lock.owner.counter 0
PARAM_VALUE 0 cli->mem 4096-ptr_max
PARAM_VALUE 0 cli->mmu->kind 0-255
PARAM_VALUE 0 cli->mmu->object->client->object.priv->data (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 cli->mmu.heap 0,16,4096-ptr_max
PARAM_VALUE 0 cli->mmu.kind 0,16,4096-ptr_max
PARAM_VALUE 0 cli->mmu.object->name 0-255
PARAM_VALUE 0 cli->mmu.object.client->object.priv->obj_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cli->mmu.object.handle 0
PARAM_VALUE 0 cli->mmu.object.name 1-u64max
PARAM_VALUE 0 cli->mmu.type 0,16,4096-ptr_max
PARAM_VALUE 0 cli->sched 0
PARAM_VALUE 0 cli->svm.cli 0
PARAM_VALUE 0 cli->svm.svmm 0
PARAM_VALUE 0 cli->svm.vmm.object.client 0
PARAM_VALUE 0 cli->svm.vmm.object.map.ptr 0
PARAM_VALUE 0 cli->uvmm.ptr->base.drm->debugfs_root 0
PARAM_VALUE 0 cli->uvmm.ptr->base.kernel_alloc_node.rb.entry.next 4096-ptr_max
PARAM_VALUE 0 cli->uvmm.ptr->base.kernel_alloc_node.rb.entry.next->next 4096-ptr_max
PARAM_VALUE 0 cli->uvmm.ptr->base.kernel_alloc_node.rb.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cli->uvmm.ptr->base.kernel_alloc_node.rb.entry.prev 4096-ptr_max
PARAM_VALUE 0 cli->uvmm.ptr->base.kernel_alloc_node.rb.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 cli->uvmm.ptr->base.kernel_alloc_node.rb.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 cli->uvmm.ptr->base.name 0
PARAM_VALUE 0 cli->uvmm.ptr->region_mt.ma_root 0
PARAM_VALUE 0 cli->uvmm.ptr->vmm.cli 0
PARAM_VALUE 0 cli->uvmm.ptr->vmm.svmm 0
PARAM_VALUE 0 cli->uvmm.ptr->vmm.vmm.object.client 0
PARAM_VALUE 0 cli->uvmm.ptr->vmm.vmm.object.map.ptr 0
PARAM_VALUE 0 cli->vmm.cli 0,4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->base.driver 0,4523083026313859072
PARAM_VALUE 0 cli->vmm.cli->base.object.client 4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->base.object.handle u32max
PARAM_VALUE 0 cli->vmm.cli->base.object.map.ptr 0
PARAM_VALUE 0 cli->vmm.cli->base.object.map.size 0
PARAM_VALUE 0 cli->vmm.cli->base.object.name 1-u64max
PARAM_VALUE 0 cli->vmm.cli->base.object.oclass 0
PARAM_VALUE 0 cli->vmm.cli->device.object.handle 0
PARAM_VALUE 0 cli->vmm.cli->device.object.map.size 0
PARAM_VALUE 0 cli->vmm.cli->device.object.name 1-u64max
PARAM_VALUE 0 cli->vmm.cli->device.object.oclass 128
PARAM_VALUE 0 cli->vmm.cli->device.runlist 0
PARAM_VALUE 0 cli->vmm.cli->device.user.func 0
PARAM_VALUE 0 cli->vmm.cli->drm 4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->lock.first_waiter 0
PARAM_VALUE 0 cli->vmm.cli->lock.magic 4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->lock.osq.tail.counter 0
PARAM_VALUE 0 cli->vmm.cli->lock.owner.counter 0
PARAM_VALUE 0 cli->vmm.cli->mmu.heap 16,4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->mmu.kind 0,16,4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->mmu.object.handle 0
PARAM_VALUE 0 cli->vmm.cli->mmu.object.map.ptr 0
PARAM_VALUE 0 cli->vmm.cli->mmu.object.map.size 0
PARAM_VALUE 0 cli->vmm.cli->mmu.object.name 1-u64max
PARAM_VALUE 0 cli->vmm.cli->mmu.type 16,4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->svm.vmm.page_nr 0-255
PARAM_VALUE 0 cli->vmm.cli->uvmm.disabled 1
PARAM_VALUE 0 cli->vmm.cli->vmm.vmm.page_nr 0-255
PARAM_VALUE 0 cli->vmm.cli->worker.next 4096-ptr_max
PARAM_VALUE 0 cli->vmm.cli->worker.prev 4096-ptr_max
PARAM_VALUE 0 cli->vmm.svmm 0
PARAM_VALUE 0 cli->vmm.vmm.object->name 0-255
PARAM_VALUE 0 cli->vmm.vmm.object.client 0
PARAM_VALUE 0 cli->vmm.vmm.object.handle 0
PARAM_VALUE 0 cli->vmm.vmm.object.name 1-u64max
PARAM_VALUE 0 cli->vmm.vmm.page 0,16,4096-ptr_max
PARAM_VALUE 0 cli->vmm.vmm.page_nr 0-255
PARAM_VALUE 0 cli->work.lockdep_map->name 0-255
PARAM_VALUE 0 cli->worker.next 4096-ptr_max
PARAM_VALUE 0 cli->worker.next->next 4096-ptr_max
PARAM_VALUE 0 cli->worker.prev 4096-ptr_max
PARAM_VALUE 0 cli->worker.prev->next 4096-ptr_max
PARAM_VALUE 0 cli->worker.prev->prev 4096-ptr_max
PARAM_VALUE 0 *cli->mmu.object->client->object.priv->data (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cli->name 0-255
PARAM_VALUE 0 *cli->sched->base->submit_wq->first_flusher->done.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cli->sched->base->submit_wq->lockdep_map->name 0-255
PARAM_VALUE 0 *cli->sched->base->submit_wq->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cli->sched->base->submit_wq->rescuer->task->pi_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cli->sched->wq->lockdep_map->name 0-255
PARAM_VALUE 0 *cli->sched->wq->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cli->sched->wq->rescuer->task->pi_lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 cli 1120
DATA_SOURCE 0 cli r _kzalloc_noprof
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 cli->mmu.heap_nr
NO_OVERFLOW_SIMPLE 0 cli->mmu.kind_nr
NO_OVERFLOW_SIMPLE 0 cli->mmu.type_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.cli->mmu.heap_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.cli->mmu.kind_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.cli->mmu.type_nr
NO_OVERFLOW_SIMPLE 0 cli->vmm.vmm.page_nr

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_drm_postclose() -> nouveau_cli_fini()

Type Parameter Key Value
PARAM_VALUE 0 cli 4096-ptr_max
PARAM_VALUE 0 cli->abi16 0,4096-ptr_max
PARAM_VALUE 0 cli->abi16->cli 4096-ptr_max
PARAM_VALUE 0 cli->mutex.dep_map->name 0-255
PARAM_VALUE 0 cli->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cli->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cli->mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cli->mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cli->mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cli->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 cli->mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cli->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cli->mutex.wait_lock.dep_map->name 0-255
BUF_SIZE 0 cli 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 0 cli 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184
CAPPED_DATA 0 &cli->mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &drm_unplug_srcu