Lines Matching defs:g_state
443 #define cur_state (g_state->ist_runlevel)
444 #define num_proc (g_state->ist_num_proc)
445 #define proc_table (g_state->ist_proc_table)
446 #define utmpx_ok (g_state->ist_utmpx_ok)
512 static struct init_state *g_state = NULL;
3809 ptr = realloc(g_state, g_state_sz + delta);
3816 g_state = ptr;
3829 * Sanity check g_state.
3922 g_state = malloc(stb.st_size);
3923 while (g_state == NULL && errno == EAGAIN);
3924 if (g_state == NULL)
3928 ptr = (char *)g_state;
3961 if (g_state != NULL)
3962 free(g_state);
3968 g_state = calloc(1, g_state_sz);
3969 while (g_state == NULL && errno == EAGAIN);
3970 if (g_state == NULL) {
3975 g_state->ist_runlevel = -1;
3997 * Write g_state out to the state file.
4017 cp = (char *)g_state;