Lines Matching refs:g_state
450 #define cur_state (g_state->ist_runlevel)
451 #define num_proc (g_state->ist_num_proc)
452 #define proc_table (g_state->ist_proc_table)
453 #define utmpx_ok (g_state->ist_utmpx_ok)
519 static struct init_state *g_state = NULL; variable
3778 ptr = realloc(g_state, g_state_sz + delta); in increase_proc_table_size()
3786 g_state = ptr; in increase_proc_table_size()
3893 g_state = malloc(stb.st_size); in st_init()
3894 while (g_state == NULL && errno == EAGAIN) in st_init()
3896 if (g_state == NULL) in st_init()
3900 ptr = (char *)g_state; in st_init()
3933 if (g_state != NULL) in st_init()
3934 free(g_state); in st_init()
3940 g_state = calloc(1, g_state_sz); in st_init()
3941 while (g_state == NULL && errno == EAGAIN) in st_init()
3943 if (g_state == NULL) { in st_init()
3948 g_state->ist_runlevel = -1; in st_init()
3990 cp = (char *)g_state; in st_write()