Motr
M0
|
Allocator chunk. More...
#include <alloc_internal.h>
Public Member Functions | |
uint32_t bac_zone | M0_XCA_FENUM (m0_be_alloc_zone_type) |
Data Fields | |
uint64_t | bac_magic0 |
struct m0_be_list_link | bac_linkage |
uint64_t | bac_magic |
struct m0_be_list_link | bac_linkage_free |
uint64_t | bac_magic_free |
m0_bcount_t | bac_size |
bool | bac_free |
uint64_t | bac_magic1 |
char | bac_mem [0] |
Allocator chunk.
Definition at line 50 of file alloc_internal.h.
uint32_t bac_zone M0_XCA_FENUM | ( | m0_be_alloc_zone_type | ) |
Allocator zone where chunk resides.
bool bac_free |
is chunk free?
Definition at line 67 of file alloc_internal.h.
struct m0_be_list_link bac_linkage |
for m0_be_allocator_header.bah_chunks list
Definition at line 57 of file alloc_internal.h.
struct m0_be_list_link bac_linkage_free |
for m0_be_allocator_header.bah_fl list
Definition at line 61 of file alloc_internal.h.
uint64_t bac_magic |
magic for bac_linkage
Definition at line 59 of file alloc_internal.h.
uint64_t bac_magic0 |
M0_BE_ALLOC_MAGIC0 Used to find invalid memory access after allocated chunk.
Definition at line 55 of file alloc_internal.h.
uint64_t bac_magic1 |
M0_BE_ALLOC_MAGIC1 Used to find invalid memory access before allocated chunk.M0_BE_ALLOC_MAGIC1
Definition at line 75 of file alloc_internal.h.
uint64_t bac_magic_free |
magic for bac_linkage_free
Definition at line 63 of file alloc_internal.h.
char bac_mem[0] |
m0_be_alloc() and m0_be_alloc_aligned() will return address of bac_mem for allocated chunk.
Definition at line 80 of file alloc_internal.h.
m0_bcount_t bac_size |
size of chunk
Definition at line 65 of file alloc_internal.h.