Blame jemalloc/include/jemalloc/internal/extent_types.h
|
Packit |
345191 |
#ifndef JEMALLOC_INTERNAL_EXTENT_TYPES_H
|
|
Packit |
345191 |
#define JEMALLOC_INTERNAL_EXTENT_TYPES_H
|
|
Packit |
345191 |
|
|
Packit |
345191 |
typedef struct extent_s extent_t;
|
|
Packit |
345191 |
typedef struct extents_s extents_t;
|
|
Packit |
345191 |
|
|
Packit |
345191 |
typedef struct extent_util_stats_s extent_util_stats_t;
|
|
Packit |
345191 |
typedef struct extent_util_stats_verbose_s extent_util_stats_verbose_t;
|
|
Packit |
345191 |
|
|
Packit |
345191 |
#define EXTENT_HOOKS_INITIALIZER NULL
|
|
Packit |
345191 |
|
|
Packit |
345191 |
/*
|
|
Packit |
345191 |
* When reuse (and split) an active extent, (1U << opt_lg_extent_max_active_fit)
|
|
Packit |
345191 |
* is the max ratio between the size of the active extent and the new extent.
|
|
Packit |
345191 |
*/
|
|
Packit |
345191 |
#define LG_EXTENT_MAX_ACTIVE_FIT_DEFAULT 6
|
|
Packit |
345191 |
|
|
Packit |
345191 |
typedef enum {
|
|
Packit |
345191 |
EXTENT_NOT_HEAD,
|
|
Packit |
345191 |
EXTENT_IS_HEAD /* Only relevant for Windows && opt.retain. */
|
|
Packit |
345191 |
} extent_head_state_t;
|
|
Packit |
345191 |
|
|
Packit |
345191 |
#endif /* JEMALLOC_INTERNAL_EXTENT_TYPES_H */
|