Searched refs:state (Results 1 – 3 of 3) sorted by relevance
/support/ |
A D | support_record_failure.c | 42 static struct test_failures *state; variable 47 void *ptr = mmap (NULL, sizeof (*state), PROT_READ | PROT_WRITE, in init() 55 state = ptr; in init() 61 if (state == NULL) in support_record_failure() 69 __atomic_store_n (&state->failed, 1, __ATOMIC_RELEASE); in support_record_failure() 70 __atomic_add_fetch (&state->counter, 1, __ATOMIC_RELEASE); in support_record_failure() 76 if (state == NULL) in support_report_failure() 90 __atomic_load_n (&state->counter, __ATOMIC_RELAXED)); in support_report_failure() 104 __atomic_store_n (&state->failed, 0, __ATOMIC_RELAXED); in support_record_failure_reset() 105 __atomic_add_fetch (&state->counter, 0, __ATOMIC_RELAXED); in support_record_failure_reset() [all …]
|
A D | process_state.h | 41 void support_process_state_wait (pid_t pid, enum support_process_state state);
|
A D | support_process_state.c | 30 support_process_state_wait (pid_t pid, enum support_process_state state) in support_process_state_wait() argument 73 if (state & process_states[i].s && cur_state == process_states[i].v) in support_process_state_wait()
|
Completed in 7 milliseconds