]>
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 | ||
7453a54e | 12 | void *huge_malloc(tsd_t *tsd, arena_t *arena, size_t size, bool zero); |
1a4d82fc | 13 | void *huge_palloc(tsd_t *tsd, arena_t *arena, size_t size, size_t alignment, |
7453a54e SL |
14 | bool zero); |
15 | bool huge_ralloc_no_move(void *ptr, size_t oldsize, size_t size, | |
16 | size_t extra, bool zero); | |
1a4d82fc | 17 | void *huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, |
7453a54e SL |
18 | size_t size, size_t extra, size_t alignment, bool zero, |
19 | bool try_tcache_dalloc); | |
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 | |
7453a54e | 24 | void huge_dalloc(void *ptr); |
970d7e83 | 25 | size_t huge_salloc(const void *ptr); |
1a4d82fc JJ |
26 | prof_tctx_t *huge_prof_tctx_get(const void *ptr); |
27 | void huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx); | |
7453a54e SL |
28 | bool huge_boot(void); |
29 | void huge_prefork(void); | |
30 | void huge_postfork_parent(void); | |
31 | void huge_postfork_child(void); | |
970d7e83 LB |
32 | |
33 | #endif /* JEMALLOC_H_EXTERNS */ | |
34 | /******************************************************************************/ | |
35 | #ifdef JEMALLOC_H_INLINES | |
36 | ||
37 | #endif /* JEMALLOC_H_INLINES */ | |
38 | /******************************************************************************/ |