One cellblock's state: its bytes, the two boundaries that grow toward each other, the closed word a writer holds, the sink a refused store lands on, and the turnstiles every pass goes through. More...
#include <locus_carcerum.h>
Data Fields | |
| uint8_t *const | base |
| const size_t | size |
| embed_atomic_usize | bounds |
| embed_atomic_usize | persistent_overrun |
| embed_atomic_usize | temporary_overrun |
| embed_atomic_usize | in_use |
| embed_atomic_usize | persistent_in_use |
| embed_atomic_uptr | movable |
| embed_atomic_word | closed |
| embed_atomic_usize | sink |
| EmbedTurnstiles | turnstiles |
One cellblock's state: its bytes, the two boundaries that grow toward each other, the closed word a writer holds, the sink a refused store lands on, and the turnstiles every pass goes through.
Definition at line 381 of file locus_carcerum.h.
| uint8_t* const SeriesCellularum::base |
First byte of the cellblock [BORROWS].
Definition at line 383 of file locus_carcerum.h.
| const size_t SeriesCellularum::size |
Bytes in the cellblock.
Definition at line 384 of file locus_carcerum.h.
Referenced by mmgr_series_cellularum_idle().
| embed_atomic_usize SeriesCellularum::bounds |
The persistent end in the low half, the temporary top in the high.
Definition at line 385 of file locus_carcerum.h.
Referenced by mmgr_series_cellularum_persistent_end(), and mmgr_series_cellularum_temporary_top().
| embed_atomic_usize SeriesCellularum::persistent_overrun |
Bytes refused takes moved the persistent end by since the last writer.
Definition at line 387 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::temporary_overrun |
Bytes refused takes moved the temporary top by since the last writer.
Definition at line 388 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::in_use |
Payload bytes of the cells taken and not given back.
Definition at line 389 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::persistent_in_use |
The part of in_use lying in the persistent tier.
Definition at line 390 of file locus_carcerum.h.
| embed_atomic_uptr SeriesCellularum::movable |
The movable option's state, as an integer, zero without it.
Definition at line 391 of file locus_carcerum.h.
| embed_atomic_word SeriesCellularum::closed |
The writer's bit, and the sleeper flag above it.
Definition at line 392 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::sink |
Where a store that must not land lands.
Definition at line 393 of file locus_carcerum.h.
| EmbedTurnstiles SeriesCellularum::turnstiles |
The lanes a pass badges in at.
Definition at line 398 of file locus_carcerum.h.