Lines Matching refs:this_cpu
36 bool vlock_trylock(int this_cpu)
39 currently_voting[this_cpu] = 1;
42 currently_voting[this_cpu] = 0;
47 last_vote = this_cpu;
48 currently_voting[this_cpu] = 0;
57 if (last_vote == this_cpu)
100 my_town = towns[(this_cpu >> 4) & 0xf];
101 I_won = vlock_trylock(my_town, this_cpu & 0xf);
104 my_state = states[(this_cpu >> 8) & 0xf];
105 I_won = vlock_lock(my_state, this_cpu & 0xf));
108 I_won = vlock_lock(the_whole_country, this_cpu & 0xf];