Documented in 1 files:
Defined in 1 files as a function:
Referenced in 29 files:
- arch/powerpc/platforms/pseries/vio.c, line 1665
- arch/x86/platform/olpc/olpc-xo1-sci.c, line 244
- drivers/acpi/bus.c, line 1134
- drivers/ata/pata_parport/pata_parport.c, line 705
- drivers/base/bus.c
- drivers/crypto/hisilicon/qm.c, line 4173
- drivers/cxl/core/region.c, line 2413
- drivers/dma/idxd/compat.c
- drivers/dma/idxd/init.c
- drivers/gpu/drm/armada/armada_drv.c, line 218
- drivers/media/cec/i2c/ch7322.c, line 416
- drivers/media/cec/platform/cros-ec/cros-ec-cec.c, line 357
- drivers/media/cec/platform/seco/seco-cec.c, line 522
- drivers/most/core.c, line 538
- drivers/net/phy/phy_device.c, line 1272
- drivers/pci/p2pdma.c, line 1175
- drivers/platform/x86/amd/pmc/pmc.c, line 636
- drivers/platform/x86/lenovo/yogabook.c
- drivers/platform/x86/x86-android-tablets/acer.c, line 123
- drivers/platform/x86/x86-android-tablets/core.c, line 188
- drivers/platform/x86/x86-android-tablets/lenovo.c, line 527
- drivers/rapidio/devices/rio_mport_cdev.c
- sound/soc/intel/boards/bytcr_rt5640.c, line 1758
- sound/soc/intel/boards/bytcr_wm5102.c, line 559
- sound/soc/sdw_utils/soc_sdw_es9356.c, line 203
- sound/soc/sdw_utils/soc_sdw_rt711.c, line 148
- sound/soc/sdw_utils/soc_sdw_rt_amp.c
- sound/soc/sdw_utils/soc_sdw_rt_sdca_jack_common.c, line 210
- sound/soc/sdw_utils/soc_sdw_utils.c
Smatch caller information:
drivers/crypto/hisilicon/qm.c qm_get_qos_value() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| BUF_SIZE | 2 | name | 256 |
| TERMINATED | 2 | name | 1 |
drivers/media/cec/platform/cros-ec/cros-ec-cec.c cros_ec_cec_find_hdmi_dev() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 9023697146540859392 |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmc/pmc.c amd_pmc_wa_irq1() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 6012133752088997888 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 489563972647948288 |
| BUF_SIZE | 2 | name | 7 |
| STR_LEN | 0 | bus | 6 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fsm->lock |
sound/soc/sdw_utils/soc_sdw_rt711.c asoc_sdw_rt711_init() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sdw_utils/soc_sdw_rt_sdca_jack_common.c asoc_sdw_rt_sdca_jack_init() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sdw_utils/soc_sdw_es9356.c asoc_sdw_es9356_init() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/cec/platform/seco/seco-cec.c secocec_cec_find_hdmi_dev() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 9023697146540859392 |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cxl/core/region.c store_targetN() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 5501934413539762176 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| DATA_SOURCE | 2 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
sound/soc/intel/boards/bytcr_wm5102.c snd_byt_wm5102_mc_probe() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 8668803128452968448 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 2174237482512306176 |
| BUF_SIZE | 2 | name | 24 |
| STR_LEN | 0 | bus | (-1),23 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/p2pdma.c pci_p2pdma_enable_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 9023697146540859392 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 1-u64max |
| PARAM_VALUE | 2 | *name | 0 |
| BUF_SIZE | 2 | name | 4096 |
| BUF_SIZE | 2 | name | 4096 |
| DATA_SOURCE | 2 | name | $0 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &ns->subsys->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |
drivers/dma/idxd/init.c idxd_bind() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| DATA_SOURCE | 2 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/dma/idxd/init.c idxd_unbind() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| DATA_SOURCE | 2 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/ata/pata_parport/pata_parport.c delete_device_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 2 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &pi_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/dma/idxd/compat.c bind_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| DATA_SOURCE | 2 | name | $1 |
| 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/dma/idxd/compat.c unbind_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| DATA_SOURCE | 2 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
sound/soc/sdw_utils/soc_sdw_utils.c is_sdca_aux_dev_present() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 1-u64max |
| BUF_SIZE | 2 | name | 0-s32max |
| BUF_SIZE | 2 | name | 0-s32max |
| CAPPED_DATA | 2 | name | 1 |
| DATA_SOURCE | 2 | name | r _asoc_sdw_get_codec_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sdw_utils/soc_sdw_utils.c is_sdca_endpoint_present() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 1-u64max |
| BUF_SIZE | 2 | name | 0-s32max |
| BUF_SIZE | 2 | name | 0-s32max |
| CAPPED_DATA | 2 | name | 1 |
| DATA_SOURCE | 2 | name | r _asoc_sdw_get_codec_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/intel/boards/bytcr_rt5640.c snd_byt_rt5640_mc_probe() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 1544978709912981504 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 7441828751415136256 |
| BUF_SIZE | 2 | name | 11 |
| STR_LEN | 0 | bus | 10 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/most/core.c get_channel() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 7661882514881486848 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | 80 |
| BUF_SIZE | 2 | name | 80 |
| DATA_SOURCE | 2 | name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
sound/soc/sdw_utils/soc_sdw_rt_amp.c asoc_sdw_rt_amp_init() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sdw_utils/soc_sdw_rt_amp.c asoc_sdw_rt_amp_init() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4054859100714573824 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/x86-android-tablets/lenovo.c lenovo_yoga_tab2_830_1050_init_codec() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 8668803128452968448 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 7401009406513168384 |
| BUF_SIZE | 2 | name | 16 |
| STR_LEN | 0 | bus | 15 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/bus.c bind_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| CAPPED_DATA | 0 | bus | 1 |
| DATA_SOURCE | 0 | bus | r bus_get |
| DATA_SOURCE | 2 | name | $1 |
| 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/base/bus.c drivers_probe_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 2 | name | $1 |
| 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/base/bus.c unbind_store() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| CAPPED_DATA | 0 | bus | 1 |
| DATA_SOURCE | 0 | bus | r bus_get |
| DATA_SOURCE | 2 | name | $1 |
| 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/platform/x86/x86-android-tablets/core.c get_i2c_adap_by_pci_parent() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 9023697146540859392 |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/phy/phy_device.c phy_connect() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 6958336547121922048 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 2 | name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 2 | name | $1 |
| STR_LEN | 0 | bus | (-1),63 |
| STR_LEN | 2 | name | (-1),63 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/x86-android-tablets/acer.c acer_a1_840_init() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 2638458839708901376 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 8473958481181192192 |
| BUF_SIZE | 2 | name | 17 |
| STR_LEN | 0 | bus | 16 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/lenovo/yogabook.c yogabook_pdev_probe() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 1544978709912981504 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 1324731787350401024 |
| BUF_SIZE | 2 | name | 14 |
| STR_LEN | 0 | bus | 13 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/lenovo/yogabook.c yogabook_pdev_probe() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 1544978709912981504 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 7169665819863846912 |
| BUF_SIZE | 2 | name | 10 |
| STR_LEN | 0 | bus | 9 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/bus.c acpi_bus_find_device_by_name() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 8338551425923067904 |
| PARAM_VALUE | 1 | start | 0 |
| BUF_SIZE | 2 | name | 2-3,5-7,16,29-31 |
| BUF_SIZE | 2 | name | 2-3,5-7,16,29-31 |
| DATA_SOURCE | 2 | name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/rapidio/devices/rio_mport_cdev.c rio_mport_add_riodev() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 5117431629212901376 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| BUF_SIZE | 2 | name | 21 |
| TERMINATED | 2 | name | 1 |
| USER_DATA | 2 | *name | 0-255 |
| USER_PTR | 2 | name |
drivers/rapidio/devices/rio_mport_cdev.c rio_mport_del_riodev() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 5117431629212901376 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| BUF_SIZE | 2 | name | 21 |
| TERMINATED | 2 | name | 1 |
| USER_DATA | 2 | *name | 0-255 |
| USER_PTR | 2 | name |
drivers/media/cec/i2c/ch7322.c ch7322_get_port() -> bus_find_device_by_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 9023697146540859392 |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |