Searched refs:page_layout (Results 1 – 4 of 4) sorted by relevance
536 uint32_t page_layout,557 uint16_t GetChunkSizeForLayout(uint32_t page_layout) const { in GetChunkSizeForLayout() argument558 return chunk_sizes_[(page_layout & kLayoutMask) >> kLayoutShift]; in GetChunkSizeForLayout()561 static ChunkState GetChunkStateFromLayout(uint32_t page_layout, in GetChunkStateFromLayout() argument563 return static_cast<ChunkState>((page_layout >> (chunk_idx * kChunkShift)) & in GetChunkStateFromLayout()567 static constexpr uint32_t GetNumChunksForLayout(uint32_t page_layout) { in GetNumChunksForLayout() argument568 return kNumChunksForLayout[(page_layout & kLayoutMask) >> kLayoutShift]; in GetNumChunksForLayout()575 static uint32_t GetUsedChunks(uint32_t page_layout) { in GetUsedChunks() argument576 const uint32_t num_chunks = GetNumChunksForLayout(page_layout); in GetUsedChunks()579 res |= ((page_layout & kChunkMask) != kChunkFree) ? (1 << i) : 0; in GetUsedChunks()[all …]
145 uint32_t page_layout, in GetChunkUnchecked() argument147 const size_t num_chunks = GetNumChunksForLayout(page_layout); in GetChunkUnchecked()150 const uint16_t chunk_size = GetChunkSizeForLayout(page_layout); in GetChunkUnchecked()
82 uint32_t page_layout = abi->GetPageLayout(page_idx); in TEST_P() local83 size_t num_chunks = SharedMemoryABI::GetNumChunksForLayout(page_layout); in TEST_P()
1121 *page_layout; in WritePOCKETMODImage() local1148 page_layout=MontageImages(images,montage_info,exception); in WritePOCKETMODImage()1151 if (page_layout == (Image *) NULL) in WritePOCKETMODImage()1153 AppendImageToList(&pocket_mod,page_layout); in WritePOCKETMODImage()