Searched refs:tctx (Results 1 – 8 of 8) sorted by relevance
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | prof.h | 285 prof_tctx_t *tctx); 339 prof_tctx_t *tctx); 341 prof_tctx_t *tctx); 416 arena_prof_tctx_set(ptr, usize, tctx); in prof_tctx_set() 489 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) in prof_malloc() 490 prof_malloc_sample_object(ptr, usize, tctx); in prof_malloc() 515 tctx = (prof_tctx_t *)(uintptr_t)1U; in prof_realloc() 519 sampled = ((uintptr_t)tctx > (uintptr_t)1U); in prof_realloc() 523 prof_malloc_sample_object(ptr, usize, tctx); in prof_realloc() 534 prof_tctx_t *tctx = prof_tctx_get(ptr); in prof_free() local [all …]
|
| H A D | extent.h | 86 void extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx); 189 extent_node_prof_tctx_set(extent_node_t *node, prof_tctx_t *tctx) in extent_node_prof_tctx_set() argument 192 node->en_prof_tctx = tctx; in extent_node_prof_tctx_set()
|
| H A D | huge.h | 28 void huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx);
|
| H A D | arena.h | 558 void arena_prof_tctx_set(const void *ptr, size_t usize, prof_tctx_t *tctx); 1097 arena_prof_tctx_set(const void *ptr, size_t usize, prof_tctx_t *tctx) in arena_prof_tctx_set() argument 1110 if (unlikely(usize > SMALL_MAXCLASS || (uintptr_t)tctx > in arena_prof_tctx_set() 1117 atomic_write_p(&elm->prof_tctx_pun, tctx); in arena_prof_tctx_set() 1128 huge_prof_tctx_set(ptr, tctx); in arena_prof_tctx_set()
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | prof.c | 232 tctx->cnts.curobjs++; in prof_malloc_sample_object() 249 tctx->cnts.curobjs--; in prof_free_sampled_object() 618 if (tctx->prepared) in prof_tctx_should_destroy() 1049 memcpy(&tctx->dump_cnts, &tctx->cnts, sizeof(prof_cnt_t)); in prof_tctx_merge_tdata() 1090 prof_tctx_merge_gctx(tctx, tctx->gctx); in prof_tctx_merge_iter() 1114 "%"FMTu64"]\n", tctx->thr_uid, tctx->dump_cnts.curobjs, in prof_tctx_dump_iter() 1115 tctx->dump_cnts.curbytes, tctx->dump_cnts.accumobjs, in prof_tctx_dump_iter() 1117 return (tctx); in prof_tctx_dump_iter() 1139 ret = tctx; in prof_tctx_finish_iter() 1240 } tctx; in prof_tdata_merge_iter() local [all …]
|
| H A D | jemalloc.c | 1362 if (tctx == NULL) in imalloc_prof_sample() 1379 prof_tctx_t *tctx; in imalloc_prof() local 1447 prof_tctx_t *tctx) in imemalign_prof_sample() argument 1451 if (tctx == NULL) in imemalign_prof_sample() 1469 prof_tctx_t *tctx; in imemalign_prof() local 1583 if (tctx == NULL) in icalloc_prof_sample() 1600 prof_tctx_t *tctx; in icalloc_prof() local 1690 if (tctx == NULL) in irealloc_prof_sample() 2004 prof_tctx_t *tctx; in imallocx_prof() local 2095 if (tctx == NULL) in irallocx_prof_sample() [all …]
|
| H A D | huge.c | 404 prof_tctx_t *tctx; in huge_prof_tctx_get() local 411 tctx = extent_node_prof_tctx_get(node); in huge_prof_tctx_get() 414 return (tctx); in huge_prof_tctx_get() 418 huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx) in huge_prof_tctx_set() argument 426 extent_node_prof_tctx_set(node, tctx); in huge_prof_tctx_set()
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | ChangeLog | 32 than dereferencing a potentially invalid tctx. 76 prof_malloc_sample_object(). Prior to this fix, if tctx and old_tctx were 77 the same, the tctx could have been prematurely destroyed.
|