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