Home
last modified time | relevance | path

Searched refs:cpu_map (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py14 cpu_map = {} variable
161 if not cpu_phy_id in list(cpu_map.keys()):
164 core_info = cpu_map[cpu_phy_id]
169 cpu_map[cpu_phy_id] = core_info
179 if not cpu_phy_id in list(cpu_map.keys()):
180 cpu_map[cpu_phy_id] = [i]
182 cpu_map[cpu_phy_id].append(i)
494 print("cpu_map: ", cpu_map, file=debugfile)
496 print("nr_packages=%d" % len(cpu_map), file=keyvalfile)
498 for pkg in sorted(cpu_map.keys()):
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_batchbuffer.c43 intel->batch.cpu_map = malloc(intel->maxBatchSize); in intel_batchbuffer_init()
44 intel->batch.map = intel->batch.cpu_map; in intel_batchbuffer_init()
66 free(intel->batch.cpu_map); in intel_batchbuffer_free()
Dintel_context.h107 uint32_t *cpu_map; member
/external/blktrace/
Dblkparse.c66 unsigned long *cpu_map; member
506 if (cpu >= pdi->cpu_map_max || !pdi->cpu_map) { in cpu_mark_online()
512 if (pdi->cpu_map) { in cpu_mark_online()
513 memcpy(map, pdi->cpu_map, pdi->cpu_map_max / sizeof(long)); in cpu_mark_online()
514 free(pdi->cpu_map); in cpu_mark_online()
517 pdi->cpu_map = map; in cpu_mark_online()
521 pdi->cpu_map[CPU_IDX(cpu)] |= (1UL << CPU_BIT(cpu)); in cpu_mark_online()
526 pdi->cpu_map[CPU_IDX(cpu)] &= ~(1UL << CPU_BIT(cpu)); in cpu_mark_offline()
531 return (pdi->cpu_map[CPU_IDX(cpu)] & (1UL << CPU_BIT(cpu))) != 0; in cpu_is_online()
2016 unsigned long *cpu_map; in check_cpu_map() local
[all …]
/external/kernel-headers/original/uapi/linux/
Disst_if.h63 struct isst_if_cpu_map cpu_map[1]; member