Lines Matching defs:rc
98 int rc;
105 rc = acpi_pre_map_gar(&generic->error_status_address);
106 if (rc)
118 rc = -ENOMEM;
128 return ERR_PTR(rc);
184 int rc;
186 rc = acpi_atomic_read(&buf_paddr, &g->error_status_address);
187 if (rc) {
197 rc = ghes_copy_tofrom_phys(ghes->estatus, buf_paddr,
199 if (rc)
200 return rc;
207 rc = -EIO;
215 rc = ghes_copy_tofrom_phys(ghes->estatus + 1,
218 if (rc)
219 return rc;
222 rc = 0;
225 if (rc && !silent)
228 return rc;
267 int rc;
269 rc = ghes_read_estatus(ghes, 0);
270 if (rc)
303 int rc = -EINVAL;
326 rc = PTR_ERR(ghes);
360 rc = -ENODEV;
371 return rc;