Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 16 files:
- arch/alpha/kernel/console.c, line 49
- arch/loongarch/pci/pci.c, line 95
- arch/x86/kernel/amd_node.c, line 223
- arch/x86/kernel/cpu/mtrr/mtrr.c, line 66
- drivers/char/agp/amd-k7-agp.c, line 420
- drivers/char/agp/generic.c, line 728
- drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
- drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c, line 1723
- drivers/gpu/drm/i915/display/intel_acpi.c, line 165
- drivers/gpu/drm/i915/display/intel_cx0_phy.c, line 2347
- drivers/gpu/drm/i915/display/intel_pch.c, line 397
- drivers/gpu/drm/radeon/radeon_atpx_handler.c
- drivers/pci/search.c, line 414
- drivers/platform/x86/intel/chtwc_int33fe.c, line 171
- drivers/vfio/pci/vfio_pci_core.c, line 179
- drivers/video/fbdev/sis/sis_main.c, line 4557
Smatch caller information:
drivers/vfio/pci/vfio_pci_core.c vfio_pci_set_decode() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| CAPPED_DATA | 1 | from | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &vga_lock |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_set_decode() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | r pci_get_class |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &vga_lock |
arch/x86/kernel/cpu/mtrr/mtrr.c have_wrcomb() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393216 |
| PARAM_VALUE | 1 | from | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_0_ppt.c smu_v14_0_0_set_power_dep() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 787248 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->pcie_cap | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_0_ppt.c smu_v14_0_0_set_power_dep() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 787248 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->pcie_cap | 0-1 |
| DATA_SOURCE | 1 | from | r pci_get_class |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/agp/generic.c agp_collect_device_status() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->mutex |
drivers/gpu/drm/i915/display/intel_pch.c intel_pch_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393472 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_pch.c intel_pch_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393472 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | r pci_get_class |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kernel/amd_node.c get_next_root() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393216 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | $0 [m] |
| LOCK2 | _T->lock |
arch/x86/kernel/amd_node.c get_next_root() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393216 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | r pci_get_class |
| LOCK2 | _T->lock |
drivers/gpu/drm/i915/display/intel_acpi.c intel_dsm_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/i915/display/intel_acpi.c intel_dsm_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | r pci_get_class |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amdgpu_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amdgpu_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
| DATA_SOURCE | 1 | from | r pci_get_class |
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amdgpu_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 229376 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amdgpu_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 229376 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
| DATA_SOURCE | 1 | from | r pci_get_class |
drivers/gpu/drm/i915/display/intel_cx0_phy.c is_arrowlake_s_by_host_bridge() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393216 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/display/intel_cx0_phy.c is_arrowlake_s_by_host_bridge() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 393216 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | r pci_get_class |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/video/fbdev/sis/sis_main.c sisfb_find_host_bridge() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 1536 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
drivers/video/fbdev/sis/sis_main.c sisfb_find_host_bridge() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 1536 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| DATA_SOURCE | 1 | from | r pci_get_class |
drivers/platform/x86/intel/chtwc_int33fe.c cht_int33fe_setup_dp() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/radeon/radeon_atpx_handler.c radeon_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
drivers/gpu/drm/radeon/radeon_atpx_handler.c radeon_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 196608 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
| DATA_SOURCE | 1 | from | r pci_get_class |
drivers/gpu/drm/radeon/radeon_atpx_handler.c radeon_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 229376 |
| PARAM_VALUE | 1 | from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
drivers/gpu/drm/radeon/radeon_atpx_handler.c radeon_atpx_detect() -> pci_get_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 229376 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->is_virtfn | 0 |
| DATA_SOURCE | 1 | from | r pci_get_class |