Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/base/core.c __device_links_no_driver() -> device_link_drop_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->flags | 64-u32max |
| CAPPED_DATA | 0 | &link->c_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_links_lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/base/core.c device_links_driver_bound() -> device_link_drop_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->flags | 128-u32max |
| CAPPED_DATA | 0 | &link->c_node | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_links_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &dev->parent->mutex |
drivers/base/core.c device_links_driver_bound() -> device_link_drop_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->flags | 256-u32max |
| PARAM_VALUE | 0 | link->status | s32min-1,3-s32max |
| PARAM_VALUE | 0 | link->supplier->flags | 4096-ptr_max |
| CAPPED_DATA | 0 | &link->c_node | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_links_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &dev->parent->mutex |
drivers/base/core.c device_links_driver_cleanup() -> device_link_drop_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->flags | 64-u32max |
| PARAM_VALUE | 0 | link->status | 4 |
| CAPPED_DATA | 0 | &link->s_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &device_links_lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/base/core.c device_links_force_bind() -> device_link_drop_managed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->flags | 64-u32max |
| PARAM_VALUE | 0 | link->status | s32min-0,2-s32max |
| CAPPED_DATA | 0 | &link->c_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_links_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &dev->parent->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &gameport_mutex |