Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp629 unsigned int blksize; in ReadFibmap() local
630 if (ioctl(file_fd, FIGETBSZ, &blksize) < 0) { in ReadFibmap()
634 if (!blksize) { in ReadFibmap()
635 LOG(ERROR) << "Invalid filesystem block size: " << blksize; in ReadFibmap()
639 uint64_t num_blocks = (s.st_size + blksize - 1) / blksize; in ReadFibmap()
657 extents->back().fe_length += blksize; in ReadFibmap()
660 .fe_physical = static_cast<uint64_t>(block) * blksize, in ReadFibmap()
661 .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.cpp570 int64_t blksize = s->st_blksize; in stat_size() local
574 if (blksize) { in stat_size()
576 size = (size + blksize - 1) & (~(blksize - 1)); in stat_size()