Searched refs:raw_fd (Results 1 – 1 of 1) sorted by relevance
289 int raw_fd = fake_partition_fd.get(); in main() local290 CHECK_NE(raw_fd, -1); in main()291 CHECK_NE(ftruncate(raw_fd, sizeof(misc_memtag_message)), -1); in main()292 read_memtag_message = [raw_fd](misc_memtag_message* m, std::string*) { in main()293 CHECK(android::base::ReadFully(raw_fd, m, sizeof(*m))); in main()296 write_memtag_message = [raw_fd](const misc_memtag_message& m, std::string*) { in main()297 CHECK(android::base::WriteFully(raw_fd, &m, sizeof(m))); in main()