Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/test_hmm.c dmirror_device_init() -> dmirror_allocate_chunk()

Type Parameter Key Value
PARAM_VALUE 0 mdevice 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.count 0
PARAM_VALUE 0 mdevice->cdevice.dev 0
PARAM_VALUE 0 mdevice->cdevice.kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 mdevice->cdevice.kobj.kset 0
PARAM_VALUE 0 mdevice->cdevice.kobj.ktype 1499647686170447872
PARAM_VALUE 0 mdevice->cdevice.kobj.name 0
PARAM_VALUE 0 mdevice->cdevice.kobj.parent 0
PARAM_VALUE 0 mdevice->cdevice.kobj.release.cpu 0
PARAM_VALUE 0 mdevice->cdevice.kobj.release.work.func 0
PARAM_VALUE 0 mdevice->cdevice.kobj.release.wq 0
PARAM_VALUE 0 mdevice->cdevice.kobj.sd 0
PARAM_VALUE 0 mdevice->cdevice.kobj.state_in_sysfs 0
PARAM_VALUE 0 mdevice->cdevice.kobj.uevent_suppress 0
PARAM_VALUE 0 mdevice->cdevice.list.next 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.list.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.list.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.list.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->cdevice.ops 4467932283070324736
PARAM_VALUE 0 mdevice->cdevice.owner 0
PARAM_VALUE 0 mdevice->device.devres_head.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.devt 0-s32max
PARAM_VALUE 0 mdevice->device.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 mdevice->device.dma_io_tlb_mem->defpool.nareas 0-s32max
PARAM_VALUE 0 mdevice->device.dma_io_tlb_mem->dyn_alloc.data.counter 0,9007199250546704
PARAM_VALUE 0 mdevice->device.dma_io_tlb_mem->pools.prev 0,1473117533515866408
PARAM_VALUE 0 mdevice->device.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.dma_uses_io_tlb 0
PARAM_VALUE 0 mdevice->device.flags 4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj->name 0-255
PARAM_VALUE 0 mdevice->device.kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 mdevice->device.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 mdevice->device.kobj.ktype 5399513539053756416
PARAM_VALUE 0 mdevice->device.kobj.name 1-u64max
PARAM_VALUE 0 mdevice->device.kobj.state_in_sysfs 0
PARAM_VALUE 0 mdevice->device.kobj.state_initialized 1
PARAM_VALUE 0 mdevice->device.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.status 0
PARAM_VALUE 0 mdevice->device.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.numa_node (-1)
PARAM_VALUE 0 mdevice->device.power.deferred_resume 0
PARAM_VALUE 0 mdevice->device.power.disable_depth 1
PARAM_VALUE 0 mdevice->device.power.early_init 1
PARAM_VALUE 0 mdevice->device.power.entry.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.idle_notification 0
PARAM_VALUE 0 mdevice->device.power.ignore_children 0
PARAM_VALUE 0 mdevice->device.power.is_late_suspended 0
PARAM_VALUE 0 mdevice->device.power.is_prepared 0
PARAM_VALUE 0 mdevice->device.power.is_suspended 0
PARAM_VALUE 0 mdevice->device.power.last_status (-1)
PARAM_VALUE 0 mdevice->device.power.qos 0
PARAM_VALUE 0 mdevice->device.power.request 0
PARAM_VALUE 0 mdevice->device.power.request_pending 0
PARAM_VALUE 0 mdevice->device.power.runtime_auto 1
PARAM_VALUE 0 mdevice->device.power.runtime_error 0
PARAM_VALUE 0 mdevice->device.power.runtime_status 2
PARAM_VALUE 0 mdevice->device.power.timer_expires 0
PARAM_VALUE 0 mdevice->device.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 mdevice->device.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 mdevice->device.release 5243883806825799680
PARAM_VALUE 0 mdevice->devmem_lock.dep_map->name 0-255
PARAM_VALUE 0 mdevice->devmem_lock.first_waiter 0
PARAM_VALUE 0 mdevice->devmem_lock.magic 4096-ptr_max
PARAM_VALUE 0 mdevice->devmem_lock.osq.tail.counter 0
PARAM_VALUE 0 mdevice->devmem_lock.owner.counter 0
PARAM_VALUE 1 ppage 0
PARAM_VALUE 2 is_large 0
DATA_SOURCE 0 mdevice $0
BIT_INFO 0 mdevice->device.devt 0x0,0x7ff00003
MEM_ZERO 0 &mdevice->cdevice
MEM_ZERO 0 &mdevice->device.power.suspend_timer

lib/test_hmm.c dmirror_devmem_alloc_page() -> dmirror_allocate_chunk()

Type Parameter Key Value
PARAM_VALUE 0 mdevice 4096-ptr_max
PARAM_VALUE 0 mdevice->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdevice->zone_device_type 0-2
PARAM_VALUE 1 ppage 668411129617432576
PARAM_VALUE 1 *ppage 0
DATA_SOURCE 2 is_large $1
BIT_INFO 2 is_large 0x0,0x0
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock