Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/base/bus.c, line 831
- drivers/base/core.c
- drivers/base/dd.c, line 1357
- lib/klist.c, line 259
- lib/tests/list-test.c, line 1452
Smatch caller information:
drivers/base/bus.c bus_remove_driver() -> klist_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/core.c device_move() -> klist_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dpm_list_mtx | ||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/base/core.c device_move() -> klist_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->n_klist | 4096-ptr_max |
| PARAM_VALUE | 0 | n->n_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->n_ref.refcount.refs.counter | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dpm_list_mtx | ||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/base/dd.c __device_release_driver() -> klist_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
lib/tests/list-test.c klist_test_remove() -> klist_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 6152202847134539776 |
| PARAM_VALUE | 0 | n->n_klist | 2620473255834009600 |
| PARAM_VALUE | 0 | n->n_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | n->n_ref.refcount.refs.counter | 1 |
| NOCHECK_CALL |