Lines Matching refs:rc
81 int rc;
83 rc = ENOENT;
99 rc = EAGAIN;
101 return (rc);
242 int rc, slice, partition;
244 rc = 0;
246 rc = disk_lookup(dev);
247 if (rc == 0)
258 if (rc == EAGAIN) {
289 rc = ENXIO;
293 rc = 0;
297 rc = ptable_getpart(od->table, &part, partition);
298 if (rc == 0)
303 rc = ptable_getbestpart(od->table, &part);
305 rc = ptable_getpart(od->table, &part, slice);
306 if (rc != 0) /* Partition doesn't exist */
334 rc = ENXIO;
347 rc = ptable_getpart(table, &part, partition);
348 if (rc != 0)
356 if (rc != 0) {
372 return (rc);