Lines Matching defs:ts
112 tsd_t *ts = (tsd_t *)tsd;
116 ts->ts_data = malloc(opts);
118 if (ts->ts_data == NULL) {
122 (void) pthread_mutex_init(&ts->ts_lock, NULL);
142 ts->ts_data[i] = (long *)&(ts->ts_data[j]);
145 thread_data[pthread_self() - 1] = ts;
163 tsd_t *ts;
169 ts = thread_data[i];
170 (void) pthread_mutex_lock(&ts->ts_lock);
171 ts->ts_result += traverse_ptrchain(
172 (long **)ts->ts_data, count, 0);
173 (void) pthread_mutex_unlock(&ts->ts_lock);