2010-01-24 18:53:40 +08:00
|
|
|
/******************************************************************************/
|
|
|
|
#ifdef JEMALLOC_H_TYPES
|
|
|
|
|
|
|
|
#endif /* JEMALLOC_H_TYPES */
|
|
|
|
/******************************************************************************/
|
|
|
|
#ifdef JEMALLOC_H_STRUCTS
|
|
|
|
|
|
|
|
#endif /* JEMALLOC_H_STRUCTS */
|
|
|
|
/******************************************************************************/
|
|
|
|
#ifdef JEMALLOC_H_EXTERNS
|
|
|
|
|
2012-04-19 00:29:43 +08:00
|
|
|
void pages_purge(void *addr, size_t length);
|
|
|
|
|
2012-04-11 01:50:33 +08:00
|
|
|
void *chunk_alloc_mmap(size_t size, size_t alignment);
|
2012-04-13 11:20:58 +08:00
|
|
|
bool chunk_dealloc_mmap(void *chunk, size_t size);
|
2010-01-24 18:53:40 +08:00
|
|
|
|
2010-09-06 01:35:13 +08:00
|
|
|
bool chunk_mmap_boot(void);
|
|
|
|
|
2010-01-24 18:53:40 +08:00
|
|
|
#endif /* JEMALLOC_H_EXTERNS */
|
|
|
|
/******************************************************************************/
|
|
|
|
#ifdef JEMALLOC_H_INLINES
|
|
|
|
|
|
|
|
#endif /* JEMALLOC_H_INLINES */
|
|
|
|
/******************************************************************************/
|