Lines Matching refs:us
165 int us, them;
168 us = (getpindex() * lm_optT) + gettindex();
170 us = gettsdindex(tsd);
173 them = (us + 1) % (lm_optP * lm_optT);
175 ts->ts_id = us;
177 /* lock index asignment for us and them */
178 ts->ts_us0 = (us * 4);
179 ts->ts_us1 = (us * 4) + 2;
180 if (us < nthreads - 1) {
210 /* allow them to block us again */
219 /* wait for them to unblock us */