Lines Matching refs:ret
58 int ret;
63 ret = 0;
66 ret = -EINVAL;
68 if (ret != 0) {
143 int ret = module_->isSlotBootable(module_, slot);
144 if (ret < 0) {
146 << " is bootable: " << strerror(-ret);
149 return ret == 1;
153 int ret = module_->setSlotAsUnbootable(module_, slot);
154 if (ret < 0) {
156 << " as bootable: " << strerror(-ret);
159 return ret == 0;
163 int ret = module_->setActiveBootSlot(module_, slot);
164 if (ret < 0) {
166 << ": " << strerror(-ret);
168 return ret == 0;
173 int ret = module_->markBootSuccessful(module_);
174 if (ret < 0) {
175 LOG(ERROR) << "Unable to mark boot successful: " << strerror(-ret);
178 FROM_HERE, base::Bind(callback, ret == 0)) !=