Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/hid/hid-core.c hid_allocate_device() -> hid_bpf_device_init()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->batteries.next 4096-ptr_max
PARAM_VALUE 0 hdev->batteries.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->batteries.prev 4096-ptr_max
PARAM_VALUE 0 hdev->batteries.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->batteries.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->collection 0
PARAM_VALUE 0 hdev->collection_size 0
PARAM_VALUE 0 hdev->debug_list.next 4096-ptr_max
PARAM_VALUE 0 hdev->debug_list.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->debug_list.prev 4096-ptr_max
PARAM_VALUE 0 hdev->debug_list.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->debug_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->debug_wait.head.next 4096-ptr_max
PARAM_VALUE 0 hdev->debug_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->debug_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 hdev->debug_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->debug_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.bus 2544308396894162944
PARAM_VALUE 0 hdev->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->defpool.nareas 0-s32max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->dyn_alloc.data.counter 0,9007199250546704
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->pools.next 0
PARAM_VALUE 0 hdev->dev.dma_io_tlb_mem->pools.prev 0,1473117533515866408
PARAM_VALUE 0 hdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 hdev->dev.flags 4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 hdev->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 hdev->dev.kobj.state_add_uevent_sent 0
PARAM_VALUE 0 hdev->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 hdev->dev.kobj.state_initialized 1
PARAM_VALUE 0 hdev->dev.kobj.state_remove_uevent_sent 0
PARAM_VALUE 0 hdev->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.status 0
PARAM_VALUE 0 hdev->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.numa_node (-1)
PARAM_VALUE 0 hdev->dev.power.async_suspend 1
PARAM_VALUE 0 hdev->dev.power.child_count.counter 0
PARAM_VALUE 0 hdev->dev.power.deferred_resume 0
PARAM_VALUE 0 hdev->dev.power.disable_depth 1
PARAM_VALUE 0 hdev->dev.power.early_init 1
PARAM_VALUE 0 hdev->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.idle_notification 0
PARAM_VALUE 0 hdev->dev.power.ignore_children 0
PARAM_VALUE 0 hdev->dev.power.is_late_suspended 0
PARAM_VALUE 0 hdev->dev.power.is_noirq_suspended 0
PARAM_VALUE 0 hdev->dev.power.is_prepared 0
PARAM_VALUE 0 hdev->dev.power.is_suspended 0
PARAM_VALUE 0 hdev->dev.power.last_status (-1)
PARAM_VALUE 0 hdev->dev.power.needs_force_resume 0
PARAM_VALUE 0 hdev->dev.power.qos 0
PARAM_VALUE 0 hdev->dev.power.request 0
PARAM_VALUE 0 hdev->dev.power.request_pending 0
PARAM_VALUE 0 hdev->dev.power.runtime_auto 1
PARAM_VALUE 0 hdev->dev.power.runtime_error 0
PARAM_VALUE 0 hdev->dev.power.runtime_status 2
PARAM_VALUE 0 hdev->dev.power.timer_expires 0
PARAM_VALUE 0 hdev->dev.power.usage_count.counter 0
PARAM_VALUE 0 hdev->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.release 385127039417352192
PARAM_VALUE 0 hdev->ll_open_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->ll_open_lock.first_waiter 0
PARAM_VALUE 0 hdev->ll_open_lock.magic 4096-ptr_max
PARAM_VALUE 0 hdev->ll_open_lock.osq.tail.counter 0
PARAM_VALUE 0 hdev->ll_open_lock.owner.counter 0
PARAM_VALUE 0 hdev->maxapplication 0
PARAM_VALUE 0 hdev->maxcollection 0
PARAM_VALUE 0 hdev->rdesc 0
PARAM_VALUE 0 hdev->ref.refcount.refs.counter 1
PARAM_VALUE 0 hdev->rsize 0
BUF_SIZE 0 hdev 9144
BUF_SIZE 0 hdev->dev.bus 168
DATA_SOURCE 0 hdev r _kzalloc_noprof
MEM_ZERO 0 &hdev->dev.power.suspend_timer
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &uhid->devlock