Lines Matching refs:tLock
367 int serializeTLock(struct s_test *tLock) in serializeTLock() argument
370 sprintf(message, "T:%d:%d:%d::", tLock->test, tLock->type, in serializeTLock()
371 tLock->resAtt); in serializeTLock()
375 void unSerializeTLock(struct s_test *tLock) in unSerializeTLock() argument
377 sscanf(message, "T:%d:%d:%d::", &(tLock->test), &(tLock->type), in unSerializeTLock()
378 &(tLock->resAtt)); in unSerializeTLock()
437 int sendLockTest(struct s_test *tLock) in sendLockTest() argument
439 serializeTLock(tLock); in sendLockTest()
444 int getLockTest(struct s_test *tLock) in getLockTest() argument
447 unSerializeTLock(tLock); in getLockTest()
583 struct s_test tLock; in master() local
602 selectTest(n, &tLock); in master()
603 state = tLock.type; in master()
695 sendLockTest(&tLock); in master()
717 tLock.test = CLEAN; in master()
718 serializeTLock(&tLock); in master()
730 tLock.test = END; in master()
731 serializeTLock(&tLock); in master()
752 struct s_test tLock; in slave() local
777 getLockTest(&tLock); in slave()
778 state = tLock.test; in slave()