Searched refs:SetBlockDeviceReadOnly (Results 1 – 4 of 4) sorted by relevance
151 if (!utils::SetBlockDeviceReadOnly(mountable_device, true)) { in PerformPartitionPostinstall()
116 utils::SetBlockDeviceReadOnly(path, (mode & O_ACCMODE) == O_RDONLY); in OpenFile()
182 bool SetBlockDeviceReadOnly(const std::string& device, bool read_only);
634 bool SetBlockDeviceReadOnly(const string& device, bool read_only) { in SetBlockDeviceReadOnly() function