Lines Matching refs:rc
241 int rc;
250 rc = 0;
274 rc = copy_from_user(inparms, tif.in_data, tif.in_len);
275 if (rc) {
297 rc = test_device_register();
300 rc = test_device_unregister();
303 rc = test_bus_add();
306 rc = test_get_drv();
309 rc = test_put_drv();
312 rc = test_reg_firm();
315 rc = test_create_file();
318 rc = test_dev_suspend();
321 rc = test_dev_file();
324 rc = test_bus_rescan();
327 rc = test_bus_file();
330 rc = test_class_reg();
336 rc = test_class_get();
339 rc = test_class_file();
342 rc = test_classdev_reg();
345 rc = test_classint_reg();
348 rc = test_sysdev_cls_reg();
354 rc = test_sysdev_reg();
370 tif.out_rc = rc;
371 rc = 0;
383 rc = -EFAULT;
390 rc = -EFAULT;
403 return rc;
487 int a, rc;
495 rc = 0;
498 rc = 1;
504 rc = 0;
507 rc = 1;
511 return rc;
522 int rc;
529 rc = 0;
532 rc = 1;
536 return rc;
547 int a, rc;
558 rc = 0;
561 rc = 1;
565 return rc;
768 int rc = 0;
772 rc = 1;
779 rc = 1;
791 return rc;
862 int rc;
872 rc = register_chrdev(Major, DEVICE_NAME, &tbase_fops);
873 if (rc < 0) {
875 return rc;
879 Major = rc;
894 int rc;
902 rc = unregister_chrdev(Major, DEVICE_NAME);
903 if (rc < 0)