Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/base/power/main.c, line 1388
- drivers/gpio/gpio-mockup.c, line 372
- drivers/net/wwan/wwan_core.c, line 293
- drivers/of/unittest.c, line 4446
- drivers/ptp/ptp_ocp.c, line 2023
- drivers/spi/spi.c
- net/bluetooth/hci_sysfs.c, line 72
Smatch caller information:
net/bluetooth/hci_sysfs.c hci_conn_del_sysfs() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->kobj.state_in_sysfs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/ptp/ptp_ocp.c ptp_ocp_find_flash() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1)-0,1616 |
| BUF_SIZE | 0 | parent | (-1)-0,1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/ptp/ptp_ocp.c ptp_ocp_find_flash() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->p | 1-u64max |
| DATA_SOURCE | 0 | parent | r device_find_any_child |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/spi/spi.c slave_show() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/spi/spi.c slave_store() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpio/gpio-mockup.c gpio_mockup_debugfs_setup() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/of/unittest.c of_unittest_pci_node_verify() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node | 1-u64max |
drivers/base/power/main.c dpm_leaf_device() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->power.completion.done | 0 |
| PARAM_VALUE | 0 | parent->power.work_in_progress | 0 |
| DATA_SOURCE | 0 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dpm_list_mtx | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/net/wwan/wwan_core.c wwan_remove_dev() -> device_find_any_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &wwan_register_lock |