Lines Matching refs:rc
315 int rc;
318 rc = pthread_create(&t0, attr, tm_una_ping, (void *) &flags);
319 if (rc)
320 pr_err(rc, "pthread_create()");
321 rc = pthread_setname_np(t0, "tm_una_ping");
322 if (rc)
323 pr_warn(rc, "pthread_setname_np");
324 rc = pthread_join(t0, &ret_value);
325 if (rc)
326 pr_err(rc, "pthread_join");
341 int cpu, rc, exception; /* FP = 0, VEC = 1, VSX = 2 */
357 rc = pthread_attr_init(&attr);
358 if (rc)
359 pr_err(rc, "pthread_attr_init()");
362 rc = pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &cpuset);
363 if (rc)
364 pr_err(rc, "pthread_attr_setaffinity_np()");
366 rc = pthread_create(&t1, &attr /* Bind to CPU 0 */, tm_una_pong, NULL);
367 if (rc)
368 pr_err(rc, "pthread_create()");
371 rc = pthread_setname_np(t1, "tm_una_pong");
372 if (rc)
373 pr_warn(rc, "pthread_create()");