Searched refs:pcpus (Results 1 – 2 of 2) sorted by relevance
528 static int pyrf_cpu_map__init(struct pyrf_cpu_map *pcpus, in pyrf_cpu_map__init() argument538 pcpus->cpus = perf_cpu_map__new(cpustr); in pyrf_cpu_map__init()539 if (pcpus->cpus == NULL) in pyrf_cpu_map__init()544 static void pyrf_cpu_map__delete(struct pyrf_cpu_map *pcpus) in pyrf_cpu_map__delete() argument546 perf_cpu_map__put(pcpus->cpus); in pyrf_cpu_map__delete()547 Py_TYPE(pcpus)->tp_free((PyObject*)pcpus); in pyrf_cpu_map__delete()552 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__length() local554 return perf_cpu_map__nr(pcpus->cpus); in pyrf_cpu_map__length()559 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__item() local561 if (i >= perf_cpu_map__nr(pcpus->cpus)) in pyrf_cpu_map__item()[all …]
23 __u32 pcpus; member