Searched refs:free_memkb (Results 1 – 4 of 4) sorted by relevance
159 uint32_t free_memkb = 0; in nodemap_to_free_memkb() local163 free_memkb += ninfo[i].free / 1024; in nodemap_to_free_memkb()165 return free_memkb; in nodemap_to_free_memkb()485 new_cndt.free_memkb = nodes_free_memkb; in libxl__get_numa_candidate()502 new_cndt.free_memkb / 1024); in libxl__get_numa_candidate()506 cndt_out->free_memkb = new_cndt.free_memkb; in libxl__get_numa_candidate()
138 return c2->free_memkb - c1->free_memkb; in numa_cmpf()236 candidate.nr_cpus, candidate.free_memkb / 1024); in numa_place_domain()
4451 uint64_t free_memkb; member4501 cndt->free_memkb = 0; in libxl__numa_candidate_init()
325 uint64_t need_memkb, free_memkb; in freemem() local335 rc = libxl_get_free_memory(ctx, &free_memkb); in freemem()339 if (free_memkb >= need_memkb) in freemem()342 rc = libxl_set_memory_target(ctx, 0, free_memkb - need_memkb, 1, 0); in freemem()
Completed in 20 milliseconds