Lines Matching refs:ncpus
115 int ncpus; in libxl_get_freecpus() local
117 ncpus = libxl_get_max_cpus(ctx); in libxl_get_freecpus()
118 if (ncpus < 0) in libxl_get_freecpus()
119 return ncpus; in libxl_get_freecpus()
125 cpumap->size = (ncpus + 7) / 8; in libxl_get_freecpus()
313 int c, ncpus = 0, rc = 0; in libxl_cpupool_cpuadd_cpumap() local
317 ncpus++; in libxl_cpupool_cpuadd_cpumap()
320 if (ncpus != libxl_bitmap_count_set(cpumap)) in libxl_cpupool_cpuadd_cpumap()
376 int c, ncpus = 0, rc = 0; in libxl_cpupool_cpuremove_cpumap() local
380 ncpus++; in libxl_cpupool_cpuremove_cpumap()
383 if (ncpus != libxl_bitmap_count_set(cpumap)) in libxl_cpupool_cpuremove_cpumap()