Home
last modified time | relevance | path

Searched refs:free_memkb (Results 1 – 4 of 4) sorted by relevance

/xen/tools/libxl/
A Dlibxl_numa.c159 uint32_t free_memkb = 0; in nodemap_to_free_memkb() local
163 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()
A Dlibxl_dom.c138 return c2->free_memkb - c1->free_memkb; in numa_cmpf()
236 candidate.nr_cpus, candidate.free_memkb / 1024); in numa_place_domain()
A Dlibxl_internal.h4451 uint64_t free_memkb; member
4501 cndt->free_memkb = 0; in libxl__numa_candidate_init()
/xen/tools/xl/
A Dxl_vmcontrol.c325 uint64_t need_memkb, free_memkb; in freemem() local
335 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 19 milliseconds