Motr  M0
confx_allocator Struct Reference
Collaboration diagram for confx_allocator:
Collaboration graph

Data Fields

void * a_chunk
 
m0_bcount_t a_total
 
m0_bcount_t a_used
 

Detailed Description

Contains BE segment memory allocation details. This preallocated BE segment memory is used to allocate configuration objects through xcode. This avoids blocking calls to BE allocator through xcode. The BE segment memory allocated to confx_allocator::a_chunk has to be released as a whole and cannot be released in pieces (i.e. allocated to configuration objects). Thus the confx_allocator is also added to the configuration btree along with the struct m0_confx_obj. This helps in releasing the memory as part of the db destruction.

Definition at line 118 of file db.c.

Field Documentation

◆ a_chunk

void* a_chunk

Definition at line 119 of file db.c.

◆ a_total

m0_bcount_t a_total

Definition at line 120 of file db.c.

◆ a_used

m0_bcount_t a_used

Definition at line 121 of file db.c.


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