Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/i2c/i2c-dev.c i2cdev_attach_adapter() -> put_i2c_dev()

Type Parameter Key Value
PARAM_VALUE 0 i2c_dev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->adap 4096-ptr_max
PARAM_VALUE 0 i2c_dev->adap->nr 0-1048575
PARAM_VALUE 0 i2c_dev->cdev.count 0-1
PARAM_VALUE 0 i2c_dev->cdev.kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.kset 0
PARAM_VALUE 0 i2c_dev->cdev.kobj.ktype 1499647686170447872
PARAM_VALUE 0 i2c_dev->cdev.kobj.name 0
PARAM_VALUE 0 i2c_dev->cdev.kobj.parent 0,4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.kobj.release.work.func 0
PARAM_VALUE 0 i2c_dev->cdev.kobj.sd 0
PARAM_VALUE 0 i2c_dev->cdev.kobj.state_in_sysfs 0
PARAM_VALUE 0 i2c_dev->cdev.kobj.uevent_suppress 0
PARAM_VALUE 0 i2c_dev->cdev.list.next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.list.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.list.prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.list.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->cdev.ops 1881269651442896896
PARAM_VALUE 0 i2c_dev->cdev.owner 0
PARAM_VALUE 0 i2c_dev->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_mem->defpool.nareas 0-s32max
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_mem->dyn_alloc.data.counter 0,9007199250546704
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_mem->pools.next 0
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_mem->pools.prev 0,1473117533515866408
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.flags 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 i2c_dev->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.power.qos->flags_req 0
PARAM_VALUE 0 i2c_dev->dev.power.qos->freq.max_freq.default_value s32max
PARAM_VALUE 0 i2c_dev->dev.power.qos->freq.max_freq.no_constraint_value s32max
PARAM_VALUE 0 i2c_dev->dev.power.qos->freq.max_freq.target_value s32max
PARAM_VALUE 0 i2c_dev->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 i2c_dev->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->list.next 4096-ptr_max
PARAM_VALUE 1 del_cdev 0
BUF_SIZE 0 i2c_dev 1928
BUF_SIZE 0 i2c_dev->dev.class (-1),96
BUF_SIZE 0 i2c_dev->dev.parent (-1),1616
CAPPED_DATA 0 &i2c_dev->dev 1
DATA_SOURCE 0 i2c_dev r get_free_i2c_dev
MEM_ZERO 0 &i2c_dev->cdev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 i2c_dev->cdev.count

drivers/i2c/i2c-dev.c i2cdev_detach_adapter() -> put_i2c_dev()

Type Parameter Key Value
PARAM_VALUE 0 i2c_dev 4096-ptr_max
PARAM_VALUE 0 i2c_dev->adap 4096-ptr_max
PARAM_VALUE 1 del_cdev 1
CAPPED_DATA 0 i2c_dev->adap->nr 1
DATA_SOURCE 0 i2c_dev r i2c_dev_get_by_minor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL