Searched refs:state_sync (Results 1 – 1 of 1) sorted by relevance
129 struct state_sync { struct135 struct state_sync * init_state_sync_obj() { in init_state_sync_obj() argument136 struct state_sync *ssync; in init_state_sync_obj()138 ssync = (struct state_sync*)mmap(NULL, sizeof(struct state_sync), in init_state_sync_obj()158 void destroy_state_sync_obj(struct state_sync *ssync) { in destroy_state_sync_obj()161 munmap(ssync, sizeof(struct state_sync)); in destroy_state_sync_obj()164 void signal_state(struct state_sync *ssync, int state) { in signal_state()171 void wait_for_state(struct state_sync *ssync, int state) { in wait_for_state()214 struct state_sync *ssync; in runMemStressTest()