Process-private main data structure.
More...
Process-private main data structure.
Definition at line 68 of file maplog.h.
◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]
clib_maplog_main_t::CLIB_CACHE_LINE_ALIGN_MARK |
( |
cacheline1 |
| ) |
|
◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]
clib_maplog_main_t::CLIB_CACHE_LINE_ALIGN_MARK |
( |
cacheline2 |
| ) |
|
◆ current_file_index
volatile u32 clib_maplog_main_t::current_file_index |
current file index
Definition at line 76 of file maplog.h.
◆ file_basename
u8* clib_maplog_main_t::file_basename |
basename, e.g.
"/tmp/mylog"
Definition at line 87 of file maplog.h.
◆ file_baseva
volatile u8* clib_maplog_main_t::file_baseva[2] |
active segment base addresses
Definition at line 84 of file maplog.h.
◆ file_size_in_records
u64 clib_maplog_main_t::file_size_in_records |
file size in records, rounded to a power of two
Definition at line 74 of file maplog.h.
◆ filenames
u8* clib_maplog_main_t::filenames[2] |
active segment file names
Definition at line 85 of file maplog.h.
◆ flags
volatile u32 clib_maplog_main_t::flags |
flags, currently just "init" or not
Definition at line 77 of file maplog.h.
◆ header_filename
u8* clib_maplog_main_t::header_filename |
log header file name
Definition at line 88 of file maplog.h.
◆ log2_file_size_in_records
u32 clib_maplog_main_t::log2_file_size_in_records |
lg file size in records
Definition at line 75 of file maplog.h.
◆ next_record_index
volatile u64 clib_maplog_main_t::next_record_index |
rw cache line: atomic ticket-counter, file index
Definition at line 72 of file maplog.h.
◆ record_size_in_cachelines
u32 clib_maplog_main_t::record_size_in_cachelines |
record size in cache lines
Definition at line 81 of file maplog.h.
The documentation for this struct was generated from the following file: