The max security guard over one cellblock: every release zeroes the cell first. More...
#include <locus_carcerum.h>
Data Fields | |
| void *(*) | persistent_buf_alloc (size_t size, const CellOwner *owner) |
| void(*) | persistent_buf_release (void *prisoner, const CellOwner *owner) |
| void *(*) | temporary_buf_alloc (size_t size, const CellOwner *owner) |
| embed_bool(*) | who_owns_buf (const void *at) |
| size_t(*) | buf_available (void) |
| void *(*) | buf_grow (void *prisoner, size_t size, const CellOwner *owner) |
| embed_bool(*) | movable_init (const CarcerMovableInitCfg *args) |
| const CarcerMovableEntry *(*) | movable_buf_alloc (size_t size, const CellOwner *owner) |
| embed_bool(*) | movable_buf_release (const CarcerMovableEntry *cell, const CellOwner *owner) |
| embed_bool(*) | movable_buf_read (const CarcerMovableCfg *args) |
| embed_bool(*) | movable_buf_write (const CarcerMovableCfg *args) |
| embed_iword(*) | movable_buf_compare (const CarcerMovableCfg *args) |
| size_t(*) | movable_buf_measure (const CarcerMovableCfg *args) |
The max security guard over one cellblock: every release zeroes the cell first.
Definition at line 953 of file locus_carcerum.h.
| void *(*) MaxSecurityGuard::persistent_buf_alloc(size_t size, const CellOwner *owner) |
Takes size bytes from the bottom for owner [RETURNS OWNERSHIP].
Definition at line 955 of file locus_carcerum.h.
| void(*) MaxSecurityGuard::persistent_buf_release(void *prisoner, const CellOwner *owner) |
Zeroes owner's cell of either tier, then releases it [TAKES OWNERSHIP].
Definition at line 957 of file locus_carcerum.h.
| void *(*) MaxSecurityGuard::temporary_buf_alloc(size_t size, const CellOwner *owner) |
Takes size bytes from the top for owner [RETURNS OWNERSHIP].
Definition at line 960 of file locus_carcerum.h.
| embed_bool(*) MaxSecurityGuard::who_owns_buf(const void *at) |
Whether at lies in this cellblock's bytes [BORROWS].
Definition at line 962 of file locus_carcerum.h.
| size_t(*) MaxSecurityGuard::buf_available(void) |
Bytes between the two tiers.
Definition at line 963 of file locus_carcerum.h.
| void *(*) MaxSecurityGuard::buf_grow(void *prisoner, size_t size, const CellOwner *owner) |
Grows the newest cell of its tier to size bytes in place, the added bytes zeroed.
Definition at line 964 of file locus_carcerum.h.
| embed_bool(*) MaxSecurityGuard::movable_init(const CarcerMovableInitCfg *args) |
Definition at line 967 of file locus_carcerum.h.
| const CarcerMovableEntry *(*) MaxSecurityGuard::movable_buf_alloc(size_t size, const CellOwner *owner) |
Definition at line 967 of file locus_carcerum.h.
| embed_bool(*) MaxSecurityGuard::movable_buf_release(const CarcerMovableEntry *cell, const CellOwner *owner) |
Zeroes owner's movable cell, then releases it.
Definition at line 968 of file locus_carcerum.h.
| embed_bool(*) MaxSecurityGuard::movable_buf_read(const CarcerMovableCfg *args) |
Definition at line 970 of file locus_carcerum.h.
| embed_bool(*) MaxSecurityGuard::movable_buf_write(const CarcerMovableCfg *args) |
Definition at line 970 of file locus_carcerum.h.
| embed_iword(*) MaxSecurityGuard::movable_buf_compare(const CarcerMovableCfg *args) |
Definition at line 970 of file locus_carcerum.h.
| size_t(*) MaxSecurityGuard::movable_buf_measure(const CarcerMovableCfg *args) |
Definition at line 970 of file locus_carcerum.h.