Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/tools/kconfig/
A Dzconf.l51 int new_size = text_size + size + 1; in append_string() local
52 if (new_size > text_asize) { in append_string()
53 new_size += START_STRSIZE - 1; in append_string()
54 new_size &= -START_STRSIZE; in append_string()
55 text = realloc(text, new_size); in append_string()
56 text_asize = new_size; in append_string()
A Dconfdata.c200 size_t new_size = slen + 1; in add_byte() local
201 if (new_size > *n) { in add_byte()
202 new_size += LINE_GROWTH - 1; in add_byte()
203 new_size *= 2; in add_byte()
204 nline = realloc(*lineptr, new_size); in add_byte()
209 *n = new_size; in add_byte()
A Dzconf.lex.c_shipped838 int new_size = text_size + size + 1;
839 if (new_size > text_asize) {
840 new_size += START_STRSIZE - 1;
841 new_size &= -START_STRSIZE;
842 text = realloc(text, new_size);
843 text_asize = new_size;
1585 int new_size = b->yy_buf_size * 2;
1587 if ( new_size <= 0 )
1642 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1643 …LVALUE->yy_ch_buf = (char *) zconfrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
/xen-4.10.0-shim-comet/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_hello_world.c55 .new_size = NEW_CODE_SZ,
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dlivepatch.c66 if ( !func->new_addr && (func->new_size > sizeof(func->opaque) || in arch_livepatch_verify_func()
67 func->new_size % ARCH_PATCH_INSN_SIZE) ) in arch_livepatch_verify_func()
A Ddomain_build.c1309 int new_size; in prepare_dtb() local
1316 new_size = fdt_totalsize(fdt) + DOM0_FDT_EXTRA_SIZE; in prepare_dtb()
1317 kinfo->fdt = xmalloc_bytes(new_size); in prepare_dtb()
1321 ret = fdt_create(kinfo->fdt, new_size); in prepare_dtb()
1484 int new_size; in create_acpi_dtb() local
1490 new_size = ACPI_DOM0_FDT_MIN_SIZE; in create_acpi_dtb()
1491 kinfo->fdt = xmalloc_bytes(new_size); in create_acpi_dtb()
1497 ret = fdt_create(kinfo->fdt, new_size); in create_acpi_dtb()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dlivepatch.c37 if ( func->new_size > sizeof(func->opaque) ) in arch_livepatch_verify_func()
40 if ( func->old_size < func->new_size ) in arch_livepatch_verify_func()
/xen-4.10.0-shim-comet/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.c1190 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer() local
1192 if ( new_size <= 0 ) in yy_get_next_buffer()
1247 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer() local
1248 …f = (char *) xlu__cfg_yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner ); in yy_get_next_buffer()
A Dlibxlu_disk_l.c1867 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer() local
1868 … = (char *) xlu__disk_yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner ); in yy_get_next_buffer()
A Dlibxl_internal.h660 _hidden void *libxl__realloc(libxl__gc *gc_opt, void *ptr, size_t new_size) NN1;
/xen-4.10.0-shim-comet/xen/include/xen/
A Dlivepatch.h83 return func->new_size; in livepatch_insn_len()
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/
A Dlivepatch.c74 clean_and_invalidate_dcache_va_range(func->new_addr, func->new_size); in arch_livepatch_apply()
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Dlivepatch.c61 clean_and_invalidate_dcache_va_range(func->new_addr, func->new_size); in arch_livepatch_apply()
/xen-4.10.0-shim-comet/docs/misc/
A Dlivepatch.markdown303 uint32_t new_size;
327 `new_size` bytes.
332 * `new_size` depends on what `new_addr` contains:
333 * If `new_addr` contains an non-zero value, then `new_size` has the size of
335 * If the value of `new_addr` is zero then `new_size` determines how many
371 uint32_t new_size;
390 .new_size = 13, /* To be be computed by scripts. */
969 * NOP out the code sequence if `new_size` is zero.
/xen-4.10.0-shim-comet/xen/include/public/
A Dsysctl.h893 uint32_t new_size; member
/xen-4.10.0-shim-comet/tools/xentrace/
A Dxenalyze.c2219 int new_size; in update_cycles() local
2222 new_size = s->sample_size << 1; in update_cycles()
2224 if (new_size == 0) in update_cycles()
2225 new_size = opt.sample_size; in update_cycles()
2227 if (opt.sample_max != 0 && new_size > opt.sample_max) in update_cycles()
2228 new_size = opt.sample_max; in update_cycles()
2230 new_sample = realloc(s->sample, sizeof(*s->sample) * new_size); in update_cycles()
2234 s->sample_size = new_size; in update_cycles()
/xen-4.10.0-shim-comet/xen/common/
A Dlivepatch.c1640 f->name, f->old_addr, f->old_size, f->new_addr, f->new_size); in livepatch_printall()

Completed in 68 milliseconds