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 
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);
18 void	*huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize,
19     size_t usize, size_t alignment, bool zero, tcache_t *tcache);
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
24 void	huge_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache);
25 arena_t	*huge_aalloc(const void *ptr);
26 size_t	huge_salloc(const void *ptr);
27 prof_tctx_t	*huge_prof_tctx_get(const void *ptr);
28 void	huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx);
29 void	huge_prof_tctx_reset(const void *ptr);
30 
31 #endif /* JEMALLOC_H_EXTERNS */
32 /******************************************************************************/
33 #ifdef JEMALLOC_H_INLINES
34 
35 #endif /* JEMALLOC_H_INLINES */
36 /******************************************************************************/
37