Searched refs:twokm1 (Results 1 – 1 of 1) sorted by relevance
64 unsigned int i, k, size, twok, twokm1, imod2k; in ck_barrier_tournament_init() local73 for (k = 1, twok = 2, twokm1 = 1; k < size; ++k, twokm1 = twok, twok <<= 1) { in ck_barrier_tournament_init()78 if ((i + twokm1 < nthr) && (twok < nthr)) in ck_barrier_tournament_init()80 else if (i + twokm1 >= nthr) in ck_barrier_tournament_init()84 if (imod2k == twokm1) in ck_barrier_tournament_init()90 rounds[i][k].opponent = &rounds[i - twokm1][k].flag; in ck_barrier_tournament_init()93 rounds[i][k].opponent = &rounds[i + twokm1][k].flag; in ck_barrier_tournament_init()