Lines Matching refs:target
100 char *target = NULL, *staticmax = NULL, *endptr = NULL; in libxl__fill_dom0_memory_info() local
111 target = libxl__xs_read(gc, t, target_path); in libxl__fill_dom0_memory_info()
113 if (target && staticmax) { in libxl__fill_dom0_memory_info()
118 if (target) { in libxl__fill_dom0_memory_info()
119 *target_memkb = strtoull(target, &endptr, 10); in libxl__fill_dom0_memory_info()
121 LOGED(ERROR, 0, "Invalid memory target %s from %s\n", target, in libxl__fill_dom0_memory_info()
149 if (target == NULL) { in libxl__fill_dom0_memory_info()
181 char *memmax, *endptr, *videoram_s = NULL, *target = NULL; in libxl_set_memory_target() local
215 target = libxl__xs_read(gc, t, GCSPRINTF("%s/memory/target", dompath)); in libxl_set_memory_target()
216 if (!target && !domid) { in libxl_set_memory_target()
225 } else if (!target) { in libxl_set_memory_target()
232 current_target_memkb = strtoull(target, &endptr, 10); in libxl_set_memory_target()
235 target, dompath); in libxl_set_memory_target()
351 char *target = NULL, *static_max = NULL, *endptr = NULL; in libxl__get_memory_target() local
355 target = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/memory/target", in libxl__get_memory_target()
361 if ((!target || !static_max) && !domid) { in libxl__get_memory_target()
366 } else if (!target) { in libxl__get_memory_target()
376 target_memkb = strtoull(target, &endptr, 10); in libxl__get_memory_target()
379 target, dompath); in libxl__get_memory_target()