Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/w1/w1_netlink.c w1_process_command_addremove() -> w1_slave_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sl | 4096-ptr_max |
| CAPPED_DATA | 0 | sl->reg_num.crc | 1 |
| CAPPED_DATA | 0 | sl->reg_num.family | 1 |
| CAPPED_DATA | 0 | sl->reg_num.id | 1 |
| DATA_SOURCE | 0 | sl | r w1_slave_search_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/w1/w1_int.c __w1_remove_master_device() -> w1_slave_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sl | 4096-ptr_max |
| PARAM_VALUE | 0 | sl->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sl->hwmon->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sl->hwmon->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sl->hwmon->power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | &sl->w1_slave_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/w1/w1.c w1_master_attribute_store_remove() -> w1_slave_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sl | 4096-ptr_max |
| CAPPED_DATA | 0 | sl->reg_num.crc | 1 |
| CAPPED_DATA | 0 | sl->reg_num.family | 1 |
| CAPPED_DATA | 0 | sl->reg_num.id | 1 |
| DATA_SOURCE | 0 | sl | r w1_slave_search_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &md->mutex | ||
| LOCK2 | &of->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_slave_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sl | 4096-ptr_max |
| PARAM_VALUE | 0 | sl->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sl->family | 4096-ptr_max |
| PARAM_VALUE | 0 | sl->hwmon->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sl->hwmon->power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | &sl->w1_slave_entry | 1 |
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &w1_mlock | ||
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/w1/w1.c w1_search_process_cb() -> w1_slave_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sl | 4096-ptr_max |
| PARAM_VALUE | 0 | sl->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sl->hwmon->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sl->hwmon->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sl->ttl | 0 |
| CAPPED_DATA | 0 | &sl->w1_slave_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |