TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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(size_t size, size_t alignment, bool *zero);
27 bool chunk_in_dss(void *chunk);
28 bool chunk_dss_boot(void);
29 void chunk_dss_prefork(void);
30 void chunk_dss_postfork_parent(void);
31 void chunk_dss_postfork_child(void);
32 
33 #endif /* JEMALLOC_H_EXTERNS */
34 /******************************************************************************/
35 #ifdef JEMALLOC_H_INLINES
36 
37 #endif /* JEMALLOC_H_INLINES */
38 /******************************************************************************/
#define chunk_dss_prec_set
Definition: private_namespace.h:116
Definition: adtfile.h:57
#define chunk_dss_postfork_child
Definition: private_namespace.h:113
#define chunk_alloc_dss
Definition: private_namespace.h:107
#define chunk_dss_boot
Definition: private_namespace.h:112
#define chunk_dss_prefork
Definition: private_namespace.h:117
#define chunk_dss_postfork_parent
Definition: private_namespace.h:114
static unorm16 zero()
Definition: unorm16.h:82
#define chunk_dss_prec_get
Definition: private_namespace.h:115
#define chunk_in_dss
Definition: private_namespace.h:118
#define dss_prec_names
Definition: private_namespace.h:152