Motr
M0
|
Allocator. More...
#include <alloc.h>
Data Fields | |
struct m0_be_seg * | ba_seg |
struct m0_mutex | ba_lock |
struct m0_be_allocator_header * | ba_h [M0_BAP_NR] |
struct m0_be_allocator_header* ba_h[M0_BAP_NR] |
struct m0_mutex ba_lock |
struct m0_be_seg* ba_seg |
Memory is allocated from the segment using first-fit algorithm. Entire segment except m0_be_seg_hdr is used as a memory for allocations.