xref: /aosp_15_r20/external/jemalloc_new/include/jemalloc/internal/extent_types.h (revision 1208bc7e437ced7eb82efac44ba17e3beba411da)
1 #ifndef JEMALLOC_INTERNAL_EXTENT_TYPES_H
2 #define JEMALLOC_INTERNAL_EXTENT_TYPES_H
3 
4 typedef struct extent_s extent_t;
5 typedef struct extents_s extents_t;
6 
7 #define EXTENT_HOOKS_INITIALIZER	NULL
8 
9 #define EXTENT_GROW_MAX_PIND (NPSIZES - 1)
10 
11 /*
12  * When reuse (and split) an active extent, (1U << opt_lg_extent_max_active_fit)
13  * is the max ratio between the size of the active extent and the new extent.
14  */
15 #define LG_EXTENT_MAX_ACTIVE_FIT_DEFAULT 6
16 
17 #endif /* JEMALLOC_INTERNAL_EXTENT_TYPES_H */
18