Lines Matching refs:err
76 int err, go; in thread_create() local
81 err = pthread_create(&td->pt, NULL, thread_fn, td); in thread_create()
82 if (!err) { in thread_create()
85 err = ret != sizeof(int); in thread_create()
90 return err; in thread_create()
96 int i, err = 0; in threads_create() local
104 for (i = 1; !err && i < THREADS; i++) in threads_create()
105 err = thread_create(i); in threads_create()
107 return err; in threads_create()
113 int i, err = 0; in threads_destroy() local
120 for (i = 1; !err && i < THREADS; i++) in threads_destroy()
121 err = pthread_join(threads[i].pt, NULL); in threads_destroy()
123 return err; in threads_destroy()
138 int err; in synth_process() local
142 err = perf_event__synthesize_thread_map(NULL, map, in synth_process()
147 return err; in synth_process()
154 int err, i; in mmap_events() local
170 err = synth(machine); in mmap_events()
175 TEST_ASSERT_VAL("failed to synthesize maps", !err); in mmap_events()
196 err = -1; in mmap_events()
205 return err; in mmap_events()