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(arena_t *arena, size_t size, bool zero);
     13 void	*huge_palloc(arena_t *arena, size_t size, size_t alignment, bool zero);
     14 bool	huge_ralloc_no_move(void *ptr, size_t oldsize, size_t size,
     15     size_t extra);
     16 void	*huge_ralloc(arena_t *arena, void *ptr, size_t oldsize, size_t size,
     17     size_t extra, size_t alignment, bool zero, bool try_tcache_dalloc);
     18 #ifdef JEMALLOC_JET
     19 typedef void (huge_dalloc_junk_t)(void *, size_t);
     20 extern huge_dalloc_junk_t *huge_dalloc_junk;
     21 #endif
     22 void	huge_dalloc(void *ptr);
     23 size_t	huge_salloc(const void *ptr);
     24 prof_ctx_t	*huge_prof_ctx_get(const void *ptr);
     25 void	huge_prof_ctx_set(const void *ptr, prof_ctx_t *ctx);
     26 bool	huge_boot(void);
     27 void	huge_prefork(void);
     28 void	huge_postfork_parent(void);
     29 void	huge_postfork_child(void);
     30 
     31 #endif /* JEMALLOC_H_EXTERNS */
     32 /******************************************************************************/
     33 #ifdef JEMALLOC_H_INLINES
     34 
     35 #endif /* JEMALLOC_H_INLINES */
     36 /******************************************************************************/
     37