Searched refs:SetBlockDeviceReadOnly (Results 1 – 10 of 10) sorted by relevance
72 utils::SetBlockDeviceReadOnly(source_path_, false); in WriteBackCorrectedSourceBlocks()74 utils::SetBlockDeviceReadOnly(source_path_, true); in WriteBackCorrectedSourceBlocks()
94 utils::SetBlockDeviceReadOnly(path, read_only); in OpenFile()
188 if (!utils::SetBlockDeviceReadOnly(mountable_device, true)) { in MountPartition()
213 if (!utils::SetBlockDeviceReadOnly(part_path, !write_verity)) { in InitializeFd()
67 bool SetBlockDeviceReadOnly(const std::string& blockdev);
118 bool SetBlockDeviceReadOnly(const std::string& blockdev) { in SetBlockDeviceReadOnly() function
112 SetBlockDeviceReadOnly(fstab_entry->blk_device); in HashtreeDmVeritySetup()
211 bool SetBlockDeviceReadOnly(const std::string& device, bool read_only);
630 bool SetBlockDeviceReadOnly(const string& device, bool read_only) { in SetBlockDeviceReadOnly() function
619 ignore_result(utils::SetBlockDeviceReadOnly(path_, false /* readonly */)); in Erase()