Searched refs:new_ptr (Results 1 – 5 of 5) sorted by relevance
/xen/xen/arch/arm/ |
A D | livepatch.c | 83 uint32_t *new_ptr; in arch_livepatch_revert() local 86 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_revert() 89 memcpy(new_ptr, func->opaque, len); in arch_livepatch_revert() 91 clean_and_invalidate_dcache_va_range(new_ptr, len); in arch_livepatch_revert()
|
/xen/xen/arch/arm/arm32/ |
A D | livepatch.c | 17 uint32_t *new_ptr; in arch_livepatch_apply() local 59 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_apply() 64 *(new_ptr + i) = insn; in arch_livepatch_apply() 75 clean_and_invalidate_dcache_va_range(new_ptr, sizeof (*new_ptr) * len); in arch_livepatch_apply()
|
/xen/xen/arch/arm/arm64/ |
A D | livepatch.c | 21 uint32_t *new_ptr; in arch_livepatch_apply() local 46 new_ptr = func->old_addr - (void *)_start + vmap_of_xen_text; in arch_livepatch_apply() 51 *(new_ptr + i) = insn; in arch_livepatch_apply() 62 clean_and_invalidate_dcache_va_range(new_ptr, sizeof (*new_ptr) * len); in arch_livepatch_apply()
|
/xen/tools/xenstore/ |
A D | talloc.c | 609 void *new_ptr; in _talloc_realloc() local 637 new_ptr = malloc(size + TC_HDR_SIZE); in _talloc_realloc() 638 if (new_ptr) { in _talloc_realloc() 639 memcpy(new_ptr, tc, tc->size + TC_HDR_SIZE); in _talloc_realloc() 643 new_ptr = realloc(tc, size + TC_HDR_SIZE); in _talloc_realloc() 645 if (!new_ptr) { in _talloc_realloc() 650 tc = new_ptr; in _talloc_realloc() 653 tc->parent->child = new_ptr; in _talloc_realloc() 656 tc->child->parent = new_ptr; in _talloc_realloc()
|
/xen/tools/libxl/ |
A D | libxl_internal.c | 121 void *new_ptr = realloc(ptr, new_size); in libxl__realloc() local 124 if (new_ptr == NULL && new_size != 0) in libxl__realloc() 128 libxl__ptr_add(gc, new_ptr); in libxl__realloc() 129 } else if (new_ptr != ptr && libxl__gc_is_real(gc)) { in libxl__realloc() 133 gc->alloc_ptrs[i] = new_ptr; in libxl__realloc() 139 return new_ptr; in libxl__realloc()
|
Completed in 8 milliseconds