Home
last modified time | relevance | path

Searched refs:prev_id (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/sparc/kernel/
Dcpumap.c126 int prev_id[CPUINFO_LVL_MAX]; in enumerate_cpuinfo_nodes() local
132 prev_id[i] = -1; in enumerate_cpuinfo_nodes()
143 if (n > prev_id[CPUINFO_LVL_NODE]) { in enumerate_cpuinfo_nodes()
145 prev_id[CPUINFO_LVL_NODE] = n; in enumerate_cpuinfo_nodes()
149 if (n > prev_id[CPUINFO_LVL_CORE]) { in enumerate_cpuinfo_nodes()
151 prev_id[CPUINFO_LVL_CORE] = n; in enumerate_cpuinfo_nodes()
155 if (n > prev_id[CPUINFO_LVL_PROC]) { in enumerate_cpuinfo_nodes()
157 prev_id[CPUINFO_LVL_PROC] = n; in enumerate_cpuinfo_nodes()
192 int prev_id[CPUINFO_LVL_MAX]; in build_cpuinfo_tree() local
230 prev_id[level] = node->id; in build_cpuinfo_tree()
[all …]
/linux-2.6.39/drivers/acpi/apei/
Derst.c485 u64 id, prev_id, first_id; in __erst_record_id_cache_add_one() local
490 id = prev_id = first_id = APEI_ERST_INVALID_RECORD_ID; in __erst_record_id_cache_add_one()
502 if (id == prev_id || id == first_id) in __erst_record_id_cache_add_one()
506 prev_id = id; in __erst_record_id_cache_add_one()