| /freebsd-13.1/sys/net/route/ |
| H A D | nhop_utils.c | 139 void *old_ptr; in bitmask_swap() local 141 old_ptr = bh->idx; in bitmask_swap() 147 *pidx = old_ptr; in bitmask_swap()
|
| /freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 659 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 660 CHECK(old_ptr && new_size); in Reallocate() 661 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 673 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 674 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 717 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 718 CHECK(old_ptr && new_size); in Reallocate() 719 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 731 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate() 736 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 737 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_alloc.cpp | 2130 void *old_ptr; in ___kmp_fast_free() local 2146 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2149 *((void **)tail) = old_ptr; in ___kmp_fast_free() 2152 &q_th->th.th_free_lists[index].th_free_list_sync, old_ptr, head)) { in ___kmp_fast_free() 2154 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2155 *((void **)tail) = old_ptr; in ___kmp_fast_free()
|
| /freebsd-13.1/sys/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 2483 void *old_ptr; in ta_modify_ifidx() local 2488 old_ptr = icfg->main_ptr; in ta_modify_ifidx() 2493 mi->main_ptr = old_ptr; in ta_modify_ifidx() 2940 void *old_ptr; in ta_modify_numarray() local 2945 old_ptr = cfg->main_ptr; in ta_modify_numarray() 2950 mi->main_ptr = old_ptr; in ta_modify_numarray()
|