Defined in 1 files as a function:
Referenced in 11 files:
- drivers/accel/qaic/qaic_ras.c, line 571
- drivers/base/bus.c, line 578
- drivers/base/core.c, line 3009
- drivers/char/ipmi/ipmi_si_intf.c, line 2127
- drivers/char/ipmi/ipmi_ssif.c, line 1916
- drivers/crypto/intel/qat/qat_common/adf_sysfs_anti_rb.c, line 113
- drivers/crypto/intel/qat/qat_common/adf_sysfs_ras_counters.c, line 99
- drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c, line 442
- drivers/hid/hid-msi.c
- drivers/input/mouse/trackpoint.c, line 498
- drivers/nvmem/core.c, line 516
Smatch caller information:
drivers/hid/hid-msi.c cfg_setup_fn() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7015939748124524544 |
| HALF_LOCKED2 | &pool->lock |
drivers/hid/hid-msi.c cfg_setup_fn() -> device_add_group()
| 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_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode | 4096-u64max |
| PARAM_VALUE | 0 | dev->init_name | 0 |
| PARAM_VALUE | 0 | dev->kobj.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.ktype->child_ns_type | 0,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160 |
| PARAM_VALUE | 0 | dev->kobj.ktype->get_ownership | 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856 |
| 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->__parent | 0 |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| 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->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->p | 0,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_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->driver_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->parent->driver_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->parent->driver_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->parent->driver_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->parent->driver_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->parent->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | dev->parent->kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dev->parent->kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | dev->parent->kobj.release.timer.is_soft | 0-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.next->prev | 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 |
| PARAM_VALUE | 1 | grp | 6713041339718131712 |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c adf_sysfs_rl_add() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | grp | 7915031714265288704 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &accel_dev->state_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct adf_accel_dev)->state_lock |
drivers/char/ipmi/ipmi_ssif.c ssif_probe() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 6211636207909519360 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ssif_infos_mutex |
drivers/base/bus.c bus_add_device() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->driver_override | 1 |
| PARAM_VALUE | 0 | dev->bus->offline | 1-u64max |
| PARAM_VALUE | 0 | dev->bus->online | 1-u64max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->groups | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->init_name | 0 |
| PARAM_VALUE | 0 | dev->kobj.kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | dev->kobj.sd->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p | 1-u64max |
| PARAM_VALUE | 0 | dev->physical_location | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | dev->physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | dev->physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | dev->pins->p | 0-s64max |
| PARAM_VALUE | 0 | dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->type->groups | 0,4096-ptr_max |
| PARAM_VALUE | 1 | grp | 5092864928029065216 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->bus | 1 |
| DATA_SOURCE | 0 | dev | $0 |
drivers/nvmem/core.c nvmem_populate_sysfs_cells() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 8030256647569797120 |
| PARAM_VALUE | 1 | grp->attrs | 0 |
| PARAM_VALUE | 1 | grp->bin_attrs | 1-u64max |
| PARAM_VALUE | 1 | grp->bin_size | 0 |
| PARAM_VALUE | 1 | grp->name | 8475472724649050112 |
| TERMINATED | 1 | grp->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/input/mouse/trackpoint.c trackpoint_detect() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7301332373442162688 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &psmouse_mutex |
drivers/base/core.c device_add_attrs() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->offline | 1-u64max |
| PARAM_VALUE | 0 | dev->bus->online | 1-u64max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class->dev_groups | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->groups | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->init_name | 0 |
| PARAM_VALUE | 0 | dev->kobj.kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | dev->kobj.sd->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p | 1-u64max |
| PARAM_VALUE | 0 | dev->physical_location | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | dev->physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | dev->physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | dev->pins->p | 0-s64max |
| PARAM_VALUE | 0 | dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->type->groups | 0,4096-ptr_max |
| PARAM_VALUE | 1 | grp | 2565389466290360320 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->bus | 1 |
| DATA_SOURCE | 0 | dev | $0 |
drivers/accel/qaic/qaic_ras.c qaic_ras_mhi_probe() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 3271182818789941248 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/ipmi/ipmi_si_intf.c try_smi_init() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7389394293976993792 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &smi_infos_lock |
drivers/crypto/intel/qat/qat_common/adf_sysfs_ras_counters.c adf_sysfs_start_ras() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | grp | 8270636435451645952 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &accel_dev->state_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct adf_accel_dev)->state_lock |
drivers/crypto/intel/qat/qat_common/adf_sysfs_anti_rb.c adf_sysfs_start_arb() -> device_add_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | grp | 6879420132987170816 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &accel_dev->state_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct adf_accel_dev)->state_lock |