| /freebsd-14.2/sys/net/route/ |
| H A D | nhop_utils.c | 138 void *old_ptr; in bitmask_swap() local 140 old_ptr = bh->idx; in bitmask_swap() 146 *pidx = old_ptr; in bitmask_swap()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/include/scudo/ |
| H A D | interface.h | 33 __scudo_realloc_allocate_hook(void *old_ptr, void *new_ptr, size_t size); 34 __attribute__((weak)) void __scudo_realloc_deallocate_hook(void *old_ptr);
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_c.inc | 30 static void reportReallocAllocation(void *old_ptr, void *new_ptr, size_t size) { 35 __scudo_realloc_allocate_hook(old_ptr, new_ptr, size); 40 static void reportReallocDeallocation(void *old_ptr) { 43 __scudo_realloc_deallocate_hook(old_ptr); 45 __scudo_deallocate_hook(old_ptr);
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 484 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 485 CHECK(old_ptr && new_size); in Reallocate() 486 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 498 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 499 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /freebsd-14.2/contrib/jemalloc/src/ |
| H A D | jemalloc.c | 2518 p = iralloc(tsd, old_ptr, old_usize, in irealloc_prof_sample() 2525 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false, in irealloc_prof_sample() 2540 old_tctx = prof_tctx_get(tsd_tsdn(tsd), old_ptr, alloc_ctx); in irealloc_prof() 2543 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx, in irealloc_prof() 2546 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false, in irealloc_prof() 3143 p = iralloct(tsdn, old_ptr, old_usize, in irallocx_prof_sample() 3151 p = iralloct(tsdn, old_ptr, old_usize, usize, alignment, zero, in irallocx_prof_sample() 3167 old_tctx = prof_tctx_get(tsd_tsdn(tsd), old_ptr, alloc_ctx); in irallocx_prof() 3170 p = irallocx_prof_sample(tsd_tsdn(tsd), old_ptr, old_usize, in irallocx_prof() 3181 if (p == old_ptr && alignment != 0) { in irallocx_prof() [all …]
|
| /freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | prof_inlines_b.h | 182 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument 206 moved = (ptr != old_ptr); in prof_realloc()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 748 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 749 CHECK(old_ptr && new_size); in Reallocate() 750 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 762 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate() 767 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 768 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_alloc.cpp | 2226 void *old_ptr; in ___kmp_fast_free() local 2242 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2245 *((void **)tail) = old_ptr; in ___kmp_fast_free() 2248 &q_th->th.th_free_lists[index].th_free_list_sync, old_ptr, head)) { in ___kmp_fast_free() 2250 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2251 *((void **)tail) = old_ptr; in ___kmp_fast_free()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 2490 void *old_ptr; in ta_modify_ifidx() local 2495 old_ptr = icfg->main_ptr; in ta_modify_ifidx() 2500 mi->main_ptr = old_ptr; in ta_modify_ifidx() 2947 void *old_ptr; in ta_modify_numarray() local 2952 old_ptr = cfg->main_ptr; in ta_modify_numarray() 2957 mi->main_ptr = old_ptr; in ta_modify_numarray()
|