/xen/xen/tools/kconfig/ |
A D | lexer.l | 58 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 D | confdata.c | 299 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 D | xen_nop.c | 24 .new_size = MINOR_VERSION_SZ-1, 33 .new_size = MINOR_VERSION_SZ-4,
|
A D | xen_replace_world.c | 21 .new_size = NEW_CODE_SZ,
|
A D | xen_bye_world.c | 22 .new_size = NEW_CODE_SZ,
|
A D | xen_expectations.c | 23 .new_size = EXPECT_BYTES_COUNT,
|
A D | xen_expectations_fail.c | 24 .new_size = EXPECT_BYTES_COUNT,
|
A D | xen_hello_world.c | 55 .new_size = NEW_CODE_SZ,
|
A D | xen_prepost_hooks_fail.c | 63 .new_size = NEW_CODE_SZ,
|
A D | xen_action_hooks.c | 90 .new_size = NEW_CODE_SZ,
|
A D | xen_action_hooks_marker.c | 100 .new_size = NEW_CODE_SZ,
|
A D | xen_prepost_hooks.c | 110 .new_size = NEW_CODE_SZ,
|
A D | xen_action_hooks_noapply.c | 124 .new_size = NEW_CODE_SZ,
|
A D | xen_action_hooks_norevert.c | 131 .new_size = NEW_CODE_SZ,
|
/xen/xen/arch/arm/ |
A D | livepatch.c | 71 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 D | domain_build.c | 2176 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 D | domain_build.c | 127 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 D | livepatch.c | 110 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 D | libxl_internal.c | 119 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 D | libxlu_cfg_l.c | 1415 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 D | libxlu_disk_l.c | 2070 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 D | livepatch.h | 93 return func->new_size; in livepatch_insn_len()
|
/xen/xen/arch/arm/arm32/ |
A D | livepatch.c | 74 clean_and_invalidate_dcache_va_range(func->new_addr, func->new_size); in arch_livepatch_apply()
|
/xen/xen/arch/arm/arm64/ |
A D | livepatch.c | 61 clean_and_invalidate_dcache_va_range(func->new_addr, func->new_size); in arch_livepatch_apply()
|
/xen/docs/misc/ |
A D | livepatch.pandoc | 296 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.
|