Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

arch/x86/kernel/cpu/amd_cache_disable.c amd_init_l3_cache() -> node_to_amd_nb()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

arch/x86/kernel/amd_nb.c amd_cache_gart() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
UNITS 0 node unit_array_size

arch/x86/kernel/amd_nb.c amd_cache_northbridges() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
CONSTRAINT 0 node <3930
NO_OVERFLOW_SIMPLE 0 node
UNITS 0 node unit_array_size

arch/x86/kernel/amd_nb.c amd_cache_northbridges() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
CONSTRAINT 0 node <3930
NO_OVERFLOW_SIMPLE 0 node
UNITS 0 node unit_array_size

arch/x86/kernel/amd_nb.c amd_cache_northbridges() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
CONSTRAINT 0 node <3930
NO_OVERFLOW_SIMPLE 0 node
UNITS 0 node unit_array_size

arch/x86/kernel/amd_nb.c amd_flush_garts() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
CONSTRAINT 0 node <3930
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 node unit_array_size
LOCK2 &gart_lock
LOCK2 flags
HALF_LOCKED2 flags
HALF_LOCKED2 global &iommu_bitmap_lock

arch/x86/kernel/amd_nb.c amd_flush_garts() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
CONSTRAINT 0 node <3930
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 node unit_array_size
LOCK2 &gart_lock
LOCK2 flags
HALF_LOCKED2 flags
HALF_LOCKED2 global &iommu_bitmap_lock

arch/x86/kernel/amd_nb.c amd_get_subcaches() -> node_to_amd_nb()

Type Parameter Key Value
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/kernel/amd_nb.c amd_set_subcaches() -> node_to_amd_nb()

Type Parameter Key Value
CAPABLE 0 21
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/kernel/amd_nb.c fix_erratum_688() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0

drivers/ras/amd/atl/access.c __df_indirect_read() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
DATA_SOURCE 0 node r get_accessible_node
HOST_DATA 0 node 0-65534[c]

arch/x86/kernel/amd_gart_64.c enable_gart_translations() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/amd_gart_64.c gart_fixup_northbridges() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

arch/x86/kernel/amd_gart_64.c gart_iommu_shutdown() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 irq
HALF_LOCKED2 global &system_transition_mutex

arch/x86/kernel/amd_gart_64.c init_amd_gatt() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1

drivers/char/agp/amd64-agp.c amd64_cleanup() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING

drivers/char/agp/amd64-agp.c amd64_fetch_size() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0
RX_PATH
TASK_NOT_RUNNING

drivers/char/agp/amd64-agp.c amd_8151_configure() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING

drivers/char/agp/amd64-agp.c cache_nbs() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/char/agp/amd64-agp.c nforce3_agp_init() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0
RX_PATH
TASK_NOT_RUNNING

drivers/char/agp/amd64-agp.c uli_agp_init() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

arch/x86/kernel/cpu/mce/inject.c toggle_nb_mca_mst_cpu() -> node_to_amd_nb()

Type Parameter Key Value
DATA_SOURCE 0 node $0
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/edac/amd64_edac.c probe_one_instance() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
DATA_SOURCE 0 node $0

drivers/edac/amd64_edac.c read_dram_base_limit_regs() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-7

drivers/edac/amd64_edac.c remove_one_instance() -> node_to_amd_nb()

Type Parameter Key Value
PARAM_VALUE 0 node 0-65534
CAPPED_DATA 0 node 1
DATA_SOURCE 0 node $0