admin
2023-03-07 8b06b1cbf112d55307ea8a6efe711db4e7506d89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef JEMALLOC_INTERNAL_EXTENT_TYPES_H
#define JEMALLOC_INTERNAL_EXTENT_TYPES_H
 
typedef struct extent_s extent_t;
typedef struct extents_s extents_t;
 
typedef struct extent_util_stats_s extent_util_stats_t;
typedef struct extent_util_stats_verbose_s extent_util_stats_verbose_t;
 
#define EXTENT_HOOKS_INITIALIZER    NULL
 
/*
 * When reuse (and split) an active extent, (1U << opt_lg_extent_max_active_fit)
 * is the max ratio between the size of the active extent and the new extent.
 */
#define LG_EXTENT_MAX_ACTIVE_FIT_DEFAULT 6
 
typedef enum {
    EXTENT_NOT_HEAD,
    EXTENT_IS_HEAD   /* Only relevant for Windows && opt.retain. */
} extent_head_state_t;
 
#endif /* JEMALLOC_INTERNAL_EXTENT_TYPES_H */