Documented in 1 files:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/gpu/drm/armada/armada_drv.c, line 209
- drivers/gpu/drm/etnaviv/etnaviv_drv.c, line 643
- drivers/gpu/drm/exynos/exynos_drm_drv.c, line 226
- drivers/gpu/drm/mcde/mcde_drv.c, line 398
- drivers/gpu/drm/mediatek/mtk_drm_drv.c, line 1118
- drivers/gpu/drm/meson/meson_drv.c, line 492
- drivers/gpu/drm/omapdrm/dss/dss.c, line 1374
- drivers/gpu/drm/rockchip/rockchip_drm_drv.c, line 406
- drivers/gpu/drm/vc4/vc4_drv.c, line 262
- drivers/iommu/mtk_iommu.c, line 1258
- drivers/platform/x86/lenovo/wmi-capdata.c
- drivers/power/supply/ab8500_charger.c, line 3641
- drivers/usb/typec/port-mapper.c
- drivers/video/fbdev/omap2/omapfb/dss/dss.c, line 1205
- sound/hda/codecs/side-codecs/hda_component.c, line 176
Smatch caller information:
drivers/platform/x86/lenovo/wmi-capdata.c lwmi_cd_match_add_all() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 2188620621027905536 |
| PARAM_VALUE | 1 | *matchptr | 0-ptr_max |
| PARAM_VALUE | 2 | compare | 8424060285180612608 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| PARAM_VALUE | 3 | *compare_data | s32min-1,3-s32max |
| BUF_SIZE | 3 | compare_data | 4 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | matchptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/lenovo/wmi-capdata.c lwmi_cd_sub_master_add() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 6417107400802590720 |
| PARAM_VALUE | 1 | *matchptr | 0 |
| PARAM_VALUE | 2 | compare | 8424060285180612608 |
| PARAM_VALUE | 3 | compare_data | 2936755233691979800 |
| PARAM_VALUE | 3 | *compare_data | s32min-s32max |
| BUF_SIZE | 3 | compare_data | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/meson/meson_drv.c meson_drv_probe() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node | 1-u64max |
| PARAM_VALUE | 1 | matchptr | 7082077007309307904 |
| PARAM_VALUE | 2 | compare | 3584829884969193472 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 3 | compare_data | (-1)-0,392 |
| DATA_SOURCE | 3 | compare_data | r of_graph_get_remote_port_parent |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/codecs/side-codecs/hda_component.c hda_component_manager_init() -> component_match_add()
| 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 |
| PARAM_VALUE | 1 | matchptr | 8011818673618223104 |
| PARAM_VALUE | 1 | *matchptr | 0-ptr_max |
| PARAM_VALUE | 2 | compare | 1681266244344819712 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| BUF_SIZE | 3 | compare_data | 32 |
| DATA_SOURCE | 3 | compare_data | r devm_kmalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/etnaviv/etnaviv_drv.c etnaviv_pdev_probe() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->platform_data | 1-u64max |
| PARAM_VALUE | 1 | matchptr | 4378529732493832192 |
| PARAM_VALUE | 2 | compare | 5846707073501450240 |
| PARAM_VALUE | 3 | compare_data | 1-u64max |
| PARAM_VALUE | 3 | *compare_data | 0-255 |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/exynos/exynos_drm_drv.c exynos_drm_match_add() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->coherent_dma_mask | u32max |
| PARAM_VALUE | 1 | matchptr | 3402593683765907456 |
| PARAM_VALUE | 2 | compare | 413766746243866624 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 3 | compare_data | r platform_find_device_by_driver |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vc4/vc4_drv.c vc4_match_add_drivers() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 5151397758448164864 |
| PARAM_VALUE | 2 | compare | 413766746243866624 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | matchptr | $1 |
| DATA_SOURCE | 3 | compare_data | r platform_find_device_by_driver |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iommu/mtk_iommu.c mtk_iommu_mm_dts_parse() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 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 |
| PARAM_VALUE | 0 | parent->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->power.last_status | (-1) |
| PARAM_VALUE | 1 | matchptr | 3766215724732256256 |
| PARAM_VALUE | 2 | compare | 413766746243866624 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| BUF_SIZE | 3 | compare_data | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | matchptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/mcde/mcde_drv.c mcde_probe() -> component_match_add()
| 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->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | parent->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | parent->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | parent->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 8318930402404945920 |
| PARAM_VALUE | 2 | compare | 413766746243866624 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 3 | compare_data | r platform_find_device_by_driver |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/mediatek/mtk_drm_drv.c mtk_drm_probe() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 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 |
| PARAM_VALUE | 1 | matchptr | 8984979902621020160 |
| PARAM_VALUE | 1 | *matchptr | 0 |
| PARAM_VALUE | 2 | compare | 5424422755054661632 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| BUF_SIZE | 3 | compare_data | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/omapdrm/dss/dss.c dss_add_child_component() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | compare | 413766746243866624 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 1 | matchptr | 8 |
| DATA_SOURCE | 3 | compare_data | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/rockchip/rockchip_drm_drv.c rockchip_drm_match_add() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 185831677495660544 |
| PARAM_VALUE | 2 | compare | 413766746243866624 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 3 | compare_data | r platform_find_device_by_driver |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/typec/port-mapper.c typec_port_match() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 4096-ptr_max |
| PARAM_VALUE | 2 | compare | 1732851774236872704 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 3 | compare_data | 64 |
| DATA_SOURCE | 3 | compare_data | r acpi_fwnode_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &add_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | &skt->skt_mutex | ||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &core_lock | ||
| HALF_LOCKED2 | global &pi_mutex | ||
| HALF_LOCKED2 | global &pwrseq_sem | ||
| HALF_LOCKED2 | global ®istration_lock | ||
| HALF_LOCKED2 | global &vdpa_dev_lock | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/usb/typec/port-mapper.c typec_port_match() -> component_match_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | matchptr | 4096-ptr_max |
| PARAM_VALUE | 1 | *matchptr | 1-u64max |
| PARAM_VALUE | 2 | compare | 1734067878408458240 |
| PARAM_VALUE | 3 | compare_data | 4096-ptr_max |
| BUF_SIZE | 3 | compare_data | 64 |
| DATA_SOURCE | 3 | compare_data | r acpi_fwnode_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &add_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | &skt->skt_mutex | ||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &core_lock | ||
| HALF_LOCKED2 | global &pi_mutex | ||
| HALF_LOCKED2 | global &pwrseq_sem | ||
| HALF_LOCKED2 | global ®istration_lock | ||
| HALF_LOCKED2 | global &vdpa_dev_lock | ||
| HALF_LOCKED2 | global &xenwatch_mutex |