Home
last modified time | relevance | path

Searched refs:tail_free_bytes_ (Results 1 – 1 of 1) sorted by relevance

/external/pigweed/pw_kvs/public/pw_kvs/internal/
Dsectors.h34 return (tail_free_bytes_ == kCorruptSector) ? 0 : tail_free_bytes_; in writable_bytes()
38 tail_free_bytes_ = writable_bytes; in set_writable_bytes()
41 void mark_corrupt() { tail_free_bytes_ = kCorruptSector; } in mark_corrupt()
42 bool corrupt() const { return tail_free_bytes_ == kCorruptSector; } in corrupt()
64 tail_free_bytes_ = 0; in RemoveWritableBytes()
66 tail_free_bytes_ -= bytes; in RemoveWritableBytes()
93 : tail_free_bytes_(sector_size_bytes), valid_bytes_(0) {} in SectorDescriptor()
95 uint16_t tail_free_bytes_; // writable bytes at the end of the sector variable