Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/base/core.c, line 292
- drivers/base/dd.c
- drivers/base/power/common.c, line 431
- drivers/base/test/platform-device-test.c
- drivers/gpio/gpio-aggregator.c, line 972
- drivers/gpio/gpio-sim.c, line 949
- drivers/gpio/gpio-virtuser.c, line 1481
- drivers/gpio/gpiolib-kunit.c
- drivers/i2c/busses/i2c-designware-platdrv.c, line 172
- drivers/pci/pwrctrl/core.c
- drivers/regulator/core.c, line 2261
- lib/kunit/platform.c, line 284
Smatch caller information:
drivers/gpio/gpio-virtuser.c gpio_virtuser_device_activate() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_hog_assert() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_lookup_by_primary() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_lookup_by_secondary() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_probe_defer_on_unregistered() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &cons->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_probe_defer_on_unregistered() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &prvd->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_probe_defer_on_unregistered() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p | 0,4096-ptr_max |
| LOCK2 | &cons->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_probe_order() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &cons->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_probe_order() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &prvd->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_swnode_probe_order() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p | 0,4096-ptr_max |
| LOCK2 | &cons->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpio/gpiolib-kunit.c gpio_unbind_with_consumers() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &cons->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/regulator/core.c regulator_resolve_supply() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpio/gpio-sim.c gpio_sim_device_activate() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct device)->mutex |
lib/kunit/platform.c kunit_platform_device_prepare_wait_for_probe() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct device)->mutex |
drivers/base/power/common.c dev_pm_domain_set() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | dev->bus | (-1),168 |
| BUF_SIZE | 0 | dev->driver | (-1),152 |
| BUF_SIZE | 0 | dev->groups | (-1),16 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1),2-6,8 |
| STR_LEN | 0 | dev | (-1),2-6,8 |
| STR_LEN | 0 | dev->power.subsys_data->domain_data->dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 4096-u32max |
| NO_OVERFLOW_SIMPLE | 0 | dev->physical_location | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &gpd_list_lock | ||
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/base/core.c fw_devlink_refresh_fwnode() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | r get_dev_from_fwnode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &of_mutex | ||
| LOCK2 | global &of_overlay_phandle_mutex |
drivers/gpio/gpio-aggregator.c gpio_aggregator_activate() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/i2c/busses/i2c-designware-platdrv.c check_gpioint_resource() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | 0 | &dev->mutex | |
| HALF_LOCKED2 | &ctrl->lock | ||
| HALF_LOCKED2 | global &acpi_link_lock | ||
| HALF_LOCKED2 | global &ioapic_list_lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/pci/pwrctrl/core.c pci_pwrctrl_power_off_device() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/pci/pwrctrl/core.c pci_pwrctrl_power_on_device() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/base/dd.c __device_attach() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->p | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1)-0,1616 |
| BUF_SIZE | 0 | dev | (-1)-0,1616 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->mutex | |
| HALF_LOCKED2 | 0 | &dev->parent->mutex | |
| TYPE_LOCK | (struct device)->mutex |
drivers/base/dd.c driver_bound() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1)-0,16,24,56,64,120,1616,7104 |
| BUF_SIZE | 0 | dev | (-1)-0,16,24,56,64,120,1616,7104 |
| BUF_SIZE | 0 | dev->driver | (-1),152 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &dev->mutex | |
| HALF_LOCKED2 | 0 | &dev->parent->mutex |
drivers/base/test/platform-device-test.c platform_device_swnode_add_twice() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/base/test/platform-device-test.c platform_device_swnode_add_twice() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/base/test/platform-device-test.c platform_device_swnode_as_primary() -> device_is_bound()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| LOCK2 | &pdev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |