Lines Matching defs:level

14  * the caches available at that level. Each cache structure optionally
15 * contains properties describing the cache at a given level which can be
83 * @local_level: passed res reflects this cache level
86 * @found: returns a pointer to the requested level if found
87 * @level: the requested cache level
90 * Attempt to find a given cache level, while counting the max number
94 * down each level of caches, counting how many levels are found
96 * level & type match, then we set found, and continue the search.
100 * Return: The cache structure and the level we terminated with.
107 unsigned int level, int type)
128 if (local_level == level &&
131 pr_warn("Found duplicate cache level/type unable to determine uniqueness\n");
133 pr_debug("Found cache @ level %u\n", level);
150 unsigned int level, int type)
164 level, type);
189 * how many levels exist solely for it, and then walk up each level until we hit
190 * the root node (ignore the package level because it may be possible to have
192 * split cache levels (data/instruction) that exist at each level on the way
321 unsigned int level,
329 pr_debug("Looking for CPU %d's level %u cache type %d\n",
330 acpi_cpu_id, level, acpi_type);
336 &total_levels, NULL, level, acpi_type);
434 this_leaf->level,
465 /* Passing level values greater than this will result in search termination */
470 int level, int flag)
474 while (cpu && level) {
481 pr_debug("level %d\n", level);
486 level--;
500 * @level: A level that terminates the search
503 * Get a unique value given a CPU, and a topology level, that can be
505 * at that level.
510 unsigned int cpu, int level, int flag)
518 level, flag);
525 if (level == 0 ||
557 static int find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag)
566 retval = topology_get_acpi_cpu_tag(table, cpu, level, flag);
567 pr_debug("Topology Setup ACPI CPU %d, level %d ret = %d\n",
568 cpu, level, retval);
696 * @level: The topological level for which we would like a unique ID
702 * The search terminates when either the requested level is found or
704 * same unique ID. The unique id for level 0 is the acpi processor id. All
711 int find_acpi_cpu_topology(unsigned int cpu, int level)
713 return find_acpi_cpu_topology_tag(cpu, level, 0);
723 * The search terminates when either a level is found with the PHYSICAL_PACKAGE
742 * The cluster, if present is the level of topology above CPUs. In a
743 * multi-thread CPU, it will be the level above the CPU, not the thread.
745 * it may be equal to the package topology level.
748 * or there is no toplogy level above the CPU..
799 * The search terminates when a level is found with the identical implementation