1 #ifndef JEMALLOC_INTERNAL_BASE_INLINES_H 2 #define JEMALLOC_INTERNAL_BASE_INLINES_H 3 4 static inline unsigned base_ind_get(const base_t * base)5base_ind_get(const base_t *base) { 6 return base->ind; 7 } 8 9 static inline bool metadata_thp_enabled(void)10metadata_thp_enabled(void) { 11 return (opt_metadata_thp != metadata_thp_disabled); 12 } 13 #endif /* JEMALLOC_INTERNAL_BASE_INLINES_H */ 14