Searched refs:tbsync (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/powerpc/kernel/
H A Dsmp-tbsync.c34 } *tbsync; variable in typeref:struct:__anon2361
41 tbsync->race_result = add; enter_contest()
56 tbsync->ack = 1; smp_generic_take_timebase()
57 while (!tbsync->handshake) smp_generic_take_timebase()
61 cmd = tbsync->cmd; smp_generic_take_timebase()
62 tb = tbsync->tb; smp_generic_take_timebase()
64 tbsync->ack = 0; smp_generic_take_timebase()
68 while (tbsync->handshake) smp_generic_take_timebase()
72 enter_contest(tbsync->mark, -1); smp_generic_take_timebase()
83 tbsync->cmd = cmd; start_contest()
88 tbsync->tb = tb + offset; start_contest()
89 tbsync->mark = mark = tb + 400; start_contest()
93 tbsync->handshake = 1; start_contest()
94 while (tbsync->ack) start_contest()
99 tbsync->handshake = 0; start_contest()
102 while (!tbsync->ack) start_contest()
106 score += tbsync->race_result; start_contest()
119 tbsync = kzalloc( sizeof(*tbsync), GFP_KERNEL ); smp_generic_give_timebase()
123 while (!tbsync->ack) smp_generic_give_timebase()
161 tbsync->cmd = kExit; smp_generic_give_timebase()
163 tbsync->handshake = 1; smp_generic_give_timebase()
164 while (tbsync->ack) smp_generic_give_timebase()
166 tbsync->handshake = 0; smp_generic_give_timebase()
167 kfree(tbsync); smp_generic_give_timebase()
168 tbsync = NULL; smp_generic_give_timebase()
H A DMakefile62 obj-$(CONFIG_GENERIC_TBSYNC) += smp-tbsync.o

Completed in 76 milliseconds