LLVM 20.0.0git
Public Attributes | List of all members
size_class_t Struct Reference

Public Attributes

uint32_t block_size
 Size of blocks in this class.
 
uint16_t block_count
 Number of blocks in each chunk.
 
uint16_t class_idx
 Class index this class is merged with.
 

Detailed Description

Definition at line 724 of file rpmalloc.c.

Member Data Documentation

◆ block_count

uint16_t size_class_t::block_count

◆ block_size

uint32_t size_class_t::block_size

Size of blocks in this class.

Definition at line 726 of file rpmalloc.c.

Referenced by _rpmalloc_adjust_size_class(), _rpmalloc_span_initialize_new(), rpmalloc_initialize_config(), and rpmalloc_thread_statistics().

◆ class_idx

uint16_t size_class_t::class_idx

Class index this class is merged with.

Definition at line 730 of file rpmalloc.c.

Referenced by _rpmalloc_adjust_size_class(), and _rpmalloc_allocate_medium().


The documentation for this struct was generated from the following file: