Defined in 2 files as a function:
- arch/x86/include/asm/topology.h, line 223 (as a function)
- arch/x86/include/asm/topology.h, line 231 (as a function)
Referenced in 5 files:
- arch/x86/include/asm/amd/node.h, line 29
- arch/x86/kernel/cpu/debugfs.c, line 32
- arch/x86/kernel/cpu/mce/inject.c, line 436
- arch/x86/kernel/smpboot.c, line 373
- drivers/ras/amd/atl/umc.c, line 390
Smatch caller information:
arch/x86/kernel/cpu/debugfs.c cpu_debug_show() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/ras/amd/atl/umc.c get_die_id() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|
arch/x86/kernel/amd_node.c amd_num_nodes() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
arch/x86/kernel/amd_nb.c amd_num_nodes() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|
drivers/platform/x86/amd/hsmp/plat.c amd_num_nodes() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|
arch/x86/kernel/smpboot.c match_die() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|
arch/x86/kernel/cpu/mce/inject.c get_nbc_for_node() -> topology_amd_nodes_per_pkg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |