Searched refs:region_fd (Results 1 – 2 of 2) sorted by relevance
452 int region_fd; in write_regions() local460 region_fd = open(region_filename(i), in write_regions()463 if (write(region_fd, image + region.base, region.size) != in write_regions()468 close(region_fd); in write_regions()634 int region_fd; in inject_region() local650 region_fd = open_for_read(region_fname, ®ion_size); in inject_region()651 if (region_fd < 0) in inject_region()652 return region_fd; in inject_region()676 if (read(region_fd, image + region.base + offset, region_size) in inject_region()682 close(region_fd); in inject_region()
903 int region_fd = memory.handle().GetHandle(); in TEST() local904 EXPECT_GE(region_fd, 0); in TEST()906 region_fd, 0); in TEST()920 region_fd, 0); in TEST()