Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/base/dd.c
- drivers/input/gameport/gameport.c, line 225
- drivers/input/serio/serio.c, line 94
- drivers/net/phy/phy_device.c, line 1795
- drivers/net/wireless/virtual/mac80211_hwsim_main.c, line 5727
- drivers/pnp/card.c, line 337
- drivers/usb/core/driver.c, line 590
Smatch caller information:
drivers/net/wireless/virtual/mac80211_hwsim_main.c mac80211_hwsim_new_radio() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 2459541336707911720 |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | dev->fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | dev->fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | dev->kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dev->kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | dev->kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | dev->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | dev->links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | dev->p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | dev->p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wait_queue.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 0 | dev->driver | 152 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r device_create |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pnp/card.c pnp_request_card_device() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
drivers/input/gameport/gameport.c gameport_bind_driver() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.status | 0,3 |
| PARAM_VALUE | 0 | dev->power.completion.done | u32max |
| PARAM_VALUE | 0 | dev->power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &gameport_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/serio/serio.c serio_bind_driver() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.status | 0,3 |
| PARAM_VALUE | 0 | dev->power.completion.done | u32max |
| PARAM_VALUE | 0 | dev->power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/driver.c usb_driver_claim_interface() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | dev->power.ignore_children | 0 |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.runtime_status | 0,2 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 0 | dev->driver | 152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &iface->dev.mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/net/phy/phy_device.c phy_attach_direct() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->driver->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 0 | dev->driver | (-1),152 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/dd.c __device_attach() -> device_bind_driver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 1-u64max |
| PARAM_VALUE | 0 | dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->p | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p->dead | 0 |
| PARAM_VALUE | 0 | dev->p->knode_driver.n_klist | 0 |
| BUF_SIZE | 0 | dev | (-1)-0,1616 |
| BUF_SIZE | 0 | dev | (-1)-0,1616 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->mutex | |
| HALF_LOCKED2 | 0 | &dev->parent->mutex | |
| TYPE_LOCK | (struct device)->mutex |