One cellblock's state: its bytes, the two boundaries that grow toward each other, and the closed word a writer holds. Also the sink a refused store lands on, and the turnstiles every pass goes through. More...
#include <locus_carcerum.h>
Data Fields | |
| uint8_t * | base |
| 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_word | epoch |
| embed_atomic_usize | sink |
| EmbedTurnstiles | turnstiles |
One cellblock's state: its bytes, the two boundaries that grow toward each other, and the closed word a writer holds. Also the sink a refused store lands on, and the turnstiles every pass goes through.
Definition at line 579 of file locus_carcerum.h.
| uint8_t* SeriesCellularum::base |
First byte of the cellblock [BORROWS]; NULL over a hospes pool until placed.
Definition at line 581 of file locus_carcerum.h.
| size_t SeriesCellularum::size |
Bytes in the cellblock; 0 over a hospes pool until placed.
Definition at line 582 of file locus_carcerum.h.
Referenced by mmgr_series_cellularum_idle().
| embed_atomic_usize SeriesCellularum::bounds |
The persistent position in the low half, the temporary position in the high.
Definition at line 583 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::persistent_overrun |
Bytes refused takes moved the persistent end by since the last writer.
Definition at line 585 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 586 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::in_use |
Payload bytes of the cells taken and not given back.
Definition at line 587 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::persistent_in_use |
The part of in_use in the persistent tier.
Definition at line 588 of file locus_carcerum.h.
| embed_atomic_uptr SeriesCellularum::movable |
The movable option's state, as an integer, zero without it.
Definition at line 589 of file locus_carcerum.h.
| embed_atomic_word SeriesCellularum::closed |
The writer's bit, the sleeper flag, the trim bits and the frames.
Definition at line 590 of file locus_carcerum.h.
Referenced by mmgr_series_cellularum_banks().
| embed_atomic_word SeriesCellularum::epoch |
Odd while a writer changes the frames.
Definition at line 591 of file locus_carcerum.h.
| embed_atomic_usize SeriesCellularum::sink |
Where a store that must not land lands.
Definition at line 592 of file locus_carcerum.h.
| EmbedTurnstiles SeriesCellularum::turnstiles |
The lanes a pass badges in at.
Definition at line 597 of file locus_carcerum.h.