Defined in 8 files as a macro:
- arch/arm64/include/asm/topology.h, line 12 (as a macro)
- arch/loongarch/include/asm/topology.h, line 20 (as a macro)
- arch/mips/include/asm/mach-ip27/topology.h, line 23 (as a macro)
- arch/mips/include/asm/mach-loongson64/topology.h, line 15 (as a macro)
- arch/powerpc/include/asm/topology.h, line 35 (as a macro)
- arch/riscv/include/asm/pci.h, line 24 (as a macro)
- arch/sparc/include/asm/topology_64.h, line 28 (as a macro)
- include/asm-generic/topology.h, line 55 (as a macro)
Defined in 2 files as a function:
- arch/s390/include/asm/pci.h, line 347 (as a function)
- arch/x86/include/asm/pci.h, line 116 (as a function)
Referenced in 8 files:
- arch/riscv/include/asm/pci.h, line 23
- arch/x86/events/intel/uncore.c, line 76
- drivers/edac/skx_common.c, line 561
- drivers/infiniband/hw/erdma/erdma_main.c, line 148
- drivers/net/ethernet/sfc/efx_channels.c
- drivers/net/ethernet/sfc/siena/efx_channels.c
- drivers/pci/pci-sysfs.c
- include/asm-generic/topology.h, line 54
Smatch caller information:
drivers/edac/skx_common.c skx_get_pkg_id() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
drivers/edac/skx_common.c skx_get_pkg_id() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
drivers/infiniband/hw/erdma/erdma_main.c erdma_comm_irq_init() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/sfc/siena/efx_channels.c count_online_cores() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/efx_channels.c efx_siena_set_interrupt_affinity() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/pci/pci-sysfs.c cpuaffinity_show() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| 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/pci/pci-sysfs.c cpulistaffinity_show() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| 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 count_online_cores() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/efx_channels.c efx_set_interrupt_affinity() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/events/intel/uncore.c uncore_device_to_die() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | global &pci2phy_map_lock |
arch/x86/events/intel/uncore.c uncore_device_to_die() -> cpumask_of_pcibus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | global &pci2phy_map_lock |