Lines Matching refs:rc
24 ssize_t rc = ioctl_test_create_device(tfd, drv_libname, strlen(drv_libname) + 1, devpath, sizeof(devpath));
25 if (rc < 0) {
26 printf("driver-tests: error %zd creating device for %s\n", rc, drv_libname);
54 rc = ioctl_device_bind(fd, libpath, n);
55 if (rc < 0) {
56 printf("driver-tests: error %zd binding to %s\n", rc, libpath);
73 rc = ioctl_test_run_tests(fd, NULL, 0, report);
74 if (rc < 0) {
75 printf("driver-tests: error %zd running tests\n", rc);
101 ssize_t rc = write(2, buf + written, bytes - written);
102 if (rc < 0) {
105 written += rc;
126 int rc = thrd_create_with_name(&t, output_thread, socket, "driver-test-output");
127 if (rc != thrd_success) {
128 printf("driver-tests: error %d creating output thread\n", rc);