Lines Matching refs:tracemalloc_traces
149 static _Py_hashtable_t *tracemalloc_traces = NULL; variable
553 if (_Py_hashtable_foreach(tracemalloc_traces, tracemalloc_use_domain_cb, in tracemalloc_use_domain()
560 _Py_hashtable_destroy(tracemalloc_traces); in tracemalloc_use_domain()
561 tracemalloc_traces = new_traces; in tracemalloc_use_domain()
579 removed = _Py_HASHTABLE_POP(tracemalloc_traces, key, trace); in tracemalloc_remove_trace()
582 removed = _Py_HASHTABLE_POP(tracemalloc_traces, ptr, trace); in tracemalloc_remove_trace()
622 entry = _Py_HASHTABLE_GET_ENTRY(tracemalloc_traces, key); in tracemalloc_add_trace()
625 entry = _Py_HASHTABLE_GET_ENTRY(tracemalloc_traces, ptr); in tracemalloc_add_trace()
630 _Py_HASHTABLE_ENTRY_READ_DATA(tracemalloc_traces, entry, trace); in tracemalloc_add_trace()
636 _Py_HASHTABLE_ENTRY_WRITE_DATA(tracemalloc_traces, entry, trace); in tracemalloc_add_trace()
643 res = _Py_HASHTABLE_SET(tracemalloc_traces, key, trace); in tracemalloc_add_trace()
646 res = _Py_HASHTABLE_SET(tracemalloc_traces, ptr, trace); in tracemalloc_add_trace()
943 _Py_hashtable_clear(tracemalloc_traces); in tracemalloc_clear_traces()
1000 tracemalloc_traces = hashtable_new(sizeof(pointer_t), in tracemalloc_init()
1006 tracemalloc_traces = hashtable_new(sizeof(uintptr_t), in tracemalloc_init()
1013 || tracemalloc_traces == NULL) { in tracemalloc_init()
1046 _Py_hashtable_destroy(tracemalloc_traces); in tracemalloc_deinit()
1377 get_traces.traces = _Py_hashtable_copy(tracemalloc_traces); in _tracemalloc__get_traces_impl()
1423 found = _Py_HASHTABLE_GET(tracemalloc_traces, key, trace); in tracemalloc_get_traceback()
1426 found = _Py_HASHTABLE_GET(tracemalloc_traces, ptr, trace); in tracemalloc_get_traceback()
1590 size += _Py_hashtable_size(tracemalloc_traces); in _tracemalloc_get_tracemalloc_memory_impl()