Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 25 of 29) sorted by relevance

12

/xen/xen/tools/kconfig/
A Dlexer.l58 int new_size = text_size + size + 1; in append_string() local
59 if (new_size > text_asize) { in append_string()
60 new_size += START_STRSIZE - 1; in append_string()
61 new_size &= -START_STRSIZE; in append_string()
62 text = xrealloc(text, new_size); in append_string()
63 text_asize = new_size; in append_string()
A Dconfdata.c299 size_t new_size = slen + 1; in add_byte() local
300 if (new_size > *n) { in add_byte()
301 new_size += LINE_GROWTH - 1; in add_byte()
302 new_size *= 2; in add_byte()
303 nline = xrealloc(*lineptr, new_size); in add_byte()
308 *n = new_size; in add_byte()
/xen/xen/test/livepatch/
A Dxen_nop.c24 .new_size = MINOR_VERSION_SZ-1,
33 .new_size = MINOR_VERSION_SZ-4,
A Dxen_replace_world.c21 .new_size = NEW_CODE_SZ,
A Dxen_bye_world.c22 .new_size = NEW_CODE_SZ,
A Dxen_expectations.c23 .new_size = EXPECT_BYTES_COUNT,
A Dxen_expectations_fail.c24 .new_size = EXPECT_BYTES_COUNT,
A Dxen_hello_world.c55 .new_size = NEW_CODE_SZ,
A Dxen_prepost_hooks_fail.c63 .new_size = NEW_CODE_SZ,
A Dxen_action_hooks.c90 .new_size = NEW_CODE_SZ,
A Dxen_action_hooks_marker.c100 .new_size = NEW_CODE_SZ,
A Dxen_prepost_hooks.c110 .new_size = NEW_CODE_SZ,
A Dxen_action_hooks_noapply.c124 .new_size = NEW_CODE_SZ,
A Dxen_action_hooks_norevert.c131 .new_size = NEW_CODE_SZ,
/xen/xen/arch/arm/
A Dlivepatch.c71 if ( !func->new_addr && (func->new_size > sizeof(func->opaque) || in arch_livepatch_verify_func()
72 func->new_size % ARCH_PATCH_INSN_SIZE) ) in arch_livepatch_verify_func()
A Ddomain_build.c2176 int new_size; in prepare_dtb_hwdom() local
2184 new_size = fdt_totalsize(fdt) + DOM0_FDT_EXTRA_SIZE; in prepare_dtb_hwdom()
2185 kinfo->fdt = xmalloc_bytes(new_size); in prepare_dtb_hwdom()
2189 ret = fdt_create(kinfo->fdt, new_size); in prepare_dtb_hwdom()
/xen/xen/arch/arm/acpi/
A Ddomain_build.c127 int new_size; in create_acpi_dtb() local
133 new_size = ACPI_DOM0_FDT_MIN_SIZE; in create_acpi_dtb()
134 kinfo->fdt = xmalloc_bytes(new_size); in create_acpi_dtb()
140 ret = fdt_create(kinfo->fdt, new_size); in create_acpi_dtb()
/xen/xen/arch/x86/
A Dlivepatch.c110 if ( func->new_size > sizeof(func->opaque) ) in arch_livepatch_verify_func()
113 if ( func->old_size < func->new_size ) in arch_livepatch_verify_func()
/xen/tools/libxl/
A Dlibxl_internal.c119 void *libxl__realloc(libxl__gc *gc, void *ptr, size_t new_size) in libxl__realloc() argument
121 void *new_ptr = realloc(ptr, new_size); in libxl__realloc()
124 if (new_ptr == NULL && new_size != 0) in libxl__realloc()
125 libxl__alloc_failed(CTX, __func__, new_size, 1); in libxl__realloc()
A Dlibxlu_cfg_l.c1415 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer() local
1417 if ( new_size <= 0 ) in yy_get_next_buffer()
1473 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer() local
1475 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner ); in yy_get_next_buffer()
1479 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); in yy_get_next_buffer()
A Dlibxlu_disk_l.c2070 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer() local
2072 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner ); in yy_get_next_buffer()
2076 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); in yy_get_next_buffer()
/xen/xen/include/xen/
A Dlivepatch.h93 return func->new_size; in livepatch_insn_len()
/xen/xen/arch/arm/arm32/
A Dlivepatch.c74 clean_and_invalidate_dcache_va_range(func->new_addr, func->new_size); in arch_livepatch_apply()
/xen/xen/arch/arm/arm64/
A Dlivepatch.c61 clean_and_invalidate_dcache_va_range(func->new_addr, func->new_size); in arch_livepatch_apply()
/xen/docs/misc/
A Dlivepatch.pandoc296 uint32_t new_size;
323 `new_size` bytes.
326 * `new_size` depends on what `new_addr` contains:
327 * If `new_addr` contains an non-zero value, then `new_size` has the size of
329 * If the value of `new_addr` is zero then `new_size` determines how many
410 uint32_t new_size;
433 .new_size = 13, /* To be be computed by scripts. */
1114 * NOP out the code sequence if `new_size` is zero.

Completed in 38 milliseconds

12