Rizin
unix-like reverse engineering framework and cli tools
chunk_dss.h
Go to the documentation of this file.
1 /******************************************************************************/
2 #ifdef JEMALLOC_H_TYPES
3 
4 typedef enum {
5  dss_prec_disabled = 0,
6  dss_prec_primary = 1,
7  dss_prec_secondary = 2,
8 
9  dss_prec_limit = 3
10 } dss_prec_t;
11 #define DSS_PREC_DEFAULT dss_prec_secondary
12 #define DSS_DEFAULT "secondary"
13 
14 #endif /* JEMALLOC_H_TYPES */
15 /******************************************************************************/
16 #ifdef JEMALLOC_H_STRUCTS
17 
18 extern const char *dss_prec_names[];
19 
20 #endif /* JEMALLOC_H_STRUCTS */
21 /******************************************************************************/
22 #ifdef JEMALLOC_H_EXTERNS
23 
24 dss_prec_t chunk_dss_prec_get(void);
25 bool chunk_dss_prec_set(dss_prec_t dss_prec);
26 void *chunk_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr,
27  size_t size, size_t alignment, bool *zero, bool *commit);
28 bool chunk_in_dss(void *chunk);
29 bool chunk_dss_mergeable(void *chunk_a, void *chunk_b);
30 void chunk_dss_boot(void);
31 
32 #endif /* JEMALLOC_H_EXTERNS */
33 /******************************************************************************/
34 #ifdef JEMALLOC_H_INLINES
35 
36 #endif /* JEMALLOC_H_INLINES */
37 /******************************************************************************/
voidpf void uLong size
Definition: ioapi.h:138
#define chunk_in_dss
#define chunk_alloc_dss
#define chunk_dss_boot
#define dss_prec_names
#define chunk_dss_prec_set
#define chunk_dss_prec_get
#define chunk_dss_mergeable
Definition: malloc.c:21