Searched refs:pcpus (Results 1 – 1 of 1) sorted by relevance
376 static int pyrf_cpu_map__init(struct pyrf_cpu_map *pcpus, in pyrf_cpu_map__init() argument386 pcpus->cpus = cpu_map__new(cpustr); in pyrf_cpu_map__init()387 if (pcpus->cpus == NULL) in pyrf_cpu_map__init()392 static void pyrf_cpu_map__delete(struct pyrf_cpu_map *pcpus) in pyrf_cpu_map__delete() argument394 cpu_map__delete(pcpus->cpus); in pyrf_cpu_map__delete()395 pcpus->ob_type->tp_free((PyObject*)pcpus); in pyrf_cpu_map__delete()400 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__length() local402 return pcpus->cpus->nr; in pyrf_cpu_map__length()407 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__item() local409 if (i >= pcpus->cpus->nr) in pyrf_cpu_map__item()[all …]