Home | History | Annotate | Download | only in internal
      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(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero);
     13 void	*huge_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize,
     14     size_t alignment, bool zero);
     15 bool	huge_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize,
     16     size_t usize_min, size_t usize_max, bool zero);
     17 void	*huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize,
     18     size_t usize, size_t alignment, bool zero, tcache_t *tcache);
     19 #ifdef JEMALLOC_JET
     20 typedef void (huge_dalloc_junk_t)(void *, size_t);
     21 extern huge_dalloc_junk_t *huge_dalloc_junk;
     22 #endif
     23 void	huge_dalloc(tsdn_t *tsdn, void *ptr);
     24 arena_t	*huge_aalloc(const void *ptr);
     25 size_t	huge_salloc(tsdn_t *tsdn, const void *ptr);
     26 prof_tctx_t	*huge_prof_tctx_get(tsdn_t *tsdn, const void *ptr);
     27 void	huge_prof_tctx_set(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx);
     28 void	huge_prof_tctx_reset(tsdn_t *tsdn, const void *ptr);
     29 
     30 #endif /* JEMALLOC_H_EXTERNS */
     31 /******************************************************************************/
     32 #ifdef JEMALLOC_H_INLINES
     33 
     34 #endif /* JEMALLOC_H_INLINES */
     35 /******************************************************************************/
     36