Home
last modified time | relevance | path

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

/system/vold/
DFileDeviceUtils.cpp35 std::unique_ptr<struct fiemap> alloc_fiemap(uint32_t extent_count);
67 std::unique_ptr<struct fiemap> PathFiemap(const std::string& path, uint32_t extent_count) { in PathFiemap() argument
77 auto fiemap = alloc_fiemap(extent_count); in PathFiemap()
83 if (mapped < 1 || mapped > extent_count) { in PathFiemap()
84 LOG(ERROR) << "Extent count not in bounds 1 <= " << mapped << " <= " << extent_count in PathFiemap()
96 std::unique_ptr<struct fiemap> alloc_fiemap(uint32_t extent_count) { in alloc_fiemap() argument
97 size_t allocsize = offsetof(struct fiemap, fm_extents[extent_count]); in alloc_fiemap()
103 res->fm_extent_count = extent_count; in alloc_fiemap()
DFileDeviceUtils.h30 std::unique_ptr<struct fiemap> PathFiemap(const std::string& path, uint32_t extent_count);