Home
last modified time | relevance | path

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

/system/nvram/hal/
Dmemory_storage.cpp24 const int kMaxSpaces = 32; variable
65 } g_spaces[kMaxSpaces];
70 for (size_t i = 0; i < kMaxSpaces; ++i) { in FindSpaceSlot()
101 for (size_t i = 0; i < kMaxSpaces; ++i) { in StoreSpace()
/system/nvram/core/include/nvram/core/
Dnvram_manager.h142 static constexpr size_t kMaxSpaces = 32; variable
150 SpaceListEntry spaces_[kMaxSpaces];
/system/nvram/core/
Dnvram_manager.cpp175 response->total_size = kMaxSpaceSize * kMaxSpaces; in GetInfo()
176 response->available_size = kMaxSpaceSize * (kMaxSpaces - num_spaces_); in GetInfo()
178 response->max_spaces = kMaxSpaces; in GetInfo()
205 if (FindSpace(index) != kMaxSpaces) { in CreateSpace()
210 if (num_spaces_ + 1 > kMaxSpaces) { in CreateSpace()
715 if (header.allocated_indices.size() > kMaxSpaces) { in Initialize()
782 return kMaxSpaces; in FindSpace()
789 if (space_record->array_index == kMaxSpaces) { in LoadSpaceRecord()