Lines Matching refs:this_cpu
35 bool vlock_trylock(int this_cpu)
38 currently_voting[this_cpu] = 1;
41 currently_voting[this_cpu] = 0;
46 last_vote = this_cpu;
47 currently_voting[this_cpu] = 0;
56 if (last_vote == this_cpu)
99 my_town = towns[(this_cpu >> 4) & 0xf];
100 I_won = vlock_trylock(my_town, this_cpu & 0xf);
103 my_state = states[(this_cpu >> 8) & 0xf];
104 I_won = vlock_lock(my_state, this_cpu & 0xf));
107 I_won = vlock_lock(the_whole_country, this_cpu & 0xf];