Searched refs:data_device (Results 1 – 3 of 3) sorted by relevance
64 int data_device; in squashfs_parse_sb() local66 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC)); in squashfs_parse_sb()67 if (data_device == -1) { in squashfs_parse_sb()72 if (TEMP_FAILURE_RETRY(read(data_device, &sb, sizeof(sb))) in squashfs_parse_sb()86 close(data_device); in squashfs_parse_sb()
74 auto data_device = GetDevicePathForFile(file); in OpenOrCreateMetadata() local77 if (!opener.GetInfo(data_device, &device_info)) { in OpenOrCreateMetadata()78 LOG(ERROR) << "Could not read partition: " << data_device; in OpenOrCreateMetadata()83 auto super_name = android::base::Basename(data_device); in OpenOrCreateMetadata()
710 auto data_device = GetMetadataSuperBlockDevice(*metadata.get()); in MapAllImages() local711 auto data_partition_name = GetBlockDevicePartitionName(*data_device); in MapAllImages()