Searched refs:SetBlockDeviceReadOnly (Results 1 – 9 of 9) sorted by relevance
67 bool SetBlockDeviceReadOnly(const std::string& blockdev);
118 bool SetBlockDeviceReadOnly(const std::string& blockdev) { in SetBlockDeviceReadOnly() function
122 SetBlockDeviceReadOnly(fstab_entry->blk_device); in HashtreeDmVeritySetup()
188 if (!utils::SetBlockDeviceReadOnly(mountable_device, true)) { in PerformPartitionPostinstall()
189 if (!utils::SetBlockDeviceReadOnly(part_path, !write_verity)) { in InitializeFd()
95 utils::SetBlockDeviceReadOnly(path, read_only); in OpenFile()
182 bool SetBlockDeviceReadOnly(const std::string& device, bool read_only);
527 bool SetBlockDeviceReadOnly(const string& device, bool read_only) { in SetBlockDeviceReadOnly() function
590 ignore_result(utils::SetBlockDeviceReadOnly(path_, false /* readonly */)); in Erase()