mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-20 02:45:50 +03:00
Emap: Standardize naming.
Namespace everything under emap_, always specify what it is we're looking up (emap_lookup -> emap_edata_lookup), and use "ctx" over "info".
This commit is contained in:
parent
ac50c1e44b
commit
7e6c8a7286
15 changed files with 93 additions and 86 deletions
|
|
@ -2667,7 +2667,7 @@ arenas_lookup_ctl(tsd_t *tsd, const size_t *mib,
|
|||
ret = EINVAL;
|
||||
malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx);
|
||||
WRITE(ptr, void *);
|
||||
edata = emap_lookup(tsd_tsdn(tsd), &emap_global, ptr);
|
||||
edata = emap_edata_lookup(tsd_tsdn(tsd), &emap_global, ptr);
|
||||
if (edata == NULL)
|
||||
goto label_return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue