Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/host1x/bus.c host1x_add_client() -> host1x_subdev_register()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 1 subdev 4096-ptr_max
PARAM_VALUE 2 client 4096-ptr_max
PARAM_VALUE 2 client->cache.lock.magic 4096-ptr_max
PARAM_VALUE 2 client->dev 4096-ptr_max
PARAM_VALUE 2 client->host 0
PARAM_VALUE 2 client->list.next 4096-ptr_max
PARAM_VALUE 2 client->list.prev 4096-ptr_max
PARAM_VALUE 2 client->ops 4096-ptr_max
CAPPED_DATA 0 &device->list 1
CAPPED_DATA 0 &device->subdevs 1
CAPPED_DATA 1 subdev->np 1
CAPPED_DATA 1 &subdev->list 1
CAPPED_DATA 2 client->dev->of_node 1
DATA_SOURCE 2 client $1
PARAM_COMPARE 2 client->dev->of_node == $1->np
MEM_ZERO 2 client
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &host1x->devices_lock
LOCK2 global &devices_lock
TYPE_LOCK (struct host1x)->devices_lock

drivers/gpu/host1x/bus.c host1x_device_add() -> host1x_subdev_register()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->active.next 4096-ptr_max
PARAM_VALUE 0 device->active.next->next 4096-ptr_max
PARAM_VALUE 0 device->active.prev 4096-ptr_max
PARAM_VALUE 0 device->active.prev->next 4096-ptr_max
PARAM_VALUE 0 device->active.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->clients.next 4096-ptr_max
PARAM_VALUE 0 device->clients.next->next 4096-ptr_max
PARAM_VALUE 0 device->clients.prev 4096-ptr_max
PARAM_VALUE 0 device->clients.prev->next 4096-ptr_max
PARAM_VALUE 0 device->clients.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->clients_lock.dep_map->name 0-255
PARAM_VALUE 0 device->clients_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 device->clients_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 device->clients_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 device->clients_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 device->clients_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 device->clients_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 device->clients_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 device->clients_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 device->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.dma_io_tlb_mem->defpool.nareas 0-s32max
PARAM_VALUE 0 device->dev.dma_io_tlb_mem->dyn_alloc.data.counter 0,9007199250546704
PARAM_VALUE 0 device->dev.dma_io_tlb_mem->pools.next 0
PARAM_VALUE 0 device->dev.dma_io_tlb_mem->pools.prev 0,1473117533515866408
PARAM_VALUE 0 device->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 device->dev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 device->dev.dma_ops->cache_sync 0
PARAM_VALUE 0 device->dev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 device->dev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 device->dev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 device->dev.dma_ops->get_merge_boundary 0
PARAM_VALUE 0 device->dev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 device->dev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 device->dev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 device->dev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 device->dev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 device->dev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 device->dev.dma_ops->opt_mapping_size 0
PARAM_VALUE 0 device->dev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 device->dev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 device->dev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 device->dev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 device->dev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 device->dev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 device->dev.dma_parms->max_segment_size u32max
PARAM_VALUE 0 device->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.flags 4096-ptr_max
PARAM_VALUE 0 device->dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 device->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 device->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->dev.power.qos->flags_req 0
PARAM_VALUE 0 device->dev.power.qos->freq.max_freq_notifiers.head 0
PARAM_VALUE 0 device->dev.power.qos->freq.min_freq_notifiers.head 0
PARAM_VALUE 0 device->dev.power.qos->latency_tolerance.default_value 0
PARAM_VALUE 0 device->dev.power.qos->latency_tolerance.notifiers 0
PARAM_VALUE 0 device->dev.power.qos->latency_tolerance.target_value 0
PARAM_VALUE 0 device->dev.power.qos->latency_tolerance_req 0
PARAM_VALUE 0 device->dev.power.qos->resume_latency.default_value 0
PARAM_VALUE 0 device->dev.power.qos->resume_latency.list.node_list.next 0
PARAM_VALUE 0 device->dev.power.qos->resume_latency.list.node_list.prev 0
PARAM_VALUE 0 device->dev.power.qos->resume_latency.no_constraint_value 0
PARAM_VALUE 0 device->dev.power.qos->resume_latency.target_value 0
PARAM_VALUE 0 device->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 device->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 device->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->driver 4096-ptr_max
PARAM_VALUE 0 device->driver->subdevs 4096-ptr_max
PARAM_VALUE 0 device->list.next 4096-ptr_max
PARAM_VALUE 0 device->list.next->next 4096-ptr_max
PARAM_VALUE 0 device->list.prev->next 4096-ptr_max
PARAM_VALUE 0 device->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->subdevs.next 4096-ptr_max
PARAM_VALUE 0 device->subdevs.next->next 4096-ptr_max
PARAM_VALUE 0 device->subdevs.prev->next 4096-ptr_max
PARAM_VALUE 0 device->subdevs.prev->prev 4096-ptr_max
PARAM_VALUE 0 device->subdevs_lock.dep_map->name 0-255
PARAM_VALUE 0 device->subdevs_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 device->subdevs_lock.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 device->subdevs_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 device->subdevs_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 device->subdevs_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 device->subdevs_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 device->subdevs_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 subdev 4096-ptr_max
PARAM_VALUE 2 client 4096-ptr_max
PARAM_VALUE 2 client->dev 4096-ptr_max
BUF_SIZE 0 device 2016
BUF_SIZE 0 device->dev.bus (-1),168
BUF_SIZE 0 device->dev.dma_mask (-1),8
BUF_SIZE 0 device->dev.dma_parms (-1),16
BUF_SIZE 0 device->dev.parent (-1),1616
CAPPED_DATA 0 &device->subdevs 1
CAPPED_DATA 1 subdev->np 1
CAPPED_DATA 1 &subdev->list 1
CAPPED_DATA 2 client->dev->of_node 1
CAPPED_DATA 2 &client->list 1
DATA_SOURCE 0 device r _kzalloc_noprof
PARAM_COMPARE 2 client->dev->of_node == $1->np
MEM_ZERO 0 &device->dev.power.suspend_timer
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf s64min-s64max
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.auxiliary 0-4294967295
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.command 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.ctl 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.device 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.error 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.feature 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.flags s64min-s64max
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_feature 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbah 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbal 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbam 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_nsect 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbah 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbal 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbam 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.nsect 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.protocol 0-255
HOST_DATA 0 device->dev.sata_dev.ap->link.ap->link.device->link->ap->result_tf.status 0-255
HOST_DATA 0 device->dev.shost->hostdata->saved_fault_code 0-u16max
LOCK2 &host1x->devices_lock
LOCK2 global &clients_lock
HALF_LOCKED2 global &devices_lock
HALF_LOCKED2 global &drivers_lock
TYPE_LOCK (struct host1x)->devices_lock