Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer.cpp526 unsigned int blksize; in ReadFibmap() local
527 if (ioctl(file_fd, FIGETBSZ, &blksize) < 0) { in ReadFibmap()
531 if (!blksize) { in ReadFibmap()
532 LOG(ERROR) << "Invalid filesystem block size: " << blksize; in ReadFibmap()
536 uint64_t num_blocks = (s.st_size + blksize - 1) / blksize; in ReadFibmap()
554 extents->back().fe_length += blksize; in ReadFibmap()
557 .fe_physical = static_cast<uint64_t>(block) * blksize, in ReadFibmap()
558 .fe_length = static_cast<uint64_t>(blksize), in ReadFibmap()
/system/core/libappfuse/tests/
DFuseAppLoopTest.cc169 EXPECT_EQ(0u, response_.entry_out.attr.blksize); in TEST_F()
228 EXPECT_EQ(0u, response_.attr_out.attr.blksize); in TEST_F()
261 EXPECT_EQ(0u, response_.attr_out.attr.blksize); in TEST_F()
/system/vold/
DUtils.cpp568 int64_t blksize = s->st_blksize; in stat_size() local
572 if (blksize) { in stat_size()
574 size = (size + blksize - 1) & (~(blksize - 1)); in stat_size()