Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/w1/w1_netlink.c w1_process_command_addremove() -> w1_attach_slave_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->bus_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->bus_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->bus_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->thread->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | dev->thread->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 0 | dev->thread->kcov->mode | 0-4294967295 |
| PARAM_VALUE | 0 | dev->thread->kcov->remote | 0-1 |
| PARAM_VALUE | 0 | dev->thread->kcov->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | dev->thread->kcov_remote->mode | 0-4294967295 |
| PARAM_VALUE | 0 | dev->thread->kcov_remote->remote | 0-1 |
| PARAM_VALUE | 0 | dev->thread->kcov_remote->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->ptracer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->thread->sched_task_group->idle | s32min-s32max |
| BUF_SIZE | 0 | dev | (-1),128 |
| BUF_SIZE | 0 | dev | (-1),128 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_slave_count | |
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/w1/w1.c w1_master_attribute_store_add() -> w1_attach_slave_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | rn | 7836246211594756096 |
| CAPPED_DATA | 0 | &dev->mutex | 1 |
| DATA_SOURCE | 0 | dev | r dev_to_w1_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &dev->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/w1/w1.c w1_reconnect_slaves() -> w1_attach_slave_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | rn | 3749049149970661376 |
| CAPPED_DATA | 0 | &dev->list_mutex | 1 |
| CAPPED_DATA | 0 | &dev->mutex | 1 |
| CAPPED_DATA | 0 | &dev->slist | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &w1_mlock | ||
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/w1/w1.c w1_slave_found() -> w1_attach_slave_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus_master | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus_master->search | 0 |
| PARAM_VALUE | 0 | dev->bus_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->bus_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->bus_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->list_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->max_slave_count | 1-s32max |
| PARAM_VALUE | 0 | dev->pullup_duration | 0 |
| PARAM_VALUE | 0 | dev->thread->sched_class->set_cpus_allowed | 0,509,42842092416756121,1927640468783054848,4090974917235912704,5094656021401329664,7127180339355369472 |
| BUF_SIZE | 0 | dev | (-1),128 |
| BUF_SIZE | 0 | dev | (-1),128 |
| BUF_SIZE | 1 | rn | 8 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_slave_count | |
| NO_OVERFLOW_SIMPLE | 0 | dev->thread->dl.pi_se->dl_runtime | |
| HALF_LOCKED2 | 0 | &dev->mutex |