Searched refs:raw_fd (Results 1 – 1 of 1) sorted by relevance
259 int raw_fd = fake_partition_fd.get(); in main() local260 CHECK_NE(raw_fd, -1); in main()261 CHECK_NE(ftruncate(raw_fd, sizeof(misc_memtag_message)), -1); in main()262 read_memtag_message = [raw_fd](misc_memtag_message* m, std::string*) { in main()263 CHECK(android::base::ReadFully(raw_fd, m, sizeof(*m))); in main()266 write_memtag_message = [raw_fd](const misc_memtag_message& m, std::string*) { in main()267 CHECK(android::base::WriteFully(raw_fd, &m, sizeof(m))); in main()