summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-05-23 22:10:25 (GMT)
committerJason Evans <jasone@canonware.com>2016-06-03 19:27:41 (GMT)
commit5c6be2bdd33d1eb9d544f46f128ba93d05a01492 (patch)
tree57de9839e4bc22b0e4d53fba68952999d53e62bd /include
parent0eb6f08959700428f3ae0df1d8ab1cd7bd4c82bc (diff)
downloadjemalloc-5c6be2bdd33d1eb9d544f46f128ba93d05a01492.zip
jemalloc-5c6be2bdd33d1eb9d544f46f128ba93d05a01492.tar.gz
jemalloc-5c6be2bdd33d1eb9d544f46f128ba93d05a01492.tar.bz2
Refactor chunk_purge_wrapper() to take extent argument.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/chunk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h
index 085b43c..5f5629e 100644
--- a/include/jemalloc/internal/chunk.h
+++ b/include/jemalloc/internal/chunk.h
@@ -67,8 +67,7 @@ bool chunk_commit_wrapper(tsdn_t *tsdn, arena_t *arena,
bool chunk_decommit_wrapper(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, extent_t *extent, size_t offset, size_t length);
bool chunk_purge_wrapper(tsdn_t *tsdn, arena_t *arena,
- chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t offset,
- size_t length);
+ chunk_hooks_t *chunk_hooks, extent_t *extent, size_t offset, size_t length);
extent_t *chunk_split_wrapper(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, extent_t *extent, size_t size_a, size_t size_b);
bool chunk_merge_wrapper(tsdn_t *tsdn, arena_t *arena,