Searched refs:slice_entry_t (Results 1 – 8 of 8) sorted by relevance
108 } slice_entry_t; typedef111 static_assert(sizeof(slice_entry_t) == 8, "Unexpected FVM slice entry size");112 static_assert(FVM_BLOCK_SIZE % sizeof(slice_entry_t) == 0,120 return fbl::round_up(sizeof(slice_entry_t) * (total_size / slice_size), in AllocTableLength()
115 bool LoadPartitions(const size_t slice_count, const fvm::slice_entry_t* slice_table,
198 * sizeof(fvm::slice_entry_t); in GrowForSlices()234 fvm::slice_entry_t* slice = nullptr; in AllocateSlice()278 zx_status_t FvmInfo::GetSlice(size_t index, fvm::slice_entry_t** out) const { in GetSlice()287 index * sizeof(fvm::slice_entry_t)); in GetSlice()288 *out = reinterpret_cast<fvm::slice_entry_t*>(metadata_start + offset); in GetSlice()
116 bool Checker::LoadPartitions(const size_t slice_count, const fvm::slice_entry_t* slice_table, in LoadPartitions()263 const size_t slice_entry_size = sizeof(fvm::slice_entry_t); in CheckFVM()273 const fvm::slice_entry_t* slice_table = reinterpret_cast<const fvm::slice_entry_t*>( in CheckFVM()
45 zx_status_t GetSlice(size_t index, fvm::slice_entry_t** out) const;
300 const slice_entry_t* entry = GetSliceEntryLocked(i); in Load()560 slice_entry_t* VPartitionManager::GetSliceEntryLocked(size_t index) const { in GetSliceEntryLocked()563 uintptr_t offset = static_cast<uintptr_t>(kAllocTableOffset + index * sizeof(slice_entry_t)); in GetSliceEntryLocked()566 return reinterpret_cast<slice_entry_t*>(metadata_start + offset); in GetSliceEntryLocked()
127 slice_entry_t* GetSliceEntryLocked(size_t index) const TA_REQ(lock_);
134 fvm::slice_entry_t* slice = nullptr; in Verify()231 fvm::slice_entry_t* slice = nullptr; in Extend()
Completed in 14 milliseconds