Home
last modified time | relevance | path

Searched refs:old_ptr (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop_utils.c138 void *old_ptr; in bitmask_swap() local
140 old_ptr = bh->idx; in bitmask_swap()
146 *pidx = old_ptr; in bitmask_swap()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc30 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/contrib/jemalloc/src/
H A Djemalloc.c2510 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, in irealloc_prof_sample() argument
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()
2533 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, in irealloc_prof() argument
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()
2553 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize, in irealloc_prof()
3134 irallocx_prof_sample(tsdn_t *tsdn, void *old_ptr, size_t old_usize, in irallocx_prof_sample() argument
3143 p = iralloct(tsdn, old_ptr, old_usize, in irallocx_prof_sample()
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_inlines_b.h182 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/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp546 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
547 CHECK(old_ptr && new_size); in Reallocate()
548 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
560 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
561 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp756 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
757 CHECK(old_ptr && new_size); in Reallocate()
758 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
770 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate()
775 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
776 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_alloc.cpp2226 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/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c2490 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()