]>
Commit | Line | Data |
---|---|---|
970d7e83 LB |
1 | /******************************************************************************/ |
2 | #ifdef JEMALLOC_H_TYPES | |
3 | ||
4 | #endif /* JEMALLOC_H_TYPES */ | |
5 | /******************************************************************************/ | |
6 | #ifdef JEMALLOC_H_STRUCTS | |
7 | ||
8 | #endif /* JEMALLOC_H_STRUCTS */ | |
9 | /******************************************************************************/ | |
10 | #ifdef JEMALLOC_H_EXTERNS | |
11 | ||
54a0048b SL |
12 | void *huge_malloc(tsd_t *tsd, arena_t *arena, size_t usize, bool zero, |
13 | tcache_t *tcache); | |
14 | void *huge_palloc(tsd_t *tsd, arena_t *arena, size_t usize, size_t alignment, | |
15 | bool zero, tcache_t *tcache); | |
16 | bool huge_ralloc_no_move(tsd_t *tsd, void *ptr, size_t oldsize, | |
17 | size_t usize_min, size_t usize_max, bool zero); | |
1a4d82fc | 18 | void *huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, |
54a0048b | 19 | size_t usize, size_t alignment, bool zero, tcache_t *tcache); |
1a4d82fc JJ |
20 | #ifdef JEMALLOC_JET |
21 | typedef void (huge_dalloc_junk_t)(void *, size_t); | |
22 | extern huge_dalloc_junk_t *huge_dalloc_junk; | |
23 | #endif | |
54a0048b SL |
24 | void huge_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache); |
25 | arena_t *huge_aalloc(const void *ptr); | |
970d7e83 | 26 | size_t huge_salloc(const void *ptr); |
1a4d82fc JJ |
27 | prof_tctx_t *huge_prof_tctx_get(const void *ptr); |
28 | void huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx); | |
54a0048b | 29 | void huge_prof_tctx_reset(const void *ptr); |
970d7e83 LB |
30 | |
31 | #endif /* JEMALLOC_H_EXTERNS */ | |
32 | /******************************************************************************/ | |
33 | #ifdef JEMALLOC_H_INLINES | |
34 | ||
35 | #endif /* JEMALLOC_H_INLINES */ | |
36 | /******************************************************************************/ |