Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/enclosure.c enclosure_add_device() -> enclosure_remove_links()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &sp->mutex | ||
| TYPE_LOCK | (struct subsys_private)->mutex |
drivers/misc/enclosure.c enclosure_component_release() -> enclosure_remove_links()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev | 1-u64max |
| DATA_SOURCE | 0 | cdev | r to_enclosure_component |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/misc/enclosure.c enclosure_remove_device() -> enclosure_remove_links()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev | 4096-ptr_max |
| CAPPED_DATA | 0 | cdev->dev | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &sp->mutex | ||
| TYPE_LOCK | (struct subsys_private)->mutex |