Defined in 2 files as a function:
- arch/s390/include/asm/pci.h, line 341 (as a function)
- arch/x86/include/asm/pci.h, line 110 (as a function)
Referenced in 3 files:
- arch/s390/include/asm/topology.h, line 96
- arch/x86/include/asm/pci.h, line 120
- arch/x86/include/asm/topology.h, line 78
Smatch caller information:
drivers/pci/controller/vmd.c vmd_enable_domain() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/edac/skx_common.c cpumask_of_pcibus() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
drivers/edac/skx_common.c skx_get_pkg_id() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|
drivers/infiniband/hw/erdma/erdma_main.c cpumask_of_pcibus() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/probe.c pci_device_add() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1)-0,1904 |
| BUF_SIZE | 0 | bus | (-1)-0,1904 |
| DATA_SOURCE | 0 | bus | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/probe.c pci_register_host_bridge() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BUF_SIZE | 0 | bus | 1904 |
| DATA_SOURCE | 0 | bus | r pci_alloc_bus |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->busn_res.start | 0[c] |
drivers/pci/probe.c pci_register_host_bridge() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BUF_SIZE | 0 | bus | 1904 |
| CAPPED_DATA | 0 | &bus->dev | 1 |
| DATA_SOURCE | 0 | bus | r pci_alloc_bus |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | bus->busn_res.start | 0[c] |
drivers/net/ethernet/sfc/siena/efx_channels.c cpumask_of_pcibus() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/quirks.c quirk_amd_nb_node() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
drivers/infiniband/hw/hfi1/affinity.c node_affinity_init() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|
drivers/infiniband/hw/hfi1/init.c hfi1_alloc_devdata() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/pci/pci-sysfs.c cpumask_of_pcibus() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| 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/net/ethernet/sfc/efx_channels.c cpumask_of_pcibus() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/block/mtip32xx/mtip32xx.c mtip_pci_probe() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/block/mtip32xx/mtip32xx.c mtip_pci_probe() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/events/intel/uncore.c cpumask_of_pcibus() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | global &pci2phy_map_lock |
arch/x86/events/intel/uncore.c uncore_device_to_die() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| HALF_LOCKED2 | global &pci2phy_map_lock |
arch/x86/events/intel/uncore_discovery.c get_device_die_id() -> __pcibus_to_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |