Lines Matching refs:g_state
446 #define cur_state (g_state->ist_runlevel)
447 #define num_proc (g_state->ist_num_proc)
448 #define proc_table (g_state->ist_proc_table)
449 #define utmpx_ok (g_state->ist_utmpx_ok)
515 static struct init_state *g_state = NULL; variable
3815 ptr = realloc(g_state, g_state_sz + delta); in increase_proc_table_size()
3823 g_state = ptr; in increase_proc_table_size()
3930 g_state = malloc(stb.st_size); in st_init()
3931 while (g_state == NULL && errno == EAGAIN) in st_init()
3933 if (g_state == NULL) in st_init()
3937 ptr = (char *)g_state; in st_init()
3970 if (g_state != NULL) in st_init()
3971 free(g_state); in st_init()
3977 g_state = calloc(1, g_state_sz); in st_init()
3978 while (g_state == NULL && errno == EAGAIN) in st_init()
3980 if (g_state == NULL) { in st_init()
3985 g_state->ist_runlevel = -1; in st_init()
4027 cp = (char *)g_state; in st_write()