Home
last modified time | relevance | path

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

/system/extras/tests/directiotest/
Ddirectiotest.c177 int blk_size; in main() local
201 if (ioctl(fd, BLKSSZGET, &blk_size) == -1) { in main()
209 num_blks /= blk_size; in main()
211 test_size = (size_t)blk_size * NUM_TEST_BLKS; in main()
241 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) != in main()
246 if (do_read(fd, read_buf, cur_blk * blk_size, test_size) != in main()
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc171 uint64_t blk_size; in Init() local
172 TEST_AND_RETURN_FALSE(base::StringToUint64(splits[i], &blk_size)); in Init()
174 auto new_blk_size = blk_size & ~kSquashfsCompressedBit; in Init()
176 if (new_blk_size > 0 && !(blk_size & kSquashfsCompressedBit)) { in Init()
/system/extras/f2fs_utils/
Df2fs_sparseblock.c265 unsigned long blk_size; in get_valid_checkpoint_info() local
270 blk_size = 1U << le32_to_cpu(sb->log_blocksize); in get_valid_checkpoint_info()