Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 26 files:

Smatch caller information:

drivers/pci/hotplug/shpchp_sysfs.c show_ctrl() -> pci_find_bus()

Type Parameter Key Value
CAPPED_DATA 1 busnr 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

arch/x86/pci/acpi.c pci_acpi_scan_root() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0-u16max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &acpi_scan_lock

drivers/pci/iov.c virtfn_add_bus() -> pci_find_bus()

Type Parameter Key Value
DATA_SOURCE 1 busnr $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 1-256[c]
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/media/platform/via/via-camera.c viacam_serial_is_enabled() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/eeepc-laptop.c eeepc_setup_pci_hotplug() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 1
RX_PATH
TASK_NOT_RUNNING

drivers/pci/pcie/rcec.c walk_rcec() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 1 busnr 0-255
CAPPED_DATA 1 busnr 1
RX_PATH
TASK_NOT_RUNNING

drivers/pci/probe.c pci_hp_add_bridge() -> pci_find_bus()

Type Parameter Key Value
CAPPED_DATA 1 busnr 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &ctrl->reset_lock
HALF_LOCKED2 &p_slot->ctrl->crit_sect
HALF_LOCKED2 global &list_rwsem

drivers/pci/probe.c pci_register_host_bridge() -> pci_find_bus()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 0[c]
UNITS 1 busnr unit_byte

drivers/pci/probe.c pci_scan_bridge_extend() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 1 busnr 1-255
CAPPED_DATA 1 busnr 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 1-255[c]
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/probe.c pci_scan_bridge_extend() -> pci_find_bus()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 2-256[c]
UNITS 1 busnr unit_byte
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/edac/pnd2_edac.c pnd2_init() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 0

arch/x86/pci/irq.c pirq_peer_trick() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 1-255
FUZZY_MAX 1 busnr 255
HARD_MAX 1 busnr 255

drivers/hwtracing/ptt/hisi_ptt.c hisi_ptt_init_ctrls() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 1 busnr 0-255
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 1-255[c]

drivers/pci/setup-cardbus.c pci_cardbus_scan_bridge_extend() -> pci_find_bus()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 4-256[c]
UNITS 1 busnr unit_byte
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/setup-cardbus.c pci_cardbus_scan_bridge_extend() -> pci_find_bus()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 busnr 5-258[c]
UNITS 1 busnr unit_byte
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/pcie/pme.c pcie_pme_handle_request() -> pci_find_bus()

Type Parameter Key Value
HOST_DATA 1 busnr 0-255[c]
HALF_LOCKED2 &pool->lock

arch/x86/pci/legacy.c pcibios_scan_specific_bus() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 0-255
CAPPED_DATA 1 busnr 1
DATA_SOURCE 1 busnr $0
FUZZY_MAX 1 busnr 255

drivers/platform/x86/p2sb.c p2sb_get_bus() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/xen-pcifront.c pcifront_rescan_root() -> pci_find_bus()

Type Parameter Key Value
DATA_SOURCE 0 domain $1
DATA_SOURCE 1 busnr $2
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/platform/x86/asus-wmi.c asus_rfkill_hotplug() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &asus->hotplug_lock
LOCK2 global &pci_rescan_remove_lock
TYPE_LOCK (struct asus_wmi)->hotplug_lock

drivers/platform/x86/asus-wmi.c asus_setup_pci_hotplug() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 1
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/reboot.c acpi_pci_reboot() -> pci_find_bus()

Type Parameter Key Value
PARAM_VALUE 0 domain 0
PARAM_VALUE 1 busnr 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq