Lines Matching refs:tbsync
35 } *tbsync;
42 tbsync->race_result = add;
57 tbsync->ack = 1;
58 while (!tbsync->handshake)
62 cmd = tbsync->cmd;
63 tb = tbsync->tb;
65 tbsync->ack = 0;
69 while (tbsync->handshake)
73 enter_contest(tbsync->mark, -1);
84 tbsync->cmd = cmd;
89 tbsync->tb = tb + offset;
90 tbsync->mark = mark = tb + 400;
94 tbsync->handshake = 1;
95 while (tbsync->ack)
100 tbsync->handshake = 0;
103 while (!tbsync->ack)
107 score += tbsync->race_result;
120 tbsync = kzalloc( sizeof(*tbsync), GFP_KERNEL );
124 while (!tbsync->ack)
162 tbsync->cmd = kExit;
164 tbsync->handshake = 1;
165 while (tbsync->ack)
167 tbsync->handshake = 0;
168 kfree(tbsync);
169 tbsync = NULL;