Motr
M0
|
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "be/alloc.h"
#include "be/alloc_xc.h"
Go to the source code of this file.
Data Structures | |
struct | _m0_be_allocator_call_stat_s |
struct | _m0_be_allocator_call_stats_s |
struct | _m0_be_alloc_zone_stats_s |
struct | _m0_be_allocator_stats_s |
Variables | |
struct m0_xcode_type * | m0_be_allocator_call_stat_xc = &_m0_be_allocator_call_stat._type |
struct m0_xcode_type * | m0_be_allocator_call_stats_xc = &_m0_be_allocator_call_stats._type |
struct m0_xcode_type * | m0_be_alloc_zone_stats_xc = &_m0_be_alloc_zone_stats._type |
struct m0_xcode_type * | m0_be_allocator_stats_xc = &_m0_be_allocator_stats._type |
static struct _m0_be_allocator_call_stat_s | _m0_be_allocator_call_stat |
static struct _m0_be_allocator_call_stats_s | _m0_be_allocator_call_stats |
static struct _m0_be_alloc_zone_stats_s | _m0_be_alloc_zone_stats |
static struct _m0_be_allocator_stats_s | _m0_be_allocator_stats |
const struct m0_xcode_enum_val | m0_be_alloc_zone_type_data [] |
struct m0_xcode_enum | m0_xc_m0_be_alloc_zone_type_enum |
M0_BASSERT | ( | offsetof(struct _m0_be_allocator_call_stat_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _m0_be_allocator_call_stats_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _m0_be_alloc_zone_stats_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _m0_be_allocator_stats_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | sizeof(struct m0_be_allocator_call_stat) | = =16U | ) |
M0_BASSERT | ( | sizeof((struct m0_be_allocator_call_stat *) 0) -> | bcs_nr = =8U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_call_stat, bcs_nr) | = =0U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_call_stat, bcs_size) | = =8U | ) |
M0_BASSERT | ( | sizeof(struct m0_be_allocator_call_stats) | = =48U | ) |
M0_BASSERT | ( | sizeof((struct m0_be_allocator_call_stats *) 0) -> | bacs_alloc_success = =16U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_call_stats, bacs_alloc_success) | = =0U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_call_stats, bacs_alloc_failure) | = =16U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_call_stats, bacs_free) | = =32U | ) |
M0_BASSERT | ( | sizeof(struct m0_be_alloc_zone_stats) | = =80U | ) |
M0_BASSERT | ( | sizeof((struct m0_be_alloc_zone_stats *) 0) -> | bzs_total = =8U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_alloc_zone_stats, bzs_total) | = =0U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_alloc_zone_stats, bzs_used) | = =8U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_alloc_zone_stats, bzs_free) | = =16U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_alloc_zone_stats, bzs_type) | = =24U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_alloc_zone_stats, bzs_stats) | = =32U | ) |
M0_BASSERT | ( | sizeof(struct m0_be_allocator_stats) | = =216U | ) |
M0_BASSERT | ( | sizeof((struct m0_be_allocator_stats *) 0) -> | bas_chunk_overhead = =8U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_chunk_overhead) | = =0U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_space_total) | = =8U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_space_used) | = =16U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_space_free) | = =24U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_stat0_boundary) | = =32U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_chunks_nr) | = =40U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_free_chunks_nr) | = =48U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_total) | = =56U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_stat0) | = =104U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_stat1) | = =152U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_print_interval) | = =200U | ) |
M0_BASSERT | ( | offsetof(struct m0_be_allocator_stats, bas_print_index) | = =208U | ) |
M0_INTERNAL void m0_xc_be_alloc_fini | ( | void | ) |
Definition at line 632 of file alloc_xc.c.
M0_INTERNAL void m0_xc_be_alloc_init | ( | void | ) |
M0_INTERNAL void m0_xc_m0_be_alloc_zone_stats_struct_init | ( | void | ) |
Definition at line 328 of file alloc_xc.c.
M0_INTERNAL void m0_xc_m0_be_allocator_call_stat_struct_init | ( | void | ) |
Definition at line 224 of file alloc_xc.c.
M0_INTERNAL void m0_xc_m0_be_allocator_call_stats_struct_init | ( | void | ) |
Definition at line 261 of file alloc_xc.c.
M0_INTERNAL void m0_xc_m0_be_allocator_stats_struct_init | ( | void | ) |
Definition at line 415 of file alloc_xc.c.
|
static |
|
static |
|
static |
|
static |
struct m0_xcode_type * m0_be_alloc_zone_stats_xc = &_m0_be_alloc_zone_stats._type |
Definition at line 17 of file alloc_xc.c.
const struct m0_xcode_enum_val m0_be_alloc_zone_type_data[] |
Definition at line 209 of file alloc_xc.c.
struct m0_xcode_type * m0_be_allocator_call_stat_xc = &_m0_be_allocator_call_stat._type |
Definition at line 11 of file alloc_xc.c.
struct m0_xcode_type * m0_be_allocator_call_stats_xc = &_m0_be_allocator_call_stats._type |
Definition at line 14 of file alloc_xc.c.
struct m0_xcode_type * m0_be_allocator_stats_xc = &_m0_be_allocator_stats._type |
Definition at line 20 of file alloc_xc.c.
struct m0_xcode_enum m0_xc_m0_be_alloc_zone_type_enum |
Definition at line 216 of file alloc_xc.c.