Home
last modified time | relevance | path

Searched refs:config_len (Results 1 – 9 of 9) sorted by relevance

/xen/tools/xl/
A Dxl_saverestore.c82 const uint8_t *config_data, int config_len) in save_domain_core_writeconfig() argument
104 u32buf.u32 = config_len; in save_domain_core_writeconfig()
106 ADD_OPTDATA(config_data, config_len); in save_domain_core_writeconfig()
107 if (config_len) in save_domain_core_writeconfig()
132 int config_len; in save_domain() local
135 &config_data, &config_len); in save_domain()
137 if (!config_len) { in save_domain()
147 save_domain_core_writeconfig(fd, filename, config_data, config_len); in save_domain()
A Dxl_misc.c268 int config_len = 0; in main_config_update() local
318 &config_data, &config_len); in main_config_update()
323 if (config_len > INT_MAX - (strlen(extra_config) + 2 + 1)) { in main_config_update()
328 config_data = realloc(config_data, config_len in main_config_update()
334 config_len += sprintf(config_data + config_len, "\n%s\n", in main_config_update()
344 parse_config_data(filename, config_data, config_len, &d_config); in main_config_update()
352 config_data, config_len); in main_config_update()
A Dxl_migrate.c155 uint8_t *config_data, int config_len, in migrate_do_preamble() argument
175 config_data, config_len); in migrate_do_preamble()
189 int config_len, flags = LIBXL_SUSPEND_LIVE; in migrate_domain() local
192 &config_data, &config_len); in migrate_domain()
194 if (!config_len) { in migrate_domain()
202 migrate_do_preamble(send_fd, recv_fd, child, config_data, config_len, in migrate_domain()
618 int config_len; in main_remus() local
724 save_domain_core_begin(domid, 0, NULL, &config_data, &config_len); in main_remus()
726 if (!config_len) { in main_remus()
734 migrate_do_preamble(send_fd, recv_fd, child, config_data, config_len, in main_remus()
A Dxl_cpupool.c40 int config_len = 0; in main_cpupoolcreate() local
83 &config_len)) { in main_cpupoolcreate()
94 if (config_len > INT_MAX - (strlen(extra_config) + 2)) { in main_cpupoolcreate()
99 config_len + strlen(extra_config) + 2); in main_cpupoolcreate()
104 config_data[config_len] = 0; in main_cpupoolcreate()
107 config_len += strlen(extra_config) + 1; in main_cpupoolcreate()
116 ret = xlu_cfg_readdata(config, config_data, config_len); in main_cpupoolcreate()
A Dxl_vmcontrol.c673 int config_len = 0; in create_domain() local
759 config_len = u32buf.u32; in create_domain()
761 WITH_OPTDATA(config_len, { in create_domain()
762 config_data = xmalloc(config_len); in create_domain()
763 memcpy(config_data, optdata_here, config_len); in create_domain()
773 config_len = 0; in create_domain()
776 &config_data, &config_len); in create_domain()
781 if (config_len > INT_MAX - (strlen(extra_config) + 2 + 1)) { in create_domain()
786 config_data = xrealloc(config_data, config_len in create_domain()
788 config_len += sprintf(config_data + config_len, "\n%s\n", in create_domain()
[all …]
A Dxl.c367 int config_len = 0; in main() local
406 &config_data, &config_len); in main()
410 parse_global_config(XL_GLOBAL_CONFIG, config_data, config_len); in main()
A Dxl_parse.h22 int config_len,
A Dxl.h107 const uint8_t *config_data, int config_len);
A Dxl_parse.c1207 int config_len, in parse_config_data() argument
1244 e= xlu_cfg_readdata(config, config_data, config_len); in parse_config_data()

Completed in 17 milliseconds