Searched refs:pcpus (Results 1 – 2 of 2) sorted by relevance
356 static int pyrf_cpu_map__init(struct pyrf_cpu_map *pcpus, in pyrf_cpu_map__init() argument366 pcpus->cpus = cpu_map__new(cpustr); in pyrf_cpu_map__init()367 if (pcpus->cpus == NULL) in pyrf_cpu_map__init()372 static void pyrf_cpu_map__delete(struct pyrf_cpu_map *pcpus) in pyrf_cpu_map__delete() argument374 cpu_map__delete(pcpus->cpus); in pyrf_cpu_map__delete()375 pcpus->ob_type->tp_free((PyObject*)pcpus); in pyrf_cpu_map__delete()380 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__length() local382 return pcpus->cpus->nr; in pyrf_cpu_map__length()387 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__item() local389 if (i >= pcpus->cpus->nr) in pyrf_cpu_map__item()[all …]
32 __u32 pcpus; member