Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/base/core.c device_link_del() -> device_link_put_kref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link->link_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | link->link_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | link | (-1)-0,1768 |
| BUF_SIZE | 0 | link | (-1)-0,1768 |
| BUF_SIZE | 0 | link->consumer | (-1),1616 |
| DATA_SOURCE | 0 | link | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_links_lock | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/base/core.c device_link_remove() -> device_link_put_kref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| CAPPED_DATA | 0 | link->consumer | 1 |
| CAPPED_DATA | 0 | &link->s_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_links_lock | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |